views:

33

answers:

1

Hi,

I have some daemon processes that crashes every now and then and I want to know how I can enable core dump generations. I know that by default on linux ulimit for core dumps is zero so I need to set it to unlimited if I want to see core dumps for processes that I am running. But what I want to do is to generate core dumps for daemon processes that are running under root account. Can anyone advise me how to configure the system? Thank you in advance.

A: 

I believe something like:

ulimit -c unlimited

... or some value will allow what you to create those dumps. Also, you may want to check out the following web pages for more details: how to enable core and Linux FAQ

Michael Goldshteyn
Actually I looked at that site but things are slightly different from what the page says on my machine and I could not get it to work. But thank you for your reply. I will keep trying and if I can get it to work, I will post it here. Thanks again!
Ilho