[Varnish] #1067: Assert error in Tcheck() cache.h line 747

Varnish varnish-bugs at varnish-cache.org
Thu Dec 1 00:40:51 CET 2011


#1067: Assert error in Tcheck() cache.h line 747
---------------------+------------------------------------------------------
 Reporter:  nathanm  |        Type:  defect
   Status:  new      |    Priority:  high  
Milestone:           |   Component:  build 
  Version:  2.1.5    |    Severity:  major 
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by nathanm):

 VCL is fairly straightforward, we're seeing the same error on two servers
 that use the same config.


 Varnishstat:
 {{{
 tsr2 [ha backup] ~ # varnishstat -1
 client_conn              9486        91.21 Client connections accepted
 client_drop                 0         0.00 Connection dropped, no sess/wrk
 client_req              20178       194.02 Client requests received
 cache_hit               11194       107.63 Cache hits
 cache_hitpass               0         0.00 Cache hits for pass
 cache_miss               4755        45.72 Cache misses
 backend_conn             8942        85.98 Backend conn. success
 backend_unhealthy            0         0.00 Backend conn. not attempted
 backend_busy                0         0.00 Backend conn. too many
 backend_fail                0         0.00 Backend conn. failures
 backend_reuse               0         0.00 Backend conn. reuses
 backend_toolate             0         0.00 Backend conn. was closed
 backend_recycle             0         0.00 Backend conn. recycles
 backend_unused              0         0.00 Backend conn. unused
 fetch_head                  0         0.00 Fetch head
 fetch_length             8144        78.31 Fetch with Length
 fetch_chunked             171         1.64 Fetch chunked
 fetch_eof                   0         0.00 Fetch EOF
 fetch_bad                   0         0.00 Fetch had bad headers
 fetch_close               207         1.99 Fetch wanted close
 fetch_oldhttp               0         0.00 Fetch pre HTTP/1.1 closed
 fetch_zero                  0         0.00 Fetch zero len
 fetch_failed                0         0.00 Fetch failed
 n_sess_mem                587          .   N struct sess_mem
 n_sess                    355          .   N struct sess
 n_object                 4755          .   N struct object
 n_vampireobject             0          .   N unresurrected objects
 n_objectcore             4884          .   N struct objectcore
 n_objecthead             4828          .   N struct objecthead
 n_smf                       0          .   N struct smf
 n_smf_frag                  0          .   N small free smf
 n_smf_large                 0          .   N large free smf
 n_vbe_conn                 10          .   N struct vbe_conn
 n_wrk                     800          .   N worker threads
 n_wrk_create              800         7.69 N worker threads created
 n_wrk_failed                0         0.00 N worker threads not created
 n_wrk_max              186401      1792.32 N worker threads limited
 n_wrk_queue                 0         0.00 N queued work requests
 n_wrk_overflow            126         1.21 N overflowed work requests
 n_wrk_drop                  0         0.00 N dropped work requests
 n_backend                   6          .   N backends
 n_expired                   0          .   N expired objects
 n_lru_nuked                 0          .   N LRU nuked objects
 n_lru_saved                 0          .   N LRU saved objects
 n_lru_moved              4417          .   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              18315       176.11 Objects sent with write
 n_objoverflow               0         0.00 Objects overflowing workspace
 s_sess                   9476        91.12 Total Sessions
 s_req                   20178       194.02 Total Requests
 s_pipe                    139         1.34 Total pipe
 s_pass                   4029        38.74 Total pass
 s_fetch                  8784        84.46 Total fetch
 s_hdrbytes            7488332     72003.19 Total header bytes
 s_bodybytes         117706802   1131796.17 Total body bytes
 sess_closed               790         7.60 Session Closed
 sess_pipeline              81         0.78 Session Pipeline
 sess_readahead             28         0.27 Session Read Ahead
 sess_linger             19514       187.63 Session Linger
 sess_herd               18743       180.22 Session herd
 shm_records           1217125     11703.12 SHM records
 shm_writes              85432       821.46 SHM writes
 shm_flushes                 0         0.00 SHM flushes due to overflow
 shm_cont                  281         2.70 SHM MTX contention
 shm_cycles                  0         0.00 SHM cycles through buffer
 sm_nreq                     0         0.00 allocator requests
 sm_nobj                     0          .   outstanding allocations
 sm_balloc                   0          .   bytes allocated
 sm_bfree                    0          .   bytes free
 sma_nreq                13312       128.00 SMA allocator requests
 sma_nobj                 9517          .   SMA outstanding allocations
 sma_nbytes           16390024          .   SMA outstanding bytes
 sma_balloc          106024006          .   SMA bytes allocated
 sma_bfree            89633982          .   SMA bytes free
 sms_nreq                    0         0.00 SMS allocator requests
 sms_nobj                    0          .   SMS outstanding allocations
 sms_nbytes                  0          .   SMS outstanding bytes
 sms_balloc                  0          .   SMS bytes allocated
 sms_bfree                   0          .   SMS bytes freed
 backend_req              8803        84.64 Backend requests made
 n_vcl                       1         0.01 N vcl total
 n_vcl_avail                 1         0.01 N vcl available
 n_vcl_discard               0         0.00 N vcl discarded
 n_purge                     1          .   N total active purges
 n_purge_add                 1         0.01 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              15954       153.40 HCB Lookups without lock
 hcb_lock                 4699        45.18 HCB Lookups with lock
 hcb_insert               4699        45.18 HCB Inserts
 esi_parse                   0         0.00 Objects ESI parsed (unlock)
 esi_errors                  0         0.00 ESI parse errors (unlock)
 accept_fail                 0         0.00 Accept failures
 client_drop_late            0         0.00 Connection dropped late
 uptime                    104         1.00 Client uptime
 backend_retry               0         0.00 Backend conn. retry
 dir_dns_lookups             0         0.00 DNS director lookups
 dir_dns_failed              0         0.00 DNS director failed lookups
 dir_dns_hit                 0         0.00 DNS director cached lookups hit
 dir_dns_cache_full            0         0.00 DNS director full dnscache
 fetch_1xx                   0         0.00 Fetch no body (1xx)
 fetch_204                   0         0.00 Fetch no body (204)
 fetch_304                 262         2.52 Fetch no body (304)
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1067#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list