What happens is the servers are waiting for their database request to come back and are in a locked state so when mod_proxy_balancer sends a request their way it gets queued and eventually apache times it out and returns a proxy error.
So I am going to try and up the number of servers in the cluster and increase the proxy pass through timeout. But I was also interested in what the cluster does when a mongrel server is hung and gone stale and how it gets detected and restarted.


On 9/7/06, Kirk Haines <[EMAIL PROTECTED]> wrote:
On 9/7/06, Jared Brown <[EMAIL PROTECTED]> wrote:
> How do I setup a sweeper to restart stale or hung mongrel servers?

If Mongel servers are hanging, doesn't that suggest some sort of very
ungood bug somewhere, most likely in the application code somewhere?

I know this doesn't answer your question, but a hanging server seems
like it falls into the category of things that just should not happen,
and that it'd be worthwhile to get to the bottom of why it is
happening before working around the fact that it is happening.


Kirk Haines
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users



--
Jared Brown
[EMAIL PROTECTED]
(765) 409-0875
7001 Central Ave
Indianapolis, IN 46220
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to