Hi,<br><br>I have Apache (2.2) setup to proxy requests through to Mongrel (<a href="http://0.3.12.4">0.3.12.4</a>) for a Rails (1.1.2) application (on ruby 1.8.4).&nbsp; The setup is great, but I'm experiencing some nightly failures.&nbsp; I thought I'd post here before digging in too deeply, but it looks like Rails is going into lala land and Mongrel can't recover...
<br><br>Seems like everything gets all backed up in mongrel/rails.rb:64 at:<br><br>@guard.synchronize do<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Rails is not thread safe so must be run entirely within synchronize <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dispatcher.dispatch
(cgi, ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS, response.body)<br>end<br><br>Prior to doing a &quot;mongrel_rails restart&quot; the mongrel log is normal and there's nothing unusual in my rails log.&nbsp; Once I do a &quot;mongrel_rails restart,&quot; I get a bunch of the following dumped into the 
mongrel.log (I assume one for each thread that's chillin' at @guard.synchronize)...<br><br>Error calling Dispatcher.dispatch #&lt;Mongrel::StopServer: Timed out thread.&gt;<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel.rb:472:in">
0.3.12.4/lib/mongrel.rb:472:in</a> `lock'<br>/usr/local/lib/ruby/1.8/thread.rb:133:in `synchronize'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel/rails.rb:64:in">0.3.12.4/lib/mongrel/rails.rb:64:in
</a> `process'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel.rb:425:in">0.3.12.4/lib/mongrel.rb:425:in</a> `process_client'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel.rb:424:in">
0.3.12.4/lib/mongrel.rb:424:in</a> `process_client'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel.rb:495:in">0.3.12.4/lib/mongrel.rb:495:in</a> `run'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-
<a href="http://0.3.12.4/lib/mongrel.rb:494:in">0.3.12.4/lib/mongrel.rb:494:in</a> `run'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel.rb:483:in">0.3.12.4/lib/mongrel.rb:483:in</a> `run'
<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel.rb:774:in">0.3.12.4/lib/mongrel.rb:774:in</a> `run'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/lib/mongrel.rb:772:in">
0.3.12.4/lib/mongrel.rb:772:in</a> `run'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/bin/mongrel_rails:97:in">0.3.12.4/bin/mongrel_rails:97:in</a> `run'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-
<a href="http://0.3.12.4/lib/mongrel/command.rb:163:in">0.3.12.4/lib/mongrel/command.rb:163:in</a> `run'<br>/usr/local/lib/ruby/gems/1.8/gems/mongrel-<a href="http://0.3.12.4/bin/mongrel_rails:194">0.3.12.4/bin/mongrel_rails:194
</a><br>/usr/local/bin/mongrel_rails:18<br><br>If anyone has any ideas please let me know... I promise I'll jump up and down!<br><br>Thanks,<br>Jeremy<br>