[Varnish] #55: varnish stops responding with apache keepalive On

Varnish varnish-bugs at projects.linpro.no
Fri Oct 13 13:03:15 CEST 2006


#55: varnish stops responding with apache keepalive On
----------------------+-----------------------------------------------------
 Reporter:  ced       |       Owner:  phk      
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:           
Component:  varnishd  |     Version:  trunk    
 Severity:  major     |    Keywords:  Keepalive
----------------------+-----------------------------------------------------
 Varnish stops responding after a few seconds when Keepalive is set on
 apache.

 Varnish launched with : /usr/local/varnish/sbin/varnishd -a '0.0.0.0:80'
 -b'127.0.0.1:8080' -T 127.0.0.1:1664 -sfile,/tmp/varnish,1g -t 0

 uname : Linux php10 2.6.12-10-686-smp #1 SMP Fri Sep 15 16:47:57 UTC 2006
 i686 GNU/Linux

 Trying to do a lynx -dump http://127.0.0.1:80 (to varnish) is just stuck

 Trying to do a lynx -dump http://127.0.0.1:8080 (to the backend) is
 working very fast, apache status shows almost no connection from varnish.

 Removing keepalive makes varnish work again (with no restart of varnishd)

 Here is a sample log when the problem occured :

 {{{
     0 ExpKill        1452272424 -1
     0 ExpKill        1452272490 -1
     0 ExpKill        1452272447 -1
     0 ExpKill        1452272504 -1
     0 ExpKill        1452272533 -1
     0 ExpKill        1452272412 -1
     0 ExpKill        1452272462 -1
     0 ExpKill        1452272515 -1
     0 ExpKill        1452272465 -1
     0 ExpKill        1452272430 -1
     0 WorkThread     0x6cafc1a0 end
     0 ExpKill        1452272616 -1
     0 ExpKill        1452272603 -1
     0 ExpKill        1452272556 -1
     0 ExpKill        1452272643 -1
     0 ExpKill        1452272554 -1
     0 ExpKill        1452360874 -48
     0 ExpKill        1452360900 -30
     0 ExpPick        1452272387
     0 VCL_call       timeout
     0 VCL_return     discard
     0 ExpPick        1452272335
     0 VCL_call       timeout
     0 VCL_return     discard
     0 ExpPick        1452272345
     0 VCL_call       timeout
     0 VCL_return     discard
     0 ExpPick        1452272381
     0 VCL_call       timeout
     0 VCL_return     discard
     0 ExpPick        1452272219
     0 VCL_call       timeout
     0 VCL_return     discard
     0 ExpPick        1452272354
     0 VCL_call       timeout
     0 VCL_return     discard
     0 ExpPick        1452272301
     0 VCL_call       timeout
     0 VCL_return     discard
     0 ExpPick        1452360878
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/55>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list