* usefulness of per-worker listeners?
@ 2013-09-25 22:46 Eric Wong
2013-09-25 22:53 ` Greg Hazel
0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2013-09-25 22:46 UTC (permalink / raw)
To: mongrel-unicorn
Hi all, I'm wondering if folks find per-worker listeners useful for
unicorn.
When I started unicorn back in 2009, I thought it would be a very useful
feature, but really haven't used it since 2009...
The main problem is the necessity of the :tries/:delay parameters
when restarting workers, and the possibility of losing connections
to that worker momentarily during restarts/upgrades.
I'm not going to remove it from unicorn, though. However, I am working
on a new TCP (not just HTTP) server based on unicorn, so I'm thinking
about not having it there...
Normally, if I have to track down a problem with an app running on
unicorn, I'll SIGTTOU to the point where there's only one worker
and work on that.
Thanks for reading!
_______________________________________________
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] 2+ messages in thread
* Re: usefulness of per-worker listeners?
2013-09-25 22:46 usefulness of per-worker listeners? Eric Wong
@ 2013-09-25 22:53 ` Greg Hazel
0 siblings, 0 replies; 2+ messages in thread
From: Greg Hazel @ 2013-09-25 22:53 UTC (permalink / raw)
To: unicorn list
On Sep 25, 2013, at 3:46 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Hi all, I'm wondering if folks find per-worker listeners useful for
> unicorn.
One time, I made a few inspection calls for individual workers, to collect statistics on memory usage and object allocation and in-memory cache and things like that for rendering munin graphs. I used the per-worker listeners for expediency, but I could have come up with some other signaling and aggregation mechanism.
So, that's a use-case, but I'd also be fine if they went away or were not available in a new thing.
-Greg
_______________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2013-09-25 23:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-25 22:46 usefulness of per-worker listeners? Eric Wong
2013-09-25 22:53 ` Greg Hazel
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).