>
>
> Hi there,
>
>
> I'm using uWSGI for serving websockets connections with gevent to my
> clients, but connections get killed after some time with messages like
> this:
>
>
> ...The work of process 8693 is done. Seeya!
> Fri Jul 26 04:28:29 2013 - Fire in the hole !!! (60 seconds to detonation)
> Gracefully killing worker 2 (pid: 8693)...
> Fri Jul 26 04:28:29 2013 - stopping gevent signals watchers for worker 2
> (pid: 8693)...
> Fri Jul 26 04:28:29 2013 - stopping gevent sockets watchers for worker 2
> (pid: 8693)...
> Fri Jul 26 04:28:29 2013 - main gevent watchers stopped for worker 2 (pid:
> 8693)...
> goodbye to the gevent Hub on worker 2 (pid: 8693)
> [8694][INFO] 26/Jul/2013:04:28:29 -0400 | uWSGI | return=200 bytes=127832
> worker=8694/3 (1 switches)
> ...The work of process 8694 is done. Seeya!
> Fri Jul 26 04:28:29 2013 - Fire in the hole !!! (60 seconds to detonation)
> Gracefully killing worker 3 (pid: 8694)...
> Fri Jul 26 04:28:29 2013 - stopping gevent signals watchers for worker 3
> (pid: 8694)...
> Fri Jul 26 04:28:29 2013 - stopping gevent sockets watchers for worker 3
> (pid: 8694)...
> Fri Jul 26 04:28:29 2013 - main gevent watchers stopped for worker 3 (pid:
> 8694)...
> Fri Jul 26 04:28:29 2013 - worker 3 (pid: 8694) core 9999 is managing "GET
> /ws/" for 91.117.14.105
> Fri Jul 26 04:28:29 2013 - waiting for 1 running requests on worker 3
> (pid: 8694)...
> Fri Jul 26 04:29:06 2013 - *** BOOOOOOM ***
> [uwsgi-http client_addr: 195.235.92.28 client_port: 14531]
> hr_instance_read(): Connection reset by peer [plugins/http/http.c line
> 484]
> Fri Jul 26 04:29:29 2013 - *** BOOOOOOM ***
>
> I think there is some connection time limit they are reaching. I tried
> setting
>
> forkbomb-delay  = 86400
>
> but with no luck. Any suggestion?
>
>
> Alvaro
>
>
>
>
>
>
>
>
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>

it looks like you set max-requests

this option is not well suited for long running requests as it could be
triggered while connections are still opened and running

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to