Varnish Stats

cripy ccripy at gmail.com
Fri Jun 1 19:53:38 CEST 2007


Hello all,
  I'm curious what kind of varnish stats everyone here has recorded and what
the "maximum" uptime you have with varnish not restarting itself.  I'm
trying to track down a nasty memory leak I believe exists in varnish which
you can see for yourself in "top".  It appears varnishs memory just
increases infinitely until it crashes and restarts itself.  Under a good
amount of traffic (20 Mbit/s out) I can't seem to get varnish to stay up
more than 5 hours without the memory leak kicking its ass-- however, here
are the stats from a varnish server that's only pushing out about
5-9Mbit/s.  Please share your stats and information that relates to this
possible leak that we have going so we can track this sucker down!

1d+13:18:50
Hitrate ratio:       10       14       14
Hitrate avg:     0.9915   0.9907   0.9907

      190399         2.99         1.42 Client connections accepted
      747515         5.99         5.56 Client requests received
        4659         0.00         0.03 Cache hits
         543         0.00         0.00 Cache hits for pass
         692         0.00         0.01 Cache misses
     1487211        10.98        11.07 Backend connections success
           0         0.00         0.00 Backend connections failures
      608752         1.00         4.53 Backend connections reuses
      642171         2.00         4.78 Backend connections recycles
          26        -1.00         0.00 Backend connections unused
        1075         0.00         0.01 N struct srcaddr
          17         1.00         0.00 N active struct srcaddr
          59         0.00         0.00 N struct sess_mem
          21         0.00         0.00 N struct sess
         809         1.00         0.01 N struct object
       10122         0.00         0.08 N struct objecthead
         684         0.00         0.01 N struct smf
           4         0.00         0.00 N small free smf
          89         0.00         0.00 N large free smf
          93         0.00         0.00 N struct vbe_conn
          17         0.00         0.00 N worker threads
        9483         0.00         0.07 N worker threads created
           0         0.00         0.00 N worker threads not created
           0         0.00         0.00 N worker threads limited
           0         0.00         0.00 N queued work requests
        9483         0.00         0.07 N overflowed work requests
           0         0.00         0.00 N dropped work requests
           0         0.00         0.00 N expired objects
           0         0.00         0.00 N objects on deathrow
           0         0.00         0.00 HTTP header overflows
           0         0.00         0.00 Objects sent with sendfile
      574340         2.00         4.28 Objects sent with write
      190390         2.00         1.42 Total Sessions
      747503         4.99         5.56 Total Requests
           0         0.00         0.00 Total pipe
           0         0.00         0.00 Total pass
      743562         4.99         5.54 Total fetch
   156546112      1072.94      1165.38 Total header bytes
244767426611      7896.83   1822135.24 Total body bytes
       36295         0.00         0.27 Session Closed
        4190         0.00         0.03 Session Pipeline
        1322         0.00         0.01 Session Read Ahead
      707433         4.99         5.27 Session herd
    54319017       373.28       404.37 SHM records
     1516417        16.97        11.29 SHM writes
           7         0.00         0.00 SHM MTX contention
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20070601/2d3dda68/attachment-0001.html>


More information about the varnish-misc mailing list