High value of shm_flushes in Varnish 3.0.5 -
we've hight value of shm_flushes in varnishstat:
hitrate ratio: 0 0 0 hitrate avg: 0.0000 0.0000 0.0000 3900996 90.85 inf backend_busy - backend conn. many 12498808 228.62 inf backend_reuse - backend conn. reuses 9950893 186.69 inf backend_toolate - backend conn. closed 35649 0.00 inf backend_recycle - backend conn. recycles 733236 10.98 inf backend_retry - backend conn. retry 94911 0.00 inf fetch_head - fetch head 468 0.00 inf fetch_eof - fetch eof 1962214 25.96 inf fetch_bad - fetch had bad headers 16922 0.00 inf fetch_close - fetch wanted close 1979182 34.94 inf fetch_oldhttp - fetch pre http/1.1 closed 26 0.00 inf fetch_zero - fetch 0 len 927 0.00 inf fetch_failed - fetch failed 1260014 29.95 inf fetch_1xx - fetch no body (1xx) 332729 5.99 inf fetch_204 - fetch no body (204) 7341 . . n_sess - n struct sess 112 . . n_objectcore - n struct objectcore 456054 . . n_vbc - n struct vbc 762 . . n_wrk - n worker threads 427 -40.93 inf n_wrk_create - n worker threads created 368860 -2.00 inf n_wrk_failed - n worker threads not created 368974 2.00 inf n_wrk_lqueue - work request queue length 361762 11.98 inf n_wrk_queued - n queued work requests 115 0.00 inf n_wrk_drop - n dropped work requests 42 . . n_backend - n backends 115 . . n_expired - n expired objects 2747 . . n_lru_nuked - n lru nuked objects 18073 0.00 inf n_objwrite - objects sent write 14 0.00 inf s_sess - total sessions 364370 12.98 inf s_req - total requests 7843107 119.80 inf s_pass - total pass 9802175 187.68 inf s_bodybytes - total body bytes 3900985 108.82 inf sess_pipeline - session pipeline 12498808 228.62 inf sess_readahead - session read ahead 6 0.00 inf sess_linger - session linger 1323887 26.95 inf sess_herd - session herd 2056953 37.94 inf shm_records - shm records 4873964594 91989.09 inf shm_writes - shm writes 304821503001 6421550.43 inf shm_flushes - shm flushes due overflow 1057284 31.95 inf shm_cont - shm mtx contention 102 0.00 inf shm_cycles - shm cycles through buffer 94 0.00 inf sms_nreq - sms allocator requests 11853499 . . sms_nobj - sms outstanding allocations 10496270 . . sms_nbytes - sms outstanding bytes 655590062 . . sms_balloc - sms bytes allocated 38937693 . . sms_bfree - sms bytes freed 211416 2.00 inf n_vcl - n vcl total 302 0.00 inf n_vcl_avail - n vcl available 24886 0.00 inf n_vcl_discard - n vcl discarded 10704338 0.00 inf n_ban_add - n new bans added 10704338 0.00 inf n_ban_retire - n old bans deleted 2057082 25.96 inf n_ban_obj_test - n objects tested 3 0.00 inf n_ban_re_test - n regexps tested against 3 0.00 inf n_ban_dups - n duplicate bans removed 2 0.00 inf hcb_lock - hcb lookups lock 1 0.00 inf hcb_insert - hcb inserts 2 0.00 inf esi_errors - esi parse errors (unlock) 535 0.00 inf accept_fail - accept failures 535 0.00 inf client_drop_late - connection dropped late 10718794 175.70 inf dir_dns_lookups - dns director lookups 610318 4.99 inf dir_dns_failed - dns director failed lookups 610316 4.99 inf dir_dns_hit - dns director cached lookups hit
also hitrate shown 0, have cache hits in varnish can see in responses , varnishlog
we tried -p shm_workspace=16384 in daemon_opts shm_flushes still increasing.
shouldn't value of shm_flushes 0?
this listing/output doesn't make sense.
shm_flushes should in same order shm_records. 6.4 million per second isn't.
i suspect you're using wrong version of libvarnishapi.
Comments
Post a Comment