I've left cron running every minute for whole week and it seems that it managed to eat all of some resources leaving all of my apps dying all the time:
pthread_create(): Resource temporarily unavailable [protocol.c line 1981] DAMN ! worker 1 (pid: 2) died :( trying respawn ... Respawned uWSGI worker 1 (new pid: 3) pthread_create(): Resource temporarily unavailable [protocol.c line 1981] DAMN ! worker 1 (pid: 3) died :( trying respawn ... Respawned uWSGI worker 1 (new pid: 4) pthread_create(): Resource temporarily unavailable [protocol.c line 1981] DAMN ! worker 1 (pid: 4) died :( trying respawn ... Respawned uWSGI worker 1 (new pid: 5) pthread_create(): Resource temporarily unavailable [protocol.c line 1981] [...] I also noticed those messages: fork(): Resource temporarily unavailable [master_utils.c line 507] waitpid(): No child processes [master.c line 786] something horrible happened... ...brutally killing workers... pthread_create(): Resource temporarily unavailable [master.c line 411] falling back to non-threaded logger... OVERLOAD !!! unable to offload static file serving I see that I have ~8k zombie processes: www-data 1228 0.0 0.0 0 0 ? Zs 16:09 0:00 [sh] <defunct> And those look like cron command leftovers. I've changed cron command to "date" (I case it was my cron script issue) but after a while I see those zombie processes again. Any hints on how to debug it? Łukasz Mierzwa _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
