We''ve been experiencing the same kinds of hangs other people have described here lately. For no obvious reason our mongrel processes just freeze up and nothing short of a kill -9 can retrieve them. This is in a standard linux apache 2.2/balancer setup. Anyway, following some threads online I tried adding these directives: SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 To the apache config and I haven''t seen a hang all week. Sorry I don''t have a more scientific explanation for this or ideas for a deeper fix but these might be worth a try if you''re stuck. -- miles
If you see this in the apache error log: proxy: error reading status line from remote server ... its probably Apache bug 39499. I found the solution sometime ago here: <http://blog.pomozov.info/posts/apache-mongrel-and-proxy-error.html> #Fix for Apache bug 39499 SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 On 4-May-07, at 11:05 , Miles Egan wrote:> We''ve been experiencing the same kinds of hangs other people have > described here lately. For no obvious reason our mongrel processes > just freeze up and nothing short of a kill -9 can retrieve them. > This is in a standard linux apache 2.2/balancer setup. > > Anyway, following some threads online I tried adding these directives: > > SetEnv force-proxy-request-1.0 1 > SetEnv proxy-nokeepalive 1 > > To the apache config and I haven''t seen a hang all week. Sorry I > don''t have a more scientific explanation for this or ideas for a > deeper fix but these might be worth a try if you''re stuck. > > -- > miles > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
On May 4, 2007, at 9:01 AM, Paul Mylchreest wrote:> If you see this in the apache error log: > > proxy: error reading status line from remote server ... > > its probably Apache bug 39499. > > I found the solution sometime ago here: > > <http://blog.pomozov.info/posts/apache-mongrel-and-proxy-error.html> >I think that''s where I found the solution too, actually. -- miles "If money played an instrument it would be the saxophone." - Achewood