For a few days now since a major update on my rails app on the
production server, I am getting the following error message when
restarting the application:
Waiting for 1 connection(s) to finish, can take up to 30 sec, CTRL+C to stop now
I am using Rails 2.3.3, Thin 1.2.2 and pg 0.8.0 (postgresql gem).
Has anyone encountered such problem? I'm in deep trouble.
Damn it was a former zombie Thin process that was still causing trouble!
With kill -9 and restarting all new Thin instances to take advantage of
the updated gem seems to have resolved the problem. I'll still keep an
eye on it, and provide feedback.
This morning all my Thin process are stuck again :-(, something seems to
happen during the night or at least during a long period of time so that
all processes end up blocked.
Here is my setup, which I admit might be a bit overkill:
10.0.0.1 is a Virtual Machine that runs Nginx which proxy_passes
requests to 10.0.0.2 which is another Virtual Machine where my Rails app
is running. For some reason connection between these two is crapping out
on me. Any idea why that would happen?