Friday, May 21, 2010

nginx core dump backtrace

add strings to nginx.conf

worker_rlimit_core 500m;
working_directory /path/to/corefiles;


restart nginx.

Follow to /path/to/corefiles and wait for segfault :)

then gdb /path/to/nginx /path/to/core
inside gdb input bt

No comments:

Post a Comment