Nginx randomly crashes

Maxim Dounin mdounin at mdounin.ru
Thu Jan 31 11:28:23 UTC 2013


Hello!

On Thu, Jan 31, 2013 at 03:48:31AM -0500, rg00 wrote:

> I've got a problem with Nginx running on Ubuntu 12.10.
> I'm running it mainly as a reverse proxy and there is no high load on the
> machine.
> It randomly crashes without any helpful log info (or at least I think so).

(Note: this looks like a hang, not a crash.  There is a 
difference.)

[...]

> 2013/01/31 09:19:03 [debug] 15238#0: *10555 reusable connection: 0
> 2013/01/31 09:19:03 [debug] 15238#0: *10555 free: 0000000002652060
> 2013/01/31 09:19:03 [debug] 15238#0: *10555 free: 0000000000000000
> 2013/01/31 09:19:03 [debug] 15238#0: *10555 free: 000000000283EBF0, unused:
> 8
> 2013/01/31 09:19:03 [debug] 15238#0: *10555 free: 00000000027F9CF0, unused:
> 128
> 2013/01/31 09:24:49 [alert] 15237#0: worker process 15238 exited on signal
> 9
> *************************************************************************************************************************
> 
> At 09:24 I restarted the service because it was hanging.
> This is some system info about tcp connections:

What nginx -V shows?  As a first step I would recommend trying to 
reproduce the problem without any 3rd party modules/patches 
compiled in.  You may also find some helpful tips about debugging 
here:

http://wiki.nginx.org/Debugging

-- 
Maxim Dounin
http://nginx.com/support.html



More information about the nginx mailing list