Change Ulimit Value For One User Without Affecting The Server Level
Hi All,
In an SR we have been asked to change to the ulimit data seg value for one specific user to unlimited.
But at the server level it is set to 4194303 in the /etc/profile file.
-bash-3.2$ cat /etc/profile | grep ulimit
ulimit -d 4194303
ulimit -s 65536
ulimit -n 65536
Below are all the ulimit values from the server:
-bash-3.2$ ulimit -aH
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 4194303
file size (blocks, -f) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 65536
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
In an SR we have been asked to change to the ulimit data seg value for one specific user to unlimited.
But at the server level it is set to 4194303 in the /etc/profile file.
-bash-3.2$ cat /etc/profile | grep ulimit
ulimit -d 4194303
ulimit -s 65536
ulimit -n 65536
Below are all the ulimit values from the server:
-bash-3.2$ ulimit -aH
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 4194303
file size (blocks, -f) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 65536
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
0