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