Subject: | calling _verify_redis_connection in &setup_connection causes hangs with Catalyst::Engine::HTTP::Prefork |
Hi, while testing out the Catalyst redis session store, we discovered that
Catalyst::Engine::HTTP::Prefork combined with Session::Store::Redis 0.04 causes sporadic hangs
in the catalyst application under heavy concurrent request volume.
My testbed had 50 min_servers, 32 concurrent request threads, and out of 1000 requests we
would see several requests hang completely, and eventually the server would stop responding
until a restart.
This issue was resolved for us by commenting out "_verify_redis_connection" in the
&setup_connection subroutine, so that the connection to redis is opened *after* the fork, rather
than *before* the fork.