/ Zope / Apsis / Pound Mailing List / Archive / 2008 / 2008-02 / Load balancing sticking sessions with IP

[ << ] [ >> ]

[ Re: [Pound Mailing List] Multiple ... ] [ Problems with Pound 2.4 / "mrhotstandby(at)gm... ]

Load balancing sticking sessions with IP
Agustin Lopez <Agustin.Lopez(at)uv.es>
2008-02-14 21:05:56 [ FULL ]
Hello!

I am using pound 2.4 and I need to do load balancing using session IP 
with two (apache) http
servers. It is working but when I kill one Apache, pound do not forward 
the requests to the other
server. Are there any way to do that?

Regards,
Agustin

RE: [Pound Mailing List] Load balancing sticking sessions with IP
"Alfonso Espitia" <aespitia(at)castleworldwide.com>
2008-02-14 22:06:23 [ FULL ]
it should automatically do it, you might want to play around with the
"Alive" value:

------FROM MAN-----------

Alive value
         Specify how  often  Pound  will  check  for  resurected
         back-end hosts (default: 30 seconds). In general, it is
         a good idea to set this as low as possible  -  it  will
         find  resurected  hosts  faster. However, if you set it
         too low it will consume resources - so beware.

-----------------------

 

-----Original Message-----
From: Agustin Lopez [mailto:Agustin.Lopez(at)uv.es] 
Sent: Thursday, February 14, 2008 3:06 PM
To: pound(at)apsis.ch
Subject: [Pound Mailing List] Load balancing sticking sessions with IP


Hello!

I am using pound 2.4 and I need to do load balancing using session IP
with two (apache) http servers. It is working but when I kill one
Apache, pound do not forward the requests to the other server. Are there
any way to do that?

Regards,
Agustin



--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.

--
This message has been scanned for viruses and dangerous content by
SecureMail, and is believed to be clean.

Re: [Pound Mailing List] Load balancing sticking sessions with IP
Agustin Lopez <Agustin.Lopez(at)uv.es>
2008-02-14 23:01:48 [ FULL ]
No, sorry.
In the pound log I get a infinite loop:
Feb 14 22:57:24 xxxx pound: (b7c56bb0) backend 147.156.1.85:80 connect: 
Connection refused
(175 lines in the log for second)
and I have to kill -9 pound.

I have test with several values for alive and timeout with the same results.

Any pointer, please?

Regards,
Agustin


Alfonso Espitia escribió:[...]

RE: [Pound Mailing List] Load balancing sticking sessions with IP
"Alfonso Espitia" <aespitia(at)castleworldwide.com>
2008-02-15 15:15:00 [ FULL ]
Does it work with anything besides IP (cookie, basic, etc.), or does it not
work for you at all? 

-----Original Message-----
From: Agustin Lopez [mailto:Agustin.Lopez(at)uv.es] 
Sent: Thursday, February 14, 2008 5:02 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Load balancing sticking sessions with IP


No, sorry.
In the pound log I get a infinite loop:
Feb 14 22:57:24 xxxx pound: (b7c56bb0) backend 147.156.1.85:80 connect: 
Connection refused
(175 lines in the log for second)
and I have to kill -9 pound.

I have test with several values for alive and timeout with the same results.

Any pointer, please?

Regards,
Agustin


Alfonso Espitia escribió:[...]


--
To unsubscribe send an email with subject unsubscribe to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.

--
This message has been scanned for viruses and dangerous content by SecureMail,
and is believed to be clean.

Re: [Pound Mailing List] Load balancing sticking sessions with IP
Robert Segall <roseg(at)apsis.ch>
2008-02-18 14:21:45 [ FULL ]
On Thu, 2008-02-14 at 23:01 +0100, Agustin Lopez wrote:[...]

This is definitely not a problem with Alive or timeout - normally after
the first "connect failed" the back-end should be dead. Unfortunately we
can't replicate the problem here. Anybody else seen this anywhere?[...]

Re: [Pound Mailing List] Load balancing sticking sessions with IP
Francisco Ruiz <fjruiz(at)hac.juntaex.es>
2008-02-18 14:59:35 [ FULL ]
Hello,

I have the same problem.  Pound 2.3.2 works well, but with the new Pound 
2.4 IP sessions doesn't.  We use both IP and Cookies sessions, and 
Cookies works well.

Poundctl shows that Pound knows the backend is DEAD, but it keeps the 
sessions open with this dead backend. With 2.3.2 as soon as Pound knows 
the backend is dead all the sessions related to it are removed 
inmediatly, show next connections are correctly headed to the alive backend.

Maybe, someone with a good knoledge of the code can look for the trouble.

Regards,
Francisco

Alfonso Espitia escribió:[...][...][...]

Re: [Pound Mailing List] Load balancing sticking sessions with IP
Agustin Lopez <Agustin.Lopez(at)uv.es>
2008-02-18 18:24:44 [ FULL ]
Hello!

Yes, Pound 2.3.2 works Ok.

I have downgraded to that version.

Regards,
Agustin

Francisco Ruiz escribió:[...][...]
>>> it should automatically do it, you might want to play around with 
>>> the "Alive" value:
>>>
>>> ------FROM MAN-----------
>>>
>>> Alive value
>>>          Specify how  often  Pound  will  check  for  resurected
>>>          back-end hosts (default: 30 seconds). In general, it is
>>>          a good idea to set this as low as possible  -  it  will
>>>          find  resurected  hosts  faster. However, if you set it
>>>          too low it will consume resources - so beware.
>>>
>>> -----------------------
>>>
>>>  
>>>
>>> -----Original Message-----
>>> From: Agustin Lopez [mailto:Agustin.Lopez(at)uv.es]
>>> Sent: Thursday, February 14, 2008 3:06 PM
>>> To: pound(at)apsis.ch
>>> Subject: [Pound Mailing List] Load balancing sticking sessions
with IP
>>>
>>>
>>> Hello!
>>>
>>> I am using pound 2.4 and I need to do load balancing using session

>>> IP with two (apache) http servers. It is working but when I kill
one 
>>> Apache, pound do not forward the requests to the other server. Are

>>> there any way to do that?
>>>
>>> Regards,
>>> Agustin
>>>
>>>
>>>
>>> -- 
>>> To unsubscribe send an email with subject unsubscribe to 
>>> pound(at)apsis.ch.
>>> Please contact roseg(at)apsis.ch for questions.
>>>
>>> -- 
>>> This message has been scanned for viruses and dangerous content by

>>> SecureMail, and is believed to be clean.
>>>
>>>
>>>
>>> -- 
>>> To unsubscribe send an email with subject unsubscribe to 
>>> pound(at)apsis.ch.
>>> Please contact roseg(at)apsis.ch for questions.
>>>
>>>       [...][...]

MailBoxer