[Varnish] #66: Varnish stops feeding pages

Varnish varnish-bugs at projects.linpro.no
Mon Nov 6 00:19:28 CET 2006


#66: Varnish stops feeding pages
----------------------+-----------------------------------------------------
 Reporter:  jakobbg   |       Owner:  phk
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:     
Component:  varnishd  |     Version:  1.0
 Severity:  normal    |    Keywords:     
----------------------+-----------------------------------------------------
 It just stops behaving. Started in debugging mode in a screen on server as
 documented here: <http://varnish.projects.linpro.no/wiki/AlphaReadme>

 Suddenly server takes 30-60 seconds to deliver a page like
 <http://grimstveit.no/jakob>.


 {{{
 $ uname -a
 FreeBSD hombre.grimstveit.no 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #21:
 Wed Oct  4 19:03:49 CEST 2006
 root at hombre.grimstveit.no:/usr/obj/usr/src/sys/HOMBRE  i386
 }}}



 {{{
 $ pkg_info | grep -e apache -e php -e varnish | cut -f 1 -d ' '
 apache-2.0.59
 php5-5.1.6_3
 php5-ctype-5.1.6_3
 php5-curl-5.1.6_3
 php5-dom-5.1.6_3
 php5-exif-5.1.6_3
 php5-extensions-1.0
 php5-ftp-5.1.6_3
 php5-gd-5.1.6_3
 php5-gettext-5.1.6_3
 php5-iconv-5.1.6_3
 php5-mbstring-5.1.6_3
 php5-mhash-5.1.6_3
 php5-mysql-5.1.6_3
 php5-pcre-5.1.6_3
 php5-posix-5.1.6_3
 php5-recode-5.1.6_3
 php5-session-5.1.6_3
 php5-simplexml-5.1.6_3
 php5-sqlite-5.1.6_3
 php5-tokenizer-5.1.6_3
 php5-xml-5.1.6_3
 php5-xmlreader-5.1.6_3
 php5-xmlwriter-5.1.6_3
 php5-zlib-5.1.6_3
 varnish-1.0.1
 }}}



 Some output from console:


 {{{
 stats
 CLI <stats>
 200 1461
         2510  Client connections accepted
         4639  Client requests received
         1274  Cache hits
          289  Cache hits for pass
         2977  Cache misses
         3365  Backend connections initiated
         3297  Backend connections recyles
            9  Backend connections unused
          653  N struct srcaddr
            5  N active struct srcaddr
           22  N struct sess_mem
            7  N struct sess
          924  N struct object
          924  N struct objecthead
          897  N struct smf
            4  N small free smf
            6  N large free smf
           13  N struct vbe_conn
            8  N worker threads
           95  N worker threads created
            0  N worker threads not created
            0  N worker threads limited
            0  N queued work requests
           95  N overflowed work requests
            0  N dropped work requests
         2087  N expired objects
            9  N objects on deathrow
            0  HTTP header overflows
         1298  Objects sent with sendfile
         2175  Objects sent with write
         2505  Total Sessions
         4633  Total Requests
           30  Total pipe
          484  Total pass
         2845  Total fetch
      1405612  Total header bytes
   1032287482  Total body bytes
          904  Session Closed
           10  Session Pipeline
            6  Session Read Ahead
         3758  Session herd
       276960  SHM records
        23580  SHM writes
            2  SHM MTX contention

 help
 CLI <help>
 200 281
 Available commands:
 ping [timestamp]
 start
 stop
 stats
 vcl.load <configname> <filename>
 vcl.inline <configname> <quoted_VCLstring>
 vcl.use <configname>
 vcl.discard <configname>
 vcl.list
 param.show [-l] [<param>]
 param.set <param> <value>
 help [command]
 url.purge <regexp>
 dump.pool

 url.purge /
 CLI <url.purge />
 200 8
 PURGE /

 Child said (2, 42624): <<Assert error in EXP_TTLchange(), cache_expire.c
 line 70:
   Condition(o->heap_idx != 0) not true.
   errno = 0 (Unknown error: 0)
 >>
 Child not responding to ping
 Cache child died pid=42624 status=0x86
 Clean child
 Child cleaned
 start child pid 43145
 Child said (2, 43145): <<Child starts
 managed to mmap 2147479552 bytes of 2147479552
 Ready
 CLI ready
 >>
 Child said (2, 43145): <<socktest: linger=0 sndtimeo=1 rcvtimeo=1
 >>
 url.purge
 CLI <url.purge>
 104 19
 Too few parameters

 url.purge /
 CLI <url.purge />
 200 8
 PURGE /

 }}}

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


More information about the varnish-bugs mailing list