Swapping & High Load

Sean Allen sean at monkeysnatchbanana.com
Wed Mar 20 14:29:12 CET 2013


On Wed, Mar 20, 2013 at 9:22 AM, Lasse Karstensen <
lkarsten at varnish-software.com> wrote:

> varnishstat -1


Nice. Thanks. Here you go:

client_conn           28048769       659.06 Client connections accepted
client_drop                  0         0.00 Connection dropped, no sess/wrk
client_req            56031540      1316.56 Client requests received
cache_hit             55584119      1306.05 Cache hits
cache_hitpass               17         0.00 Cache hits for pass
cache_miss              447078        10.50 Cache misses
backend_conn               520         0.01 Backend conn. success
backend_unhealthy            0         0.00 Backend conn. not attempted
backend_busy                 0         0.00 Backend conn. too many
backend_fail                27         0.00 Backend conn. failures
backend_reuse           439571        10.33 Backend conn. reuses
backend_toolate            482         0.01 Backend conn. was closed
backend_recycle         440069        10.34 Backend conn. recycles
backend_retry               19         0.00 Backend conn. retry
fetch_head                   0         0.00 Fetch head
fetch_length            440060        10.34 Fetch with Length
fetch_chunked                9         0.00 Fetch chunked
fetch_eof                    0         0.00 Fetch EOF
fetch_bad                    0         0.00 Fetch had bad headers
fetch_close                  0         0.00 Fetch wanted close
fetch_oldhttp                0         0.00 Fetch pre HTTP/1.1 closed
fetch_zero                   0         0.00 Fetch zero len
fetch_failed                 0         0.00 Fetch failed
fetch_1xx                    0         0.00 Fetch no body (1xx)
fetch_204                    0         0.00 Fetch no body (204)
fetch_304                    0         0.00 Fetch no body (304)
n_sess_mem                 127          .   N struct sess_mem
n_sess                      20          .   N struct sess
n_object                387181          .   N struct object
n_vampireobject              0          .   N unresurrected objects
n_objectcore            387215          .   N struct objectcore
n_objecthead            387247          .   N struct objecthead
n_waitinglist              348          .   N struct waitinglist
n_vbc                       16          .   N struct vbc
n_wrk                     1000          .   N worker threads
n_wrk_create              1000         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_lqueue                 0         0.00 work request queue length
n_wrk_queued                 1         0.00 N queued work requests
n_wrk_drop                   0         0.00 N dropped work requests
n_backend                    3          .   N backends
n_expired                52545          .   N expired objects
n_lru_nuked                  0          .   N LRU nuked objects
n_lru_moved           49646103          .   N LRU moved objects
losthdr                      0         0.00 HTTP header overflows
n_objsendfile                0         0.00 Objects sent with sendfile
n_objwrite            28054198       659.18 Objects sent with write
n_objoverflow                0         0.00 Objects overflowing workspace
s_sess                28048766       659.06 Total Sessions
s_req                 56031540      1316.56 Total Requests
s_pipe                       0         0.00 Total pipe
s_pass                     343         0.01 Total pass
s_fetch                 440069        10.34 Total fetch
s_hdrbytes         18085670561    424955.25 Total header bytes
s_bodybytes       203280131380   4776431.10 Total body bytes
sess_closed           28011785       658.19 Session Closed
sess_pipeline                0         0.00 Session Pipeline
sess_readahead               0         0.00 Session Read Ahead
sess_linger           56023162      1316.36 Session Linger
sess_herd               102158         2.40 Session herd
shm_records         2031807374     47740.96 SHM records
shm_writes           141221068      3318.24 SHM writes
shm_flushes                  0         0.00 SHM flushes due to overflow
shm_cont                  5219         0.12 SHM MTX contention
shm_cycles                 680         0.02 SHM cycles through buffer
sms_nreq                  8324         0.20 SMS allocator requests
sms_nobj                     0          .   SMS outstanding allocations
sms_nbytes                   0          .   SMS outstanding bytes
sms_balloc             3320554          .   SMS bytes allocated
sms_bfree              3320554          .   SMS bytes freed
backend_req             440091        10.34 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_ban                        1          .   N total active bans
n_ban_gone                   1          .   N total gone bans
n_ban_add                    1         0.00 N new bans added
n_ban_retire                 0         0.00 N old bans deleted
n_ban_obj_test               0         0.00 N objects tested
n_ban_re_test                0         0.00 N regexps tested against
n_ban_dups                   0         0.00 N duplicate bans removed
hcb_nolock            56031222      1316.55 HCB Lookups without lock
hcb_lock                425399        10.00 HCB Lookups with lock
hcb_insert              425399        10.00 HCB Inserts
esi_errors                   0         0.00 ESI parse errors (unlock)
esi_warnings                 0         0.00 ESI parse warnings (unlock)
accept_fail                  0         0.00 Accept failures
client_drop_late             0         0.00 Connection dropped late
uptime                   42559         1.00 Client uptime
dir_dns_lookups              0         0.00 DNS director lookups
dir_dns_failed               0         0.00 DNS director failed lookups
dir_dns_hit                  0         0.00 DNS director cached lookups hit
dir_dns_cache_full           0         0.00 DNS director full dnscache
vmods                        0          .   Loaded VMODs
n_gzip                       0         0.00 Gzip operations
n_gunzip                     0         0.00 Gunzip operations
LCK.sms.creat                1         0.00 Created locks
LCK.sms.destroy              0         0.00 Destroyed locks
LCK.sms.locks            24972         0.59 Lock Operations
LCK.sms.colls                0         0.00 Collisions
LCK.smp.creat                0         0.00 Created locks
LCK.smp.destroy              0         0.00 Destroyed locks
LCK.smp.locks                0         0.00 Lock Operations
LCK.smp.colls                0         0.00 Collisions
LCK.sma.creat                2         0.00 Created locks
LCK.sma.destroy              0         0.00 Destroyed locks
LCK.sma.locks           714028        16.78 Lock Operations
LCK.sma.colls                0         0.00 Collisions
LCK.smf.creat                0         0.00 Created locks
LCK.smf.destroy              0         0.00 Destroyed locks
LCK.smf.locks                0         0.00 Lock Operations
LCK.smf.colls                0         0.00 Collisions
LCK.hsl.creat                0         0.00 Created locks
LCK.hsl.destroy              0         0.00 Destroyed locks
LCK.hsl.locks                0         0.00 Lock Operations
LCK.hsl.colls                0         0.00 Collisions
LCK.hcb.creat                1         0.00 Created locks
LCK.hcb.destroy              0         0.00 Destroyed locks
LCK.hcb.locks           463854        10.90 Lock Operations
LCK.hcb.colls                0         0.00 Collisions
LCK.hcl.creat                0         0.00 Created locks
LCK.hcl.destroy              0         0.00 Destroyed locks
LCK.hcl.locks                0         0.00 Lock Operations
LCK.hcl.colls                0         0.00 Collisions
LCK.vcl.creat                1         0.00 Created locks
LCK.vcl.destroy              0         0.00 Destroyed locks
LCK.vcl.locks              869         0.02 Lock Operations
LCK.vcl.colls                0         0.00 Collisions
LCK.stat.creat               1         0.00 Created locks
LCK.stat.destroy             0         0.00 Destroyed locks
LCK.stat.locks        28048877       659.06 Lock Operations
LCK.stat.colls               0         0.00 Collisions
LCK.sessmem.creat            1         0.00 Created locks
LCK.sessmem.destroy            0         0.00 Destroyed locks
LCK.sessmem.locks       28296740       664.88 Lock Operations
LCK.sessmem.colls              0         0.00 Collisions
LCK.wstat.creat                1         0.00 Created locks
LCK.wstat.destroy              0         0.00 Destroyed locks
LCK.wstat.locks            84726         1.99 Lock Operations
LCK.wstat.colls                0         0.00 Collisions
LCK.herder.creat               1         0.00 Created locks
LCK.herder.destroy             0         0.00 Destroyed locks
LCK.herder.locks               1         0.00 Lock Operations
LCK.herder.colls               0         0.00 Collisions
LCK.wq.creat                   2         0.00 Created locks
LCK.wq.destroy                 0         0.00 Destroyed locks
LCK.wq.locks            56313822      1323.19 Lock Operations
LCK.wq.colls                   0         0.00 Collisions
LCK.objhdr.creat          425433        10.00 Created locks
LCK.objhdr.destroy         38186         0.90 Destroyed locks
LCK.objhdr.locks       224254162      5269.25 Lock Operations
LCK.objhdr.colls               0         0.00 Collisions
LCK.exp.creat                  1         0.00 Created locks
LCK.exp.destroy                0         0.00 Destroyed locks
LCK.exp.locks             535266        12.58 Lock Operations
LCK.exp.colls                  0         0.00 Collisions
LCK.lru.creat                  2         0.00 Created locks
LCK.lru.destroy                0         0.00 Destroyed locks
LCK.lru.locks             440745        10.36 Lock Operations
LCK.lru.colls                  0         0.00 Collisions
LCK.cli.creat                  1         0.00 Created locks
LCK.cli.destroy                0         0.00 Destroyed locks
LCK.cli.locks              14157         0.33 Lock Operations
LCK.cli.colls                  0         0.00 Collisions
LCK.ban.creat                  1         0.00 Created locks
LCK.ban.destroy                0         0.00 Destroyed locks
LCK.ban.locks             534216        12.55 Lock Operations
LCK.ban.colls                  0         0.00 Collisions
LCK.vbp.creat                  1         0.00 Created locks
LCK.vbp.destroy                0         0.00 Destroyed locks
LCK.vbp.locks              25070         0.59 Lock Operations
LCK.vbp.colls                  0         0.00 Collisions
LCK.vbe.creat                  1         0.00 Created locks
LCK.vbe.destroy                0         0.00 Destroyed locks
LCK.vbe.locks               1078         0.03 Lock Operations
LCK.vbe.colls                  0         0.00 Collisions
LCK.backend.creat              3         0.00 Created locks
LCK.backend.destroy            0         0.00 Destroyed locks
LCK.backend.locks         881747        20.72 Lock Operations
LCK.backend.colls              0         0.00 Collisions
SMA.s0.c_req              645811        15.17 Allocator requests
SMA.s0.c_fail                  0         0.00 Allocator failures
SMA.s0.c_bytes        1968349000     46249.89 Bytes allocated
SMA.s0.c_freed         335207639      7876.30 Bytes freed
SMA.s0.g_alloc            578975          .   Allocations outstanding
SMA.s0.g_bytes        1633141361          .   Bytes outstanding
SMA.s0.g_space        1588084111          .   Bytes available
SMA.Transient.c_req          686         0.02 Allocator requests
SMA.Transient.c_fail           0         0.00 Allocator failures
SMA.Transient.c_bytes      2793980        65.65 Bytes allocated
SMA.Transient.c_freed      2793980        65.65 Bytes freed
SMA.Transient.g_alloc            0          .   Allocations outstanding
SMA.Transient.g_bytes            0          .   Bytes outstanding
SMA.Transient.g_space            0          .   Bytes available
VBE.job_1(192.168.0.13,,8080).vcls            1          .   VCL references
VBE.job_1(192.168.0.13,,8080).happy           0          .   Happy health
probes
VBE.job_2(192.168.0.14,,8080).vcls            1          .   VCL references
VBE.job_2(192.168.0.14,,8080).happy18446744073709551615          .   Happy
health probes
VBE.job_3(192.168.0.43,,8080).vcls            1          .   VCL references
VBE.job_3(192.168.0.43,,8080).happy18446744073709551615          .   Happy
health probes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130320/b49ef05c/attachment-0001.html>


More information about the varnish-misc mailing list