varnish Connection: close and IE6
stockrt at gmail.com
Mon Sep 21 19:44:27 CEST 2009
Václav, you should read this two tickets:
The 492 may be a better fix for your problem, better than "if
((tmp_timeout - last_timeout) > 0.1)".
There we have patches for 2.0.4 too.
The only problem I can see with the trick you made, is that you are
cleaning sockets too frequently, and this can make your varnish
somewhat slow on higher loads.
2009/9/21 Václav Bílek <v.bilek at 1art.cz>:
>> With knowledge of that we dont know exactly how to patch for disabling
>> keepalive we tried nasty hack:
>> diff bin/varnishdcache_acceptor_epoll.c
>> < deadline = TIM_real() - params->sess_timeout;
>>> // deadline = TIM_real() - params->sess_timeout;
>> < if (sp->t_open > deadline)
>>> // if (sp->t_open > deadline)
>> it worked in testing enviroment but in real trafic it was even worse
>> (IE6 hanging for long time).
> as we try to disble client side keepalive we made change in
> cache_acceptor_epoll.c by disabling sesion timeout chceck and shorting
> this timeout:
> if ((tmp_timeout - last_timeout) > 60)
> if ((tmp_timeout - last_timeout) > 0.1)
> and it looks like it solved our problem ...
> is there any problem we should be expecting on high load after this
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
MSN: stockrt at hotmail.com
GTalk: stockrt at gmail.com
More information about the varnish-misc