Crazy value for sms_nbytes in varnish 2.1
David Birdsong
david.birdsong at gmail.com
Thu Apr 22 22:30:58 CEST 2010
This happens to me a lot also. I'm not on the same version, but I've
seen it happen on many version of trunk.
On Thu, Apr 22, 2010 at 1:27 PM, Augusto Becciu <augusto at jadedpixel.com> wrote:
> Hey guys,
>
> We're running varnish 2.1 in two 64bit linux servers with 17Gb of ram.
> Here's the config we use:
>
> varnishd -P /var/run/varnishd.pid -a 0.0.0.0:2000 -T 127.0.0.1:6082 -w
> 200,2000 -s malloc,12G -p lru_interval=20 -f /etc/varnish/varnish.vcl
>
> Suddenly the value of sms_nbytes in one of those went from 0 to
> 18446744073709550272. What does that mean?
> Other than that everything seems to be normal.
>
> Here's the output of varnishstat -1:
>
> client_conn 198874 7.77 Client connections accepted
> client_drop 0 0.00 Connection dropped, no sess/wrk
> client_req 1924202 75.17 Client requests received
> cache_hit 1292505 50.49 Cache hits
> cache_hitpass 0 0.00 Cache hits for pass
> cache_miss 607985 23.75 Cache misses
> backend_conn 605971 23.67 Backend conn. success
> backend_unhealthy 0 0.00 Backend conn. not attempted
> backend_busy 0 0.00 Backend conn. too many
> backend_fail 281 0.01 Backend conn. failures
> backend_reuse 1867 0.07 Backend conn. reuses
> backend_toolate 0 0.00 Backend conn. was closed
> backend_recycle 1867 0.07 Backend conn. recycles
> backend_unused 0 0.00 Backend conn. unused
> fetch_head 0 0.00 Fetch head
> fetch_length 579004 22.62 Fetch with Length
> fetch_chunked 0 0.00 Fetch chunked
> fetch_eof 0 0.00 Fetch EOF
> fetch_bad 0 0.00 Fetch had bad headers
> fetch_close 28803 1.13 Fetch wanted close
> fetch_oldhttp 0 0.00 Fetch pre HTTP/1.1 closed
> fetch_zero 0 0.00 Fetch zero len
> fetch_failed 3 0.00 Fetch failed
> n_sess_mem 148 . N struct sess_mem
> n_sess 25 . N struct sess
> n_object 577014 . N struct object
> n_vampireobject 0 . N unresurrected objects
> n_objectcore 577074 . N struct objectcore
> n_objecthead 577659 . 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 4 . N struct vbe_conn
> n_wrk 400 . N worker threads
> n_wrk_create 400 0.02 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 15 0.00 N overflowed work requests
> n_wrk_drop 0 0.00 N dropped work requests
> n_backend 2 . N backends
> n_expired 28911 . N expired objects
> n_lru_nuked 0 . N LRU nuked objects
> n_lru_saved 0 . N LRU saved objects
> n_lru_moved 1139364 . 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 1760199 68.76 Objects sent with write
> n_objoverflow 0 0.00 Objects overflowing workspace
> s_sess 198871 7.77 Total Sessions
> s_req 1924202 75.17 Total Requests
> s_pipe 2 0.00 Total pipe
> s_pass 12 0.00 Total pass
> s_fetch 607804 23.74 Total fetch
> s_hdrbytes 864214404 33759.69 Total header bytes
> s_bodybytes 32272815948 1260706.12 Total body bytes
> sess_closed 148553 5.80 Session Closed
> sess_pipeline 2 0.00 Session Pipeline
> sess_readahead 0 0.00 Session Read Ahead
> sess_linger 1826330 71.34 Session Linger
> sess_herd 421778 16.48 Session herd
> shm_records 111041082 4337.71 SHM records
> shm_writes 3637366 142.09 SHM writes
> shm_flushes 0 0.00 SHM flushes due to overflow
> shm_cont 3147 0.12 SHM MTX contention
> shm_cycles 47 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 1213629 47.41 SMA allocator requests
> sma_nobj 1153922 . SMA outstanding allocations
> sma_nbytes 11134381624 . SMA outstanding bytes
> sma_balloc 15050369209 . SMA bytes allocated
> sma_bfree 3915987585 . SMA bytes free
> sms_nreq 23891 0.93 SMS allocator requests
> sms_nobj 0 . SMS outstanding allocations
> sms_nbytes 18446744073709550272 . SMS outstanding bytes
> sms_balloc 10708772 . SMS bytes allocated
> sms_bfree 10710116 . SMS bytes freed
> backend_req 607863 23.75 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 23699 . N total active purges
> n_purge_add 23699 0.93 N new purges added
> n_purge_retire 0 0.00 N old purges deleted
> n_purge_obj_test 1209477 47.25 N objects tested
> n_purge_re_test 708554915 27679.01 N regexps tested against
> n_purge_dups 16004 0.63 N duplicate purges removed
> hcb_nolock 1295385 50.60 HCB Lookups without lock
> hcb_lock 1 0.00 HCB Lookups with lock
> hcb_insert 605109 23.64 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 25599 1.00 Client uptime
>
> Thanks in advance.
>
> Augusto
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
>
More information about the varnish-misc
mailing list