Joseph Mack NA3T wrote:
> On Mon, 15 Aug 2005, Jan Bruvoll wrote:
>
>> Hm ok - my reasoning for doing that is that these clients are relatively
>> long-lived SSL-based connection from an in-house application to our
>> server park - and that by setting the persistence to 5 seconds, only
>> connections that "come back" within 5 seconds of disconnecting from this
>> particular server (for whatever reason - Apache timeout, client
>> disconnection, network problems, etc.) would be directed to the same
>> server - if not, they would then hopefully be directed to one of the
>> servers with weight>0 - or is my thinking wrong here?
>
>
> you're correct. Long lived connections should keep the number of
> connections constant, but the number of connections shouldn't increase.
>
> Joe
Actually, I've given this some thought and I think I understand why this
number can increase - it is ip address specific only, so if new clients
appear from behind an ip that is currently "active", i.e. has a
persistance template allocated to it, these would also be allocated to
the already quiesced server. So, although I have assigned a weight of 0,
the persistence templates wouldn't expire until all traffic subsides and
goes away for longer than <persistence> seconds after the last
connection closed. Cumbersome, but at least I can understand what's
going on.
Looks like adding that patch (or upgrading to a kernel at least
>=2.6.11) would fix it - working on that now.
Thanks for your help!
Jan
|