> Hi, 
>
> I have implemented my thread as shown in uwsgi docs, somaro.py
> ( http://uwsgi-docs.readthedocs.org/en/latest/Mules.html )
>
> The problem is mule workers constantly die in a few seconds. It seems
> like; despite all try/catch, mule worker quits all of a sudden and
> quietly. And my application tries to recreate listeners instead of the
> dead ones (which I setup that way).
>
> And it’s like they are fighting. Because the listener threads seem to die
> in a few seconds.
>
> Why do you think uwsgi kills the threads or threads die anyhow? I just
> couldn’t find the reason at all.
>
> I need 3 threads of background job must wait for a command. But they die.
>
>


Maybe i am missing something, but i do not see where you joined threads,
so the process will continue to death as you did not instructed it to wait
for threads.

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

Reply via email to