Background
I am running a Ruby on Rails application that should also serve many static files.
My setup at the moment:
Debian Linux Lenny 5.0 Apache 2.2.9 Passenger 2.2.10
Problem
Everything is working fine. I see that the Apache process is unfolding, passenger instances are being created, and everything is fast and fast.
Then after a while, Apache no longer responds. Clients do get a connection and “wait for a response,” but no one comes.
I can not manually reproduce this problem. Sometimes this happens a few hours after a reboot, sometimes it takes several days. Here is what I found:
The Apache process is complete; There is a passenger, but there is not a single copy in it (possibly because the copies die after a period of inactivity)
There are no error messages or problems in / var / log / syslog, / var / log / messages, and not in the apache access files and errors, and not in the Rails log. Nothing.
When I stop and start the Apache, everything returns to normal.
Does anyone have any clues what is going on here? And how can this be solved?
source
share