Hi
I’m trying to get a core dump out of nginx but it isn’t working…
I have done the following:
Made directory with permissions:
drwxr-xr-x 2 root root 4.0K 2011-05-26 00:32 nginx-core
changed config:
worker_rlimit_core 512M;
working_directory /home/dcstaff/nginx-core/;
but no dump is made when it crashes:
2011/05/26 06:46:50 [alert] 20526#0: worker process 20547 exited on
signal 11
Is there any other trick to it?
I should say this is on linux - ubuntu 10.10
Hello!
On Thu, May 26, 2011 at 08:06:37AM +0000, Richard K. wrote:
working_directory /home/dcstaff/nginx-core/;
but no dump is made when it crashes:
2011/05/26 06:46:50 [alert] 20526#0: worker process 20547 exited on signal 11
Is there any other trick to it?
Worker processes are usually run under non-root, so it’s unlikely
that write permissions for root will be enough.
Maxim D.
Sorry, I chose a bad example
I have 3 machines where it’s not dumping
The other 2 had the correct permissions already
Should it core dump for signal 11 of a worker?
Worker processes are usually run under non-root, so it’s unlikely
that write permissions for root will be enough.
nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx
On Thu, May 26, 2011 at 09:02:26AM +0000, Richard K. wrote:
Sorry, I chose a bad example
I have 3 machines where it’s not dumping
The other 2 had the correct permissions already
Should it core dump for signal 11 of a worker?
Probably you need to set also:
echo 1 > /proc/sys/fs/suid_dumpable
Worker processes are usually run under non-root, so it’s unlikely
that write permissions for root will be enough.
–
Igor S.