Hi Tink,
Thanks for the reply. I'm trying to bump up non-root user ulimits. I'm running a game server that needs more ram. I use a shell script to start the process, it's using /bin/sh for processing.
ulimit -a when logged in as a non-root user shows:
Code:
core file size (blocks, -c) 200000
data seg size (kbytes, -d) 200000
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 4
max memory size (kbytes, -m) 200000
open files (-n) 100
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 20
virtual memory (kbytes, -v) 200000
I'd like to double all the numbers. I *thought* that would mean editing the /etc/profile file . There's a ulimit line in there like this:
Code:
ulimit -n 100 -u 20 -m 200000 -d 200000 -s 8192 -c 200000 -v 200000 2>/dev/null
That line seems to be the source of the settings, i've changed it to this:
Code:
ulimit -n 200 -u 40 -m 400000 -d 400000 -s 8192 -c 400000 -v 400000 2>/dev/null
And rebooted the server and they aren't taking effect. Can anyone tell me why these aren't taking effect?
This is RHE 3.0, running cPanel
Thanks!