Hello,
On Thu, 1 Dec 2005, Horms wrote:
> I finally got around to preparing the backport and patch for Dave,
> and in the course of doing this I realises that as long as
> ip_vs_conn_expire() doesn't reeset the timer, the problem goes away.
> This is because the problem is not how long the persistance entry
> stays around, but rather that it changes from the user-configured
> value.
I think that code such as:
if (cp->flags & IP_VS_CONN_F_TEMPLATE)
cp->timeout = 10*HZ;
better serves the idea not to extend the persistence with
the user-defined period, say, with another 30mins. But i'm not sure
which is the better variant. Your last patch is valid for the case
that extends the persistence with user-defined value on any activity,
even to cover the FIN WAIT period. So, without the above code and
without any sysctl vars, for me, your patch looks more valid even
if some people with short persistence timeout and big FIN_WAIT
periods are not happy. It means that we give another 30mins to
the SSL client to create other connections in same session, not
10 or 60 seconds.
Regards
--
Julian Anastasov <ja@xxxxxx>
|