Howdy,

I'm trying to debug a situation where a Rails app running on Mongrel 
+Apache stops listening to requests. Restarting Mongrel and Apache  
brings it back to life.

First off, here's some info on versions, etc...:

Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
ruby 1.8.5 (2006-12-04 patchlevel 2) [x86_64-linux]
Mongrel 1.0.1
Rails 1.2.1
fastthread (0.6.2)

Basically, after about a day or so, the Web app stops responding.  
Load on the machine is about 0.05-0.10 during this time - low. Memory  
usage is solid but there is still some physical RAM available - it's  
not out of RAM.

Here's some log info:

Apache Log:

[Tue Jan 23 03:00:03 2007] [error] (111)Connection refused: proxy:  
HTTP: attempt to connect to 127.0.0.1:8003 (127.0.0.1) failed
[Tue Jan 23 03:00:03 2007] [error] ap_proxy_connect_backend disabling  
worker for (127.0.0.1)
[Tue Jan 23 03:00:03 2007] [error] (111)Connection refused: proxy:  
HTTP: attempt to connect to 127.0.0.1:8000 (127.0.0.1) failed
[Tue Jan 23 03:00:03 2007] [error] ap_proxy_connect_backend disabling  
worker for (127.0.0.1)
[Tue Jan 23 03:00:03 2007] [error] (111)Connection refused: proxy:  
HTTP: attempt to connect to 127.0.0.1:8001 (127.0.0.1) failed
[Tue Jan 23 03:00:03 2007] [error] ap_proxy_connect_backend disabling  
worker for (127.0.0.1)
[Tue Jan 23 03:00:03 2007] [error] (111)Connection refused: proxy:  
HTTP: attempt to connect to 127.0.0.1:8002 (127.0.0.1) failed
[Tue Jan 23 03:00:03 2007] [error] ap_proxy_connect_backend disabling  
worker for (127.0.0.1)
[Tue Jan 23 03:00:03 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state
[Tue Jan 23 03:00:08 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state
[Tue Jan 23 03:00:08 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state
[Tue Jan 23 03:00:09 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state
[Tue Jan 23 03:00:09 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state
[Tue Jan 23 03:00:11 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state
[Tue Jan 23 03:00:12 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state
[Tue Jan 23 03:00:14 2007] [error] proxy: BALANCER: (balancer:// 
fatwreck). All workers are in error state

The Mongrel log doesn't have anything in it of note. Just a USR2  
signal from when I restarted it.

I've got four Mongrels running and except for when it is in this  
error state, it works great.

I'm interested to hear any suggestions on what to check. FYI, this  
has been happening LESS often since Mongrel 1.0RC1.

Thanks,
Hunter
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to