> waitpid(): No child processes [emperor.c line 226]
> waitpid(): No child processes [emperor.c line 226]
> waitpid(): No child processes [emperor.c line 226]
> waitpid(): No child processes [emperor.c line 226]
>
> # [pressed CTRL+c]


This is a race condition, fixed in latest tip

>
> 2011-11-03 21:46:06 - SIGINT/SIGQUIT received...killing workers...
> 2011-11-03 21:46:06 - lost connection with my emperor !!!
> 2011-11-03 21:46:06 - SIGINT/SIGQUIT received...killing workers...
> 2011-11-03 21:46:06 - fmon check 6 == 10
> 2011-11-03 21:46:06 - fmon check 6 == 10
> 2011-11-03 21:46:06 - fmon check 6 == 10


This open another problem.
Sometimes inotify bombs-out event. Are we sure we would like to execute
ALL the handler in this case ? Probably we should allow the user to limit
the number of handler for the same signal to be execute per-second.

Something like this:

uwsgi.register_signal(signum, who, the_handler[, rate])

where rate is the maximum of call a handler can receive in the same second.

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

Reply via email to