Ticket #55 (closed defect: invalid)

Opened 3 years ago

Last modified 19 months ago

varnish stops responding with apache keepalive On

Reported by: ced Owned by: des
Priority: normal Milestone:
Component: varnishd Version: trunk
Severity: major Keywords: Keepalive
Cc:

Description

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

Change History

Changed 3 years ago by des

  • owner changed from phk to des
  • status changed from new to assigned

This is believed to have been fixed, but needs testing.

Changed 3 years ago by nkinkade

I'm still seeing this problem. On a page that contains multiple items such as images, stylesheets, javascript, etc ... each item will delay 15 seconds in loading. 15 seconds is the default KeepAliveTimeout? in Apache2, at least in Debian Etch. When I set KeepAlive? to Off, the problem goes away.

# varnishd -V varnishd (varnish-1.1.1)

I built/installed this as a Debian package from sources I downloaded from Trac just a couple weeks ago.

Des mentions that this is believed to have been fixed in a post of about a month ago ... was the believed fix included in the 1.1.1 release?

Thanks!

Nate

Changed 20 months ago by petter

Is this ticket still valid with the current -trunk version?

Changed 19 months ago by phk

  • status changed from assigned to closed
  • resolution set to invalid

Timing this one out due to lack of response.

Note: See TracTickets for help on using tickets.