Re: Set "ulimit -c"



On Wed, 31 Jan 2007, in the Usenet newsgroup comp.os.linux.misc, in article
<pan.2007.01.31.12.14.02.396818@xxxxxxxx>, Christian Christmann wrote:

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

It's been set elsewhere. See what 'ulimit -c' returns. man bash

Doing so as root works fine.

Yes

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

* soft core 10240
* hard core 10240

and in /etc/profile:

ulimit -Sc 10240

Are you logging in at the command line (runlevel 3), or are you using some
GUI stuff (runlevel 5). /etc/profile is sourced ONLY if this is a login
shell, and running 'ps afuwx' may show your GUI as the login shell, not
bash.

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

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

More details.

Old guy
.



Relevant Pages