[clue] ulimit

Jason Friedman jason at powerpull.net
Sat Aug 13 07:30:42 MDT 2011


I am trying to enable my user to write core files on RedHat EL5.

I added to the bottom of /etc/security/limits.conf:
*       soft            core            unlimited
*       hard            core            unlimited
*       soft            nofile          20000
*       hard            nofile          20000

After restarting I can see my setting for number-of-files was
affected, but not core size:
$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 270336
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 20000
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 270336
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


More information about the clue mailing list