unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] Print stack for lazy workers
@ 2014-04-16  3:35 Camilo Lopez
  2014-04-16  3:35 ` [PATCH] Kill lazy workers with TERM before KILL Camilo Lopez
  0 siblings, 1 reply; 3+ messages in thread
From: Camilo Lopez @ 2014-04-16  3:35 UTC (permalink / raw)
  To: mongrel-unicorn; +Cc: Camilo Lopez, admin

This patch attemps at making the debugging of lazy workers easier by making sure
unicorn prints a stack trace to STDERR.

The patch does 2 things

  1. It kills lazy workers with TERM first and then attempts a KILL
  2. Prints the stack trace on every kill signal

Camilo Lopez (1):
  Kill lazy workers with TERM before KILL

 lib/unicorn/http_server.rb | 31 +++++++++++++++++++------------
 lib/unicorn/worker.rb      |  7 ++++++-
 2 files changed, 25 insertions(+), 13 deletions(-)

-- 
1.9.2

_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-16  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16  3:35 [PATCH] Print stack for lazy workers Camilo Lopez
2014-04-16  3:35 ` [PATCH] Kill lazy workers with TERM before KILL Camilo Lopez
2014-04-16  8:44   ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).