Topic: Mongrel stops?
hi guys,
I'm having a new problem with Mongrel.. When I first run it, it seems to be working fine but after a day or two it bails. Apache starts reporting this error:
[Mon Feb 12 10:32:35 2007] [error] [client *ip*] proxy: error reading status line from remote server 127.0.0.1
[Mon Feb 12 10:32:35 2007] [error] [client *ip*] proxy: Error reading from remote server returned by /
And a bit later this:
[Mon Feb 12 11:23:23 2007] [error] proxy: BALANCER: (balancer://mongrel_cluster_enveloppen.nl). All workers are in error state
The mongrel process is still running but trying to access http://10.0.0.6:8001 directly just times out after a while.. When try to restart mongrel this is what happens:
Mongrel::TimeoutError (Mongrel timed out this thread: shutdown):
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:675:in `write'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/vendor/mysql.rb:532:in `write'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/vendor/mysql.rb:506:in `command'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/vendor/mysql.rb:238:in `close'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/mysql_adapter.rb:236:in `disconnect!'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/mysql_adapter.rb:231:in `reconnect!'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/abstract_adapter.rb:93:in `verify!'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:109:in `verify_active_connections!'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:108:in `each_value'
/var/lib/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:108:in `verify_active_connections!'
/var/lib/gems/1.8/gems/rails-1.2.1/lib/dispatcher.rb:111:in `prepare_application'
/var/lib/gems/1.8/gems/rails-1.2.1/lib/dispatcher.rb:39:in `dispatch'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel/rails.rb:78:in `process'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel/rails.rb:76:in `synchronize'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel/rails.rb:76:in `process'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:618:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:617:in `each'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:617:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:736:in `run'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:736:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:736:in `new'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:736:in `run'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:720:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:720:in `new'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:720:in `run'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel/configurator.rb:271:in `run'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel/configurator.rb:270:in `each'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel/configurator.rb:270:in `run'
/var/lib/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails:127:in `run'
/var/lib/gems/1.8/gems/mongrel-1.0/lib/mongrel/command.rb:211:in `run'
/var/lib/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails:243
/bin/mongrel_rails:18:in `load'
/bin/mongrel_rails:18
After that I have to stop and start Mongrel manually, which makes it work again. TimeoutError is making me think Mongrel's become unresponsive..
Any ideas what could be causing something like this?
-- marsvin
Last edited by marsvin (2007-02-12 08:16:21)
* Multiple child models in a dynamic form