> harakiri = 3
> harakiri-verbose = 1
> reload-mercy = 3
>
>
a bit "aggressive" :)
>>
>> 168 is poll(), that could be the one used by uWSGI while waiting for
>> protocol data. If you have a 4 seconds harakiri, which is the socket
>> timeout ? (the one you set with -z)
>>
>
> "used by uWSGI while waiting for protocol data"
> ...from nginx ?
yes
>
>
> And I also have something like that:
> syscall> -1 ?
>
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.
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi