If a backend is marked dead existing sessions for that backend are deleted from the session database. Their next connection would be treated as a new connection and assigned to an available backend.
However, be aware that pound only checks for TCP connectivity to check if it's alive. A backend that responds to http request with a 500 is NOT dead. (as far as pound is concerned) You'd need to set up your own monitoring script on a HAPort if you wanted something more intelligent. Joe > -----Original Message----- > From: Erik Hensema / HostingXS [mailto:[email protected]] > Sent: Tuesday, November 08, 2011 5:09 AM > To: [email protected] > Subject: Re: [Pound Mailing List] Behaviour on BackEnd failure with > session persistance > > Retrying my question: > > What happens to sessions bound to a backend when that backend is marked > dead? > Will all active sessions be redirected to another live backend or will > users > receive a http 5xx error when they try to access the site? > > My preference is they are redirected to a live backend with the risk > they > loose their shopping basket (the web application is a web shop). > > On vrijdag 07 oktober 2011 11:12:54 Erik Hensema / HostingXS wrote: > > Hi all, > > > > > > Last night one of our BackEnd nodes failed: > > > > Oct 6 19:22:07 proxy2 pound: (7f37405f0710) e500 for 81.83.236.39 > response > > error read from 213.207.111.3:8080/GET > > /views/library/jquery/plugins/jqzoom/css/jqzoom.css HTTP/ > > 1.1: Connection timed out (90.090 secs) > > Oct 6 19:22:08 proxy2 pound: (7f37400dc710) connect_nb: poll timed > out > > Oct 6 19:22:08 proxy2 pound: (7f37400dc710) backend > 213.207.111.3:8080 > > connect: Connection timed out > > Oct 6 19:22:08 proxy2 pound: (7f37400dc710) BackEnd > 213.207.111.3:8080 > > dead (killed) > > > > The BackEnd is an nginx server which is a reverse proxy to an > > apache+php+mysql server. > > > > During the downtime of this BackEnd, the site was down. I'm not sure > if it > > was down for all visitors, or just for all visitors with sessions on > this > > backend server. > > > > Could it be that pound keeps directing visitors to a dead BackEnd > when > > they've got an active session on that server? > > -- > Met vriendelijke groet, > > > Erik Hensema > -- > HostingXS B.V. > eXcellent Service > > Support: [email protected] > Algemeen: [email protected] > Administratie: [email protected] > > Telefoon: 024 - 324 91 77 > Fax: 024 - 324 91 76 > > Post adres: > Postbus 5 > 6500 AA te Nijmegen > > Website: http://www.hostingxs.nl > Twitter: http://twitter.com/HostingXS > > -- > To unsubscribe send an email with subject unsubscribe to > [email protected]. > Please contact [email protected] for questions. -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
