[Varnish] #437: Varnish 2.0.2 hanging with large amounts of traffic

Varnish varnish-bugs at projects.linpro.no
Thu Feb 5 17:53:09 CET 2009


#437: Varnish 2.0.2 hanging with large amounts of traffic
----------------------+-----------------------------------------------------
 Reporter:  ajt       |        Owner:  perbu
     Type:  defect    |       Status:  new  
 Priority:  normal    |    Milestone:       
Component:  build     |      Version:  trunk
 Severity:  critical  |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by ajt):

 I have upgraded to trunk this morning and the issues continues. Here is
 some more information but I have noticed that the n_srcadd_acct is
 18446744073709551614 as reported by varnishstat -1 at the time of the
 issue. I should point out also that I am using round robin.

 {{{
 uptime                   7946          .   Child uptime
 client_conn             96406        12.13 Client connections accepted
 client_req             155875        19.62 Client requests received
 cache_hit               21343         2.69 Cache hits
 cache_hitpass            2980         0.38 Cache hits for pass
 cache_miss              13930         1.75 Cache misses
 backend_conn           134541        16.93 Backend connections success
 backend_unhealthy            0         0.00 Backend connections not
 attempted
 backend_busy                0         0.00 Backend connections too many
 backend_fail                2         0.00 Backend connections failures
 backend_reuse               0         0.00 Backend connections reuses
 backend_recycle             0         0.00 Backend connections recycles
 backend_unused              0         0.00 Backend connections unused
 n_srcaddr                1188          .   N struct srcaddr
 n_srcaddr_act    18446744073709551614          .   N active struct srcaddr
 n_sess_mem                528          .   N struct sess_mem
 n_sess                      1          .   N struct sess
 n_object                 7962          .   N struct object
 n_objecthead             8277          .   N struct objecthead
 n_smf                   17386          .   N struct smf
 n_smf_frag               1507          .   N small free smf
 n_smf_large                40          .   N large free smf
 n_vbe_conn                  6          .   N struct vbe_conn
 n_bereq                   489          .   N struct bereq
 n_wrk                     116          .   N worker threads
 n_wrk_create              675         0.08 N worker threads created
 n_wrk_failed                0         0.00 N worker threads not created
 n_wrk_max                   0         0.00 N worker threads limited
 n_wrk_queue                 0         0.00 N queued work requests
 n_wrk_overflow           2380         0.30 N overflowed work requests
 n_wrk_drop                  0         0.00 N dropped work requests
 n_backend                   2          .   N backends
 n_expired                5998          .   N expired objects
 n_lru_nuked                 0          .   N LRU nuked objects
 n_lru_saved                 0          .   N LRU saved objects
 n_lru_moved             13442          .   N LRU moved objects
 n_deathrow                  0          .   N objects on deathrow
 losthdr                     0         0.00 HTTP header overflows
 n_objsendfile               0         0.00 Objects sent with sendfile
 n_objwrite             149164        18.77 Objects sent with write
 n_objoverflow               0         0.00 Objects overflowing workspace
 s_sess                  96405        12.13 Total Sessions
 s_req                  155886        19.62 Total Requests
 s_pipe                      0         0.00 Total pipe
 s_pass                 120613        15.18 Total pass
 s_fetch                134461        16.92 Total fetch
 s_hdrbytes          109487062     13778.89 Total header bytes
 s_bodybytes        1241045694    156184.96 Total body bytes
 sess_closed              7246         0.91 Session Closed
 sess_pipeline              22         0.00 Session Pipeline
 sess_readahead              7         0.00 Session Read Ahead
 sess_linger                 0         0.00 Session Linger
 sess_herd              149706        18.84 Session herd
 shm_records          13421027      1689.03 SHM records
 shm_writes             747891        94.12 SHM writes
 shm_flushes                20         0.00 SHM flushes due to overflow
 shm_cont                  378         0.05 SHM MTX contention
 shm_cycles                  6         0.00 SHM cycles through buffer
 sm_nreq                267091        33.61 allocator requests
 sm_nobj                 15839          .   outstanding allocations
 sm_balloc           212172800          .   bytes allocated
 sm_bfree          22959534080          .   bytes free
 sma_nreq                    0         0.00 SMA allocator requests
 sma_nobj                    0          .   SMA outstanding allocations
 sma_nbytes                  0          .   SMA outstanding bytes
 sma_balloc                  0          .   SMA bytes allocated
 sma_bfree                   0          .   SMA bytes free
 sms_nreq                   82         0.01 SMS allocator requests
 sms_nobj                    0          .   SMS outstanding allocations
 sms_nbytes                  0          .   SMS outstanding bytes
 sms_balloc              38212          .   SMS bytes allocated
 sms_bfree               38212          .   SMS bytes freed
 backend_req            134542        16.93 Backend requests made
 n_vcl                       1         0.00 N vcl total
 n_vcl_avail                 1         0.00 N vcl available
 n_vcl_discard               0         0.00 N vcl discarded
 n_purge                     1          .   N total active purges
 n_purge_add                 1         0.00 N new purges added
 n_purge_retire              0         0.00 N old purges deleted
 n_purge_obj_test            0         0.00 N objects tested
 n_purge_re_test             0         0.00 N regexps tested against
 n_purge_dups                0         0.00 N duplicate purges removed
 hcb_nolock                  0         0.00 HCB Lookups without lock
 hcb_lock                    0         0.00 HCB Lookups with lock
 hcb_insert                  0         0.00 HCB Inserts
 esi_parse                   0         0.00 Objects ESI parsed (unlock)
 esi_errors                  0         0.00 ESI parse errors (unlock)
 }}}

 Varnishlog:
 {{{
     0 WorkThread   - 0x7f1b9c2fbbe0 end
     0 WorkThread   - 0x7f1ba84e7be0 end
     0 CLI          - Rd ping
     0 CLI          - Wr 0 200 PONG 1233852234 1.0
     0 WorkThread   - 0x7f1b5d0fdbe0 end
     0 WorkThread   - 0x7f1bef2e7be0 end
     0 CLI          - Rd ping
     0 CLI          - Wr 0 200 PONG 1233852237 1.0
     0 WorkThread   - 0x7f1b930eebe0 end
     0 WorkThread   - 0x7f1b754d7be0 end
     0 CLI          - Rd ping
     0 CLI          - Wr 0 200 PONG 1233852240 1.0
 }}}

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


More information about the varnish-bugs mailing list