[Varnish] #378: unresonable varnish free smf number

Varnish varnish-bugs at projects.linpro.no
Thu Dec 18 13:07:51 CET 2008


#378: unresonable varnish free smf number
----------------------+-----------------------------------------------------
 Reporter:  191919    |        Owner:  phk
     Type:  defect    |       Status:  new
 Priority:  high      |    Milestone:     
Component:  varnishd  |      Version:  2.0
 Severity:  blocker   |   Resolution:     
 Keywords:            |  
----------------------+-----------------------------------------------------
Old description:

> varnish stopped responding and a wget "localhost" timeouts and no reply
> received.
>
> I noticed a value of the stats probe is strange:
>
> 18446744073709551573  N small free smf
>
> Is it reasonable?
>
> # telnet localhost 6000
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> stats
> 200 2733
>      2633573  Client connections accepted
>      2633564  Client requests received
>       872254  Cache hits
>           57  Cache hits for pass
>      1460964  Cache misses
>      1712598  Backend connections success
>            0  Backend connections not attempted
>            0  Backend connections too many
>           80  Backend connections failures
>            2  Backend connections reuses
>        11310  Backend connections recycles
>            0  Backend connections unused
>            3  N struct srcaddr
>            3  N active struct srcaddr
>       131052  N struct sess_mem
>        48034  N struct sess
>          262  N struct object
>          264  N struct objecthead
>           61  N struct smf
> 18446744073709551573  N small free smf
>            1  N large free smf
>            1  N struct vbe_conn
>           74  N struct bereq
>           40  N worker threads
>          382  N worker threads created
>            0  N worker threads not created
>          316  N worker threads limited
>            0  N queued work requests
>         5757  N overflowed work requests
>            0  N dropped work requests
>            5  N backends
>      1460570  N expired objects
>            0  N LRU nuked objects
>            0  N LRU saved objects
>            0  N LRU moved objects
>            0  N objects on deathrow
>            0  HTTP header overflows
>            0  Objects sent with sendfile
>      2327561  Objects sent with write
>            0  Objects overflowing workspace
>      2633572  Total Sessions
>      2633564  Total Requests
>       251433  Total pipe
>          389  Total pass
>      1460960  Total fetch
>    882556140  Total header bytes
>  20790925758  Total body bytes
>      2585539  Session Closed
>            0  Session Pipeline
>            0  Session Read Ahead
>            0  Session Linger
>            0  Session herd
>    179969709  SHM records
>     16041689  SHM writes
>       216649  SHM flushes due to overflow
>         2490  SHM MTX contention
>           68  SHM cycles through buffer
>      2913748  allocator requests
>            9  outstanding allocations
>      1261568  bytes allocated
> 214747471872  bytes free
>            0  SMA allocator requests
>            0  SMA outstanding allocations
>            0  SMA outstanding bytes
>            0  SMA bytes allocated
>            0  SMA bytes free
>          884  SMS allocator requests
>            0  SMS outstanding allocations
>            0  SMS outstanding bytes
>       343064  SMS bytes allocated
>       343064  SMS bytes freed
>      1461182  Backend requests made
>            1  N vcl total
>            1  N vcl available
>            0  N vcl discarded
>            1  N total active purges
>            1  N new purges added
>            0  N old purges deleted
>            0  N objects tested
>            0  N regexps tested against

New description:

 varnish stopped responding and a wget "localhost" timeouts and no reply
 received.

 I noticed a value of the stats probe is strange:

 18446744073709551573  N small free smf

 Is it reasonable?
 {{{
 # telnet localhost 6000
 Trying 127.0.0.1...
 Connected to localhost.localdomain (127.0.0.1).
 Escape character is '^]'.
 stats
 200 2733
      2633573  Client connections accepted
      2633564  Client requests received
       872254  Cache hits
           57  Cache hits for pass
      1460964  Cache misses
      1712598  Backend connections success
            0  Backend connections not attempted
            0  Backend connections too many
           80  Backend connections failures
            2  Backend connections reuses
        11310  Backend connections recycles
            0  Backend connections unused
            3  N struct srcaddr
            3  N active struct srcaddr
       131052  N struct sess_mem
        48034  N struct sess
          262  N struct object
          264  N struct objecthead
           61  N struct smf
 18446744073709551573  N small free smf
            1  N large free smf
            1  N struct vbe_conn
           74  N struct bereq
           40  N worker threads
          382  N worker threads created
            0  N worker threads not created
          316  N worker threads limited
            0  N queued work requests
         5757  N overflowed work requests
            0  N dropped work requests
            5  N backends
      1460570  N expired objects
            0  N LRU nuked objects
            0  N LRU saved objects
            0  N LRU moved objects
            0  N objects on deathrow
            0  HTTP header overflows
            0  Objects sent with sendfile
      2327561  Objects sent with write
            0  Objects overflowing workspace
      2633572  Total Sessions
      2633564  Total Requests
       251433  Total pipe
          389  Total pass
      1460960  Total fetch
    882556140  Total header bytes
  20790925758  Total body bytes
      2585539  Session Closed
            0  Session Pipeline
            0  Session Read Ahead
            0  Session Linger
            0  Session herd
    179969709  SHM records
     16041689  SHM writes
       216649  SHM flushes due to overflow
         2490  SHM MTX contention
           68  SHM cycles through buffer
      2913748  allocator requests
            9  outstanding allocations
      1261568  bytes allocated
 214747471872  bytes free
            0  SMA allocator requests
            0  SMA outstanding allocations
            0  SMA outstanding bytes
            0  SMA bytes allocated
            0  SMA bytes free
          884  SMS allocator requests
            0  SMS outstanding allocations
            0  SMS outstanding bytes
       343064  SMS bytes allocated
       343064  SMS bytes freed
      1461182  Backend requests made
            1  N vcl total
            1  N vcl available
            0  N vcl discarded
            1  N total active purges
            1  N new purges added
            0  N old purges deleted
            0  N objects tested
            0  N regexps tested against
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/378#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list