nginx worker process hang,cpu load 100%

Maxim Dounin mdounin at mdounin.ru
Mon Nov 14 15:58:27 UTC 2011


Hello!

On Mon, Nov 14, 2011 at 09:37:29AM -0500, Long Wan wrote:

[...]

> I found i made a mistake in nginx.conf, i include a virtual host
> configuation like this:
>         upstream test_servers {
>                 #server 10.0.7.4:80 ;
>                 server 10.0.7.5:80 backup;
>                 #server 10.0.7.6:80 ;
>                 #server 10.0.7.7:80 ;
>         }

[...]

> there was only one server in upstream,which marked 'backup'. after some
> test,i found this is the reason.

Yes, thank you for report.  This is somewhat known issue, 'backup' 
handling needs attention.

Maxim Dounin



More information about the nginx mailing list