listen backlog

Eric Wong normalperson at
Thu Dec 2 21:39:19 EST 2010

ghazel at wrote:
> I found this thread
> after googling for the same error located in my nginx error log.
> Is there some way to discover the current queue length of the backlog?
> Increasing the maximum size to 2048 "worked" for me as well, but
> obviously clients sit in the queue for a long time. If I could monitor
> queue length I could get some idea of when I have insufficient unicorn
> workers before the delay gets very high or requests fail.

If you're using Linux, you can use Raindrops[1] to interrogate
via inet_diag or parse /proc/net/{tcp,unix} yourself.

You can run Raindrops separate/standalone script:

Or use it as middleware (see webpage):

git clone git://

Eric Wong

More information about the mongrel-unicorn mailing list