Re: Set "ulimit -c"
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Wed, 31 Jan 2007 14:01:18 -0600
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
.
- Follow-Ups:
- Re: Set "ulimit -c"
- From: Christian Christmann
- Re: Set "ulimit -c"
- References:
- Set "ulimit -c"
- From: Christian Christmann
- Set "ulimit -c"
- Prev by Date: Re: how to boot a hard disk kernel from a live CD?
- Next by Date: Re: Daylight Savings Change on RH9
- Previous by thread: Set "ulimit -c"
- Next by thread: Re: Set "ulimit -c"
- Index(es):
Relevant Pages
|