Re: Set "ulimit -c"



On Wed, 31 Jan 2007 14:01:18 -0600, Moe Trin wrote:

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

It returs 0. The output of "ulimit -a" confirms that:

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


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.

I'm not using the X server but log on the machine with ssh.

More details.

What details do you need?


.



Relevant Pages