----- Oryginalna wiadomość -----
> Od: "Roberto De Ioris" <[email protected]>
> Do: "uWSGI developers and users list" <[email protected]>
> Wysłane: niedziela, 4 marzec 2012 17:20:21
> Temat: Re: [uWSGI] harakiri
> 
> a bit "aggressive" :)
> 
> 
> yes
> 
> 
> this could mean the exit of a syscall or not a syscall at all:
> 
> while True:
>     pass
> 
> there is no syscall involved, but harakiri will come in.
> 
> As a general rule i would not set harakiri <= socket_timeout.
> 
> If nginx cannot send datas fast enough (on high-load it could
> happens) it
> would be better to gracefully close the connection using the normal
> timeout and without killing a worker.
> 


I added:
socket-timeout = 2

I increased nr of workerów in Nginx.
I'll see if that resolves the problem.

Thank you for your help.



-- 
Łukasz Wróblewski
http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe
http://www.hostowisko.pl/ - Profesjonalny i tani hosting
http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to