Re: [Pound Mailing List] Pound not disabling dead backends

"Tim J. Rice" <tim.j.rice-UJ0hKj9aD//[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Landy, that is exactly what I do. We have a set of servers in two different datacenters. We also have a monitoring server in each datacenter that monitor the backends in the different DC's. 

I simply use something like curl -s http://ipaddyofbackend | grep "Expected output" | wc -l 
Then create an if statement that restarts tomcat on the bad server if the number is less than what I expect to see, sleeps x minutes, then tries again. If fail on the second time, it bounces the machine and alerts on the problem. 

Question for you is, if the backend server is completely down does pound not try to send traffic to that server? I use Zenloadbalancer which uses pound and it works very well. You may want to take a look at that. BTW it is free. I virtualize the zenloadbalancer using kvm and it really is rock solid. 

Best luck to you. 
Tim R. 




----- Original Message -----

From: "Landy Bible" <[email protected]> 
To: [email protected] 
Sent: Friday, March 21, 2014 8:50:59 PM 
Subject: [Pound Mailing List] Pound not disabling dead backends 


Hey all, 


I'm having some trouble with Pound. I have a set of application servers behind Pound that aren't terribly stable. However, pound doesn't seem to kick bad backends out of rotation like it should. I get log message like so: 



Mar 21 20:33:02 poundcat pound: (b58ffb40) e500 response error read from xxx.xxx.xxx.203:8080/GET /DmpMediaProvider/displaySlide?id=2809 HTTP/1.1: Connection timed out (15.017 secs) 


This happens over and over again, yet my poundctl output claims it's still alive. 


2. Backend xxx.xxx.xxx.203:8080 active (5 0.000 sec) alive 



Any ideas why this is happening? Earlier this week I had 3/4 of the backend servers go down and pound was still happily forwarding requests to the dead servers. At this point I'm considering writing a script to watch for those log messages and use poundctl to kick the dead backends out. 


I'm running pound 2.5 installed from apt-get on ubuntu server 12.04 LTS. 


Thanks, 
Landy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.