[Mongrel] Mongrel Crashes in Production
Luis Lavena
luislavena at gmail.com
Tue Mar 18 10:45:25 EDT 2008
On Tue, Mar 18, 2008 at 8:47 AM, James George <lists at ruby-forum.com> wrote:
> I have been getting this error on the production server after rails was
> updated to 2.0.2 and moreover this worked perfectly in the development
> mode. This crash occurs when no one is using the app for an hour or so.
> This is the error that I get in the logs. (nohup.out file). The
> production log doesnt show anything unusual. Please help me out guys.
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/rails.rb:98:in
> `reload!': undefined method `reset_application!' for
> ActionController::Dispatcher:Class (NoMethodError)
> from
It seems you're getting a restart/reload signal to the mongrel
process, and it is trying to reload the Rails environment calling the
reset_application! method of ActionController::Dispatcher
There is no ActionController::Dispatcher, but there is a Dispatcher in
the global namespace (::Dispatcher)?
I cannot test it since Windows don't generate the HUP signal required
for this, but I think I'm in the good path.
HTH,
--
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
More information about the Mongrel-users
mailing list