Dear all:

I would like to execute some code when the Unicorn worker is killed
with SIGKILL (ie, incrementing a counter in graphite), what's the
"nice" way to do this?

E, [2012-09-26T17:51:47.776065 #28499] ERROR -- : worker=4 PID:28520
timeout (61s > 60s), killing
E, [2012-09-26T17:51:47.785081 #28499] ERROR -- : reaped
#<Process::Status: pid 28520 SIGKILL (signal 9)> worker=4
I, [2012-09-26T17:51:47.786659 #29010]  INFO -- : worker=4 spawned pid=29010
I, [2012-09-26T17:51:47.786994 #29010]  INFO -- : Refreshing Gem list

ps: thanks for unicorn, it feels great.

-- 
Martin Sarsale
msn: [email protected]
jabber: [email protected]
twitter: http://twitter.com/runixo
linkedin: http://www.linkedin.com/in/msarsale
sumavisos: http://www.sumavisos.com
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to