Hi, I'd appreciate an advice on how to debug the following problem: unicorn sometimes freezes for 6-7 seconds and stops taking new requests, then resumes as if nothing happened. Details below.
My setup: - nginx 0.7.67 proxying requests to unicorn - unicorn 4.4.0 - rails 2.3.x application Unicorn is set up as I've described in this list earlier: http://rubyforge.org/pipermail/mongrel-unicorn/2010-November/000770.html In short: - we have two groups of workers: - one serving long-running requests that take more than 10 sec, listening to a '/tmp/long_requests_unicorn.sock' socket - another serving normal requests, listening to '/tmp/unicorn.sock' socket - nginx determines which request goes to which sockets. This worked perfectly for 2 years. Looks like after we upgraded to unicorn 4.4, the normal requests started to get stuck in the queue. That happens randomly, several times per day. When that happens, requests wait for up to 7 seconds to be served. At that time most or all of the workers are available and not doing anything. Unicorn restart fixes the problem. Has anyone seen something freezes like that? I'd appreciate any help with debugging and understanding this problem. _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
