" n_smf_large so large" -- varnish-dev Digest, Vol 28, Issue 1
chen xiaoyong
chenxy.china at gmail.com
Fri Jul 11 06:39:11 CEST 2008
I found that there are reasons for this phenomenon because it is negative.
Not just n_smf_large, including n_smf_frag have this phenomenon too.
please see
struct varnish_stats {
time_t start_time;
#define MAC_STAT(n,t,f,e) t n;
#include "stat_field.h"
#undef MAC_STAT
};
stat_field.h:
.......
MAC_STAT(n_smf_frag, uint64_t, 'i', "N small free smf")
MAC_STAT(n_smf_large, uint64_t, 'i', "N large free smf")
......
Perhaps some code of storage_file.c should be some more stringent
2008/7/2, varnish-dev-request at projects.linpro.no <
varnish-dev-request at projects.linpro.no>:
>
> Send varnish-dev mailing list submissions to
> varnish-dev at projects.linpro.no
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://projects.linpro.no/mailman/listinfo/varnish-dev
> or, via email, send a message with subject or body 'help' to
> varnish-dev-request at projects.linpro.no
>
> You can reach the person managing the list at
> varnish-dev-owner at projects.linpro.no
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of varnish-dev digest..."
>
>
> Today's Topics:
>
> 1. n_smf_large so large ?? (chen xiaoyong)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 2 Jul 2008 17:45:23 +0800
> From: "chen xiaoyong" <chenxy.china at gmail.com>
> Subject: n_smf_large so large ??
> To: varnish-dev at projects.linpro.no
> Message-ID:
> <7ab169e90807020245w2f770725le7e6d9b55c510532 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hey guys,
>
> Varnish trunk from 2008.06.30 . os environment:
> amd64-unknown-freebsd7.0
>
> please see n_smf_large , it = 18446744073709551614 . maybe something is
> wrong .
>
>
> -------------------------------------------------------------------------------------------------------------------------------------
> $ varnishstat -1
>
> client_conn 1808282 343.78 Client connections accepted
> client_req 5559793 1056.99 Client requests received
> cache_hit 5381528 1023.10 Cache hits
> cache_hitpass 0 0.00 Cache hits for pass
> cache_miss 178075 33.85 Cache misses
> backend_conn 178075 33.85 Backend connections success
> backend_fail 0 0.00 Backend connections failures
> backend_reuse 177625 33.77 Backend connections reuses
> backend_recycle 177784 33.80 Backend connections recycles
> backend_unused 0 0.00 Backend connections unused
> n_srcaddr 4325 . N struct srcaddr
> n_srcaddr_act 981 . N active struct srcaddr
> n_sess_mem 3890 . N struct sess_mem
> n_sess 2642 . N struct sess
> n_object 152337 . N struct object
> n_objecthead 152215 . N struct objecthead
> n_smf 304323 . N struct smf
> n_smf_frag 7 . N small free smf
> n_smf_large 18446744073709551614 . N large free smf
> n_vbe_conn 14 . N struct vbe_conn
> n_bereq 92 . N struct bereq
> n_wrk 0 . N worker threads
> n_wrk_create 316 0.06 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 0 0.00 N overflowed work requests
> n_wrk_drop 0 0.00 N dropped work requests
> n_backend 2 . N backends
> n_expired 26049 . N expired objects
> n_lru_nuked 0 . N LRU nuked objects
> n_lru_saved 0 . N LRU saved objects
> n_lru_moved 314163 . 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 3705775 704.52 Objects sent with write
> n_objoverflow 0 0.00 Objects overflowing workspace
> s_sess 1808092 343.74 Total Sessions
> s_req 5559753 1056.99 Total Requests
> s_pipe 0 0.00 Total pipe
> s_pass 0 0.00 Total pass
> s_fetch 178070 33.85 Total fetch
> s_hdrbytes 1556619286 295935.23 Total header bytes
> s_bodybytes 21531176400 4093379.54 Total body bytes
> sess_closed 64849 12.33 Session Closed
> sess_pipeline 444 0.08 Session Pipeline
> sess_readahead 177 0.03 Session Read Ahead
> sess_linger 0 0.00 Session Linger
> sess_herd 5522363 1049.88 Session herd
> shm_records 211470782 40203.57 SHM records
> shm_writes 16601166 3156.12 SHM writes
> shm_flushes 363 0.07 SHM flushes due to overflow
> shm_cont 25302 4.81 SHM MTX contention
> sm_nreq 356414 67.76 allocator requests
> sm_nobj 304310 . outstanding allocations
> sm_balloc 3945529344 . bytes allocated
> sm_bfree 64773947392 . 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
> backend_req 178075 33.85 Backend requests made
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://projects.linpro.no/pipermail/varnish-dev/attachments/20080702/28c95e25/attachment.html
>
> ------------------------------
>
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-dev
>
>
> End of varnish-dev Digest, Vol 28, Issue 1
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20080711/3a03e0a0/attachment-0001.html>
More information about the varnish-dev
mailing list