Christian Pedersen <[email protected]> wrote:
> Is it possible to query the number of busy/idle unicorn workers?
What Carl said. You can also use Raindrops::Linux.tcp_listener_stats
for TCP for a similar effect.
Raindrops also includes a different module, Raindrops::Watcher,
to be used as a Rack endpoint to show the number of active/queued
connections. You can see a demo of this at:
http://raindrops-demo.bogomips.org:8080/
(It also works for Unix sockets, but I only have TCP sockets configured)
--
unsubscribe: [email protected]
archive: http://bogomips.org/unicorn-public/