Change core size



Hi,

on my Suse system, I try to set "ulimit -c" as normal user:

$ ulimit -c 1024
-bash: ulimit: core file size: cannot modify limit: Operation not permitted

Doing so as root works fine.

In /etc/security/limits.conf I configured PAM:

* soft core 10240
* hard core 10240

and in /etc/profile:

ulimit -Sc 10240

(/etc/login.defs has no entries concerning ulimit)

However, I still can't set the core dump size. Any
ideas how to fix it?

The output of "ulimit -a" is:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 16127
virtual memory (kbytes, -v) unlimited

so ulimit -c must be set somewhere else but where?

Regards,
Chris
.



Relevant Pages