core dumps

Maxim Dounin mdounin at mdounin.ru
Thu May 26 12:26:08 MSD 2011


Hello!

On Thu, May 26, 2011 at 08:06:37AM +0000, Richard Kearsley wrote:

> 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?

Worker processes are usually run under non-root, so it's unlikely 
that write permissions for root will be enough.

Maxim Dounin



More information about the nginx mailing list