[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I want coredumps!

On 2003-06-19, 09:17 GMT, Nikita V. Youshchenko wrote:
>> Debian/woody in its default configuration has ulimit -c set to 0.
>> However, I want my programs to produce coredump when they fall down. Is
>> there any canonical place where I put the configuration command to such
>> effect (ulimit -c unlimited, I suppose)?
> Edit /etc/security/limits.conf

Hmmm. I tried both of these:

1) I uncommented the line in /etc/security/limits.conf

   *               hard    core            10000

   restarted computer, but nothing happened (ulimit -a in konsole still 
   shows 0 for core files).

   Is there any documentation for the limits.conf file? I was not able 
   to find anything (have not tried dejanews.com though).

2) I put this into my /etc/X11/Xsession (just after set -e line):

   ulimit -c unlimited || true

   and again nothing happened except, that I got this in 

   /etc/X11/Xsession: ulimit: cannot modify core file size limit: \
      Operace není povolena
   (``Operace není povolena'' is ``Action is not permitted'' in Czech).

Any thoughts anybody?



Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488

Reply to: