OK, I have more log now.

Fri Nov 21 14:26:06 2014 - OOOPS mule 1 (pid: 18439) crippled...trying
respawn...
Fri Nov 21 14:26:06 2014 - spawned uWSGI mule 1 (pid: 18453)
Fatal Python error: Couldn't create autoTLSkey mapping
Fri Nov 21 14:26:10 2014 - OOOPS mule 1 (pid: 18453) crippled...trying
respawn...
Fri Nov 21 14:26:10 2014 - spawned uWSGI mule 1 (pid: 18463)
Fatal Python error: Couldn't create autoTLSkey mapping
Fri Nov 21 14:26:13 2014 - OOOPS mule 1 (pid: 18463) crippled...trying
respawn...
Fri Nov 21 14:26:13 2014 - spawned uWSGI mule 1 (pid: 18471)


Wierd isn't it? I have looked up (google) and it seems like TLS is Thread
Local Storage not the ssl thing.

Couldn't find a way out though...




2014-11-21 14:20 GMT+02:00 Dinçer Kavraal <[email protected]>:

> Wouldn't this be enough? (below) I assume this should have make the main
> process loop in the while. Since, I get the log result that process gets
> inside while loop. But there is no sign how it ends.
>
> *def doAnnounceAlive():*
> """ Main loop. Will announce listeners into Redis. once a minute """
> global THREAD_OBJS, MAX_LISTENER_COUNT, CHECK_LISTENER_FREQ
>
> *while True:*
>            thread-create-and-check-loop
>
>
>
>
> 2014-11-21 7:59 GMT+02:00 Roberto De Ioris <[email protected]>:
>
>>
>> > 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
>>
>
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to