[Mongrel] mongrel.pid disappearing
massimo at zero.it
Mon Sep 25 11:59:08 EDT 2006
It seems that the issues is fixed.
I'll explain better again:
The missing mongrel.pid file problem was reported by the mongrel_rails
mongrel::stop command when I noticed that the the mongrel server stop
and I was trying to stop it, actually sometimes the pid file was there
but the mongrel stop command reported that the file was missing.
Again I noticed this problem because my configuration ( apache 2.0.59 +
mod_proxy + 1 mongrel task ) stopped respoding after a couple of hours
it had been launched, also contacting directly the mongrel server didn't
Looking around various thread I've found for a similar problem : mongrel
stopping responding, due to a bug in apache 2.2.x and it could be solved
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
I've modified the server configuration and now it's over 8 hours that
the server is running fine.
Hope this solved the problem
I'll let you know and if you want I can try to reproduce the bug.
Zed A. Shaw wrote:
>On Mon, 25 Sep 2006 08:50:07 +0200
>Massimo Santoli <massimo at zero.it> wrote:
>>Hi to everybody,
>>This my first post on the list.
>>I'm a newby of mongrel & rails, I've deployed my first project and
>>everything seems to work fine, the only problem I have is the following:
>>After about 1 or 2 days of the mongrel_rails daemon running the
>>mongrel.pid in the log directory disappears, the mongrel process is
>>still there running
>>but doesn't respond anymore.
>>I have a very simple configuration an Apache webserver configured as
>>proxy-pass to the mongrel ( single process ) daemon answering on port 8080.
>>Its a demo project thus the traffic is practically 0.
>Hi Massimo, first thing I'd think of is that you have some sort of build process that clears the log directory. Are you running a rake task that does this, or running capistrano and it's doing this? I vaguely remember something like rake clear_logs doing this.
More information about the Mongrel-users