Re: How to produce a core

2007-05-23 Thread gshan
Willy Tarreau wrote: On Thu, May 24, 2007 at 11:28:15AM +0800, gshan wrote: This morning, I tried command "kill -7 [pid]" but didn't see the core file. Anybody has ideas? do the following before starting your program : # ulimit -c unlimited You can check before and after that the

Re: How to produce a core

2007-05-23 Thread Willy Tarreau
On Thu, May 24, 2007 at 11:28:15AM +0800, gshan wrote: > This morning, I tried command "kill -7 [pid]" but didn't see the core > file. Anybody has ideas? do the following before starting your program : # ulimit -c unlimited You can check before and after that the core size changed from 0 to

How to produce a core

2007-05-23 Thread gshan
This morning, I tried command "kill -7 [pid]" but didn't see the core file. Anybody has ideas? bash-2.05b# ps PID USER COMMAND 1 0init 2 0[ksoftirqd/0] 3 0[watchdog/0] 4 0[events/0] 5 0[khelper] 6 0[kthread] 36 0

How to produce a core

2007-05-23 Thread gshan
This morning, I tried command kill -7 [pid] but didn't see the core file. Anybody has ideas? bash-2.05b# ps PID USER COMMAND 1 0init 2 0[ksoftirqd/0] 3 0[watchdog/0] 4 0[events/0] 5 0[khelper] 6 0[kthread] 36 0

Re: How to produce a core

2007-05-23 Thread Willy Tarreau
On Thu, May 24, 2007 at 11:28:15AM +0800, gshan wrote: This morning, I tried command kill -7 [pid] but didn't see the core file. Anybody has ideas? do the following before starting your program : # ulimit -c unlimited You can check before and after that the core size changed from 0 to

Re: How to produce a core

2007-05-23 Thread gshan
Willy Tarreau wrote: On Thu, May 24, 2007 at 11:28:15AM +0800, gshan wrote: This morning, I tried command kill -7 [pid] but didn't see the core file. Anybody has ideas? do the following before starting your program : # ulimit -c unlimited You can check before and after that the core