Swapping & High Load

Sean Allen sean at monkeysnatchbanana.com
Wed Mar 20 13:59:23 CET 2013


We ran a batch job last night that moves everything possible through the
cache. Thus the eviction numbers and the currently low hit rate as 'active'
records start to be pulled through at the start of our business day:

0+11:37:21
Hitrate ratio:       10      100     1000
Hitrate avg:     0.5494   0.5375   0.5230

      420499        18.18        10.05 client_conn - Client connections
accepted
    10210075    83.85 244.02 client_req - Client requests received
     2966776    30.31        70.91 cache_hit - Cache hits
     7238285    52.53 173.00 cache_miss - Cache misses
        5832         0.00         0.14 backend_conn - Backend conn. success
          26         0.00         0.00 backend_fail - Backend conn. failures
     7225040    38.39 172.68 backend_reuse - Backend conn. reuses
        5810         0.00         0.14 backend_toolate - Backend conn. was
closed
     7230871    38.39 172.82 backend_recycle - Backend conn. recycles
     7192721    38.39 171.91 fetch_length - Fetch with Length
       38146         0.00         0.91 fetch_chunked - Fetch chunked
         431          .            .   n_sess_mem - N struct sess_mem
          39          .            .   n_sess - N struct sess
      583562          .            .   n_object - N struct object
      583738          .            .   n_objectcore - N struct objectcore
      595457          .            .   n_objecthead - N struct objecthead
        9610          .            .   n_waitinglist - N struct waitinglist
          22          .            .   n_vbc - N struct vbc
        1000          .            .   n_wrk - N worker threads
        1000         0.00         0.02 n_wrk_create - N worker threads
created
          28         0.00         0.00 n_wrk_queued - N queued work requests
           4          .            .   n_backend - N backends
       10609          .            .   n_expired - N expired objects
     6631682          .            .   n_lru_nuked - N LRU nuked objects
      426916          .            .   n_lru_moved - N LRU moved objects
    10348344    83.85 247.33 n_objwrite - Objects sent with write
      420498        17.17        10.05 s_sess - Total Sessions
    10210075    83.85 244.02 s_req - Total Requests
        5014         1.01         0.12 s_pass - Total pass
     7230867    38.39 172.82 s_fetch - Total fetch
  2945392448     23715.74     70394.89 s_hdrbytes - Total header bytes
 82769021882    721855.66   1978179.82 s_bodybytes - Total body bytes
      315656        16.16         7.54 sess_closed - Session Closed
    10189788    67.69 243.54 sess_linger - Session Linger
     1036235        24.25        24.77 sess_herd - Session herd
   587715869      4231.96     14046.41 shm_records - SHM records
    27056594   243.47 646.65 shm_writes - SHM writes
          90         0.00         0.00 shm_flushes - SHM flushes due to
overflow
        5354         0.00         0.13 shm_cont - SHM MTX contention
         206         0.00         0.00 shm_cycles - SHM cycles through
buffer
       19939        16.16         0.48 sms_nreq - SMS allocator requests
     7860413          .            .   sms_balloc - SMS bytes allocated
     7860413          .            .   sms_bfree - SMS bytes freed
     7230872    38.39 172.82 backend_req - Backend requests made
           1         0.00         0.00 n_vcl - N vcl total
           1         0.00         0.00 n_vcl_avail - N vcl available
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130320/68439ba2/attachment-0001.html>


More information about the varnish-misc mailing list