open socket left in connection

raylu raylu at
Wed Sep 26 18:37:31 UTC 2012

We run nginx in front of a python app through proxy_pass. Occasionally,
we update the configuration and reload/hup the nginx master. Sometimes,
we see a line in the error.log like

2012/08/08 02:21:31 [alert] 7153#0: open socket #10 left in connection 5

I see src/os/unix/ngx_process_cycle.c outputs this inside
ngx_worker_process_exit() but I don't understand the check that it's
doing before hand. Can someone explain what is going on when this line
gets output?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <>

More information about the nginx mailing list