[Varnish] #275: Varnish child stops responding
Varnish
varnish-bugs at projects.linpro.no
Thu Jul 17 12:17:58 CEST 2008
#275: Varnish child stops responding
---------------------------------+------------------------------------------
Reporter: chenxy | Owner: phk
Type: defect | Status: new
Priority: high | Milestone: Varnish 2.0 code complete
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: Varnish child stuck |
---------------------------------+------------------------------------------
Comment (by chenxy):
Thanks for response!!
I see something like wichert's report..."The observed symptoms were
varnish eating 100% CPU time and not responding to requests at all"
.[[BR]]
I write a program for debug today. [[BR]]
It checks varnishstat's data and netstat's status. It gets data every two
seconds.
program:
{{{
#!/bin/sh
#
# $Id: Check Varnish.in,v 0.1 2008/07/17 14:20:36 $
logdir=/usr/home/xiaoyong
while : ; do
echo "Startup: `date`">>$logdir/check.out
echo "Running: ">>$logdir/check.out
echo "varnishstat -1">>$logdir/check.out 2>&1
varnishstat -1 >>$logdir/check.out 2>&1
echo
"---------------------------------------------">>$logdir/check.out
echo "netstat -na >netstat_na.tmp 2>&1">>$logdir/check.out
netstat -na >$logdir/netstat_na.tmp 2>&1
echo "cat netstat_na.tmp|grep 'tcp'|wc -l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'tcp'|wc -l >> $logdir/check.out
2>&1
echo "cat netstat_na.tmp|grep 'LISTEN'|wc -l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'LISTEN'|wc -l >>
$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'SYN_RCVD'|wc -l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'SYN_RCVD'|wc -l
>>$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'ESTABLISHED'|wc
-l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'ESTABLISHED'|wc -l
>>$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'CLOSE_WAIT'|wc
-l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'CLOSE_WAIT'|wc -l
>>$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'LAST_ACK'|wc -l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'LAST_ACK'|wc -l >>
$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'FIN_WAIT_1'|wc
-l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'FIN_WAIT_1'|wc -l
>>$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'FIN_WAIT_2'|wc
-l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'FIN_WAIT_2'|wc -l
>>$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'CLOSING'|wc -l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'CLOSING'|wc -l
>>$logdir/check.out 2>&1
echo "cat netstat_na.tmp|grep 'TIME_WAIT'|wc
-l">>$logdir/check.out
cat $logdir/netstat_na.tmp|grep 'TIME_WAIT'|wc -l
>>$logdir/check.out 2>&1
echo
"---------------------------------------------">>$logdir/check.out
echo "Stop: `date`" >>$logdir/check.out
sleep 2
done
}}}
I see varnish child stunk again today. please see messages log
messages:
{{{
Jul 17 16:21:58 236-25 varnishd[19424]: Child (49408) not responding to
ping, killing it.
Jul 17 16:21:58 236-25 varnishd[19424]: Child (49408) not responding to
ping, killing it.
Jul 17 16:21:58 236-25 varnishd[19424]: child (69563) Started
Jul 17 16:21:59 236-25 varnishd[19424]: Child (69563) said Closed fds: 7 8
11 12 14 15
Jul 17 16:21:59 236-25 varnishd[19424]: Child (69563) said Child starts
Jul 17 16:21:59 236-25 varnishd[19424]: Child (69563) said managed to mmap
17179869184 bytes of 17179869184
Jul 17 16:21:59 236-25 varnishd[19424]: Child (69563) said Ready
}}}
now,please see check.out file.[[BR]]
please see these lines:[[BR]]
'''Stop: Thu Jul 17 16:21:30 CST 2008''' [[BR]]
'''Startup: Thu Jul 17 16:21:58 CST 2008''' [[BR]]
varnishd block 20-30 seconds?! It uses cpu time about 20-30 seconds ?
check.out:
{{{
......
Startup: Thu Jul 17 16:21:25 CST 2008
Running:
varnishstat -1
client_conn 2734292 226.18 Client connections accepted
client_req 12120889 1002.64 Client requests received
cache_hit 11890628 983.59 Cache hits
cache_hitpass 0 0.00 Cache hits for pass
cache_miss 229800 19.01 Cache misses
backend_conn 229800 19.01 Backend connections success
backend_fail 0 0.00 Backend connections failures
backend_reuse 229180 18.96 Backend connections reuses
backend_recycle 229383 18.97 Backend connections recycles
backend_unused 0 0.00 Backend connections unused
n_srcaddr 3008 . N struct srcaddr
n_srcaddr_act 959 . N active struct srcaddr
n_sess_mem 3574 . N struct sess_mem
n_sess 2457 . N struct sess
n_object 178395 . N struct object
n_objecthead 178307 . N struct objecthead
n_smf 356462 . N struct smf
n_smf_frag 16 . N small free smf
n_smf_large 1 . N large free smf
n_vbe_conn 13 . N struct vbe_conn
n_bereq 59 . N struct bereq
n_wrk 0 . N worker threads
n_wrk_create 281 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 0 0.00 N overflowed work requests
n_wrk_drop 0 0.00 N dropped work requests
n_backend 2 . N backends
n_expired 51683 . N expired objects
n_lru_nuked 0 . N LRU nuked objects
n_lru_saved 0 . N LRU saved objects
n_lru_moved 104388 . 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 4742690 392.31 Objects sent with write
n_objoverflow 0 0.00 Objects overflowing workspace
s_sess 2733858 226.14 Total Sessions
s_req 12120922 1002.64 Total Requests
s_pipe 0 0.00 Total pipe
s_pass 0 0.00 Total pass
s_fetch 229797 19.01 Total fetch
s_hdrbytes 2897869511 239711.27 Total header bytes
s_bodybytes 29738672798 2459977.90 Total body bytes
sess_closed 124542 10.30 Session Closed
sess_pipeline 628 0.05 Session Pipeline
sess_readahead 263 0.02 Session Read Ahead
sess_linger 0 0.00 Session Linger
sess_herd 12062626 997.82 Session herd
shm_records 438364349 36261.42 SHM records
shm_writes 32586430 2695.54 SHM writes
shm_flushes 341 0.03 SHM flushes due to overflow
shm_cont 40486 3.35 SHM MTX contention
sm_nreq 459796 38.03 allocator requests
sm_nobj 356439 . outstanding allocations
sm_balloc 4841578496 . bytes allocated
sm_bfree 63877898240 . 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 229800 19.01 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
---------------------------------------------
netstat -na >netstat_na.tmp 2>&1
cat netstat_na.tmp|grep 'tcp'|wc -l
9386
cat netstat_na.tmp|grep 'LISTEN'|wc -l
5
cat netstat_na.tmp|grep 'SYN_RCVD'|wc -l
230
cat netstat_na.tmp|grep 'ESTABLISHED'|wc -l
2320
cat netstat_na.tmp|grep 'CLOSE_WAIT'|wc -l
2
cat netstat_na.tmp|grep 'LAST_ACK'|wc -l
113
cat netstat_na.tmp|grep 'FIN_WAIT_1'|wc -l
831
cat netstat_na.tmp|grep 'FIN_WAIT_2'|wc -l
5462
cat netstat_na.tmp|grep 'CLOSING'|wc -l
2
cat netstat_na.tmp|grep 'TIME_WAIT'|wc -l
420
---------------------------------------------
Stop: Thu Jul 17 16:21:25 CST 2008
Startup: Thu Jul 17 16:21:27 CST 2008
Running:
varnishstat -1
client_conn 2734811 226.19 Client connections accepted
client_req 12123179 1002.66 Client requests received
cache_hit 11892890 983.62 Cache hits
cache_hitpass 0 0.00 Cache hits for pass
cache_miss 229828 19.01 Cache misses
backend_conn 229828 19.01 Backend connections success
backend_fail 0 0.00 Backend connections failures
backend_reuse 229208 18.96 Backend connections reuses
backend_recycle 229411 18.97 Backend connections recycles
backend_unused 0 0.00 Backend connections unused
n_srcaddr 3027 . N struct srcaddr
n_srcaddr_act 979 . N active struct srcaddr
n_sess_mem 3574 . N struct sess_mem
n_sess 2506 . N struct sess
n_object 178414 . N struct object
n_objecthead 178323 . N struct objecthead
n_smf 356500 . N struct smf
n_smf_frag 15 . N small free smf
n_smf_large 1 . N large free smf
n_vbe_conn 13 . N struct vbe_conn
n_bereq 59 . N struct bereq
n_wrk 0 . N worker threads
n_wrk_create 281 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 0 0.00 N overflowed work requests
n_wrk_drop 0 0.00 N dropped work requests
n_backend 2 . N backends
n_expired 51691 . N expired objects
n_lru_nuked 0 . N LRU nuked objects
n_lru_saved 0 . N LRU saved objects
n_lru_moved 104413 . 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 4743582 392.32 Objects sent with write
n_objoverflow 0 0.00 Objects overflowing workspace
s_sess 2734367 226.15 Total Sessions
s_req 12123210 1002.66 Total Requests
s_pipe 0 0.00 Total pipe
s_pass 0 0.00 Total pass
s_fetch 229823 19.01 Total fetch
s_hdrbytes 2898417011 239716.90 Total header bytes
s_bodybytes 29743733127 2459989.51 Total body bytes
sess_closed 124567 10.30 Session Closed
sess_pipeline 628 0.05 Session Pipeline
sess_readahead 263 0.02 Session Read Ahead
sess_linger 0 0.00 Session Linger
sess_herd 12064901 997.84 Session herd
shm_records 438446414 36262.21 SHM records
shm_writes 32592493 2695.60 SHM writes
shm_flushes 341 0.03 SHM flushes due to overflow
shm_cont 40492 3.35 SHM MTX contention
sm_nreq 459851 38.03 allocator requests
sm_nobj 356478 . outstanding allocations
sm_balloc 4842508288 . bytes allocated
sm_bfree 63876968448 . 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 229828 19.01 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
---------------------------------------------
netstat -na >netstat_na.tmp 2>&1
cat netstat_na.tmp|grep 'tcp'|wc -l
9473
cat netstat_na.tmp|grep 'LISTEN'|wc -l
5
cat netstat_na.tmp|grep 'SYN_RCVD'|wc -l
221
cat netstat_na.tmp|grep 'ESTABLISHED'|wc -l
2368
cat netstat_na.tmp|grep 'CLOSE_WAIT'|wc -l
1
cat netstat_na.tmp|grep 'LAST_ACK'|wc -l
98
cat netstat_na.tmp|grep 'FIN_WAIT_1'|wc -l
837
cat netstat_na.tmp|grep 'FIN_WAIT_2'|wc -l
5462
cat netstat_na.tmp|grep 'CLOSING'|wc -l
2
cat netstat_na.tmp|grep 'TIME_WAIT'|wc -l
477
---------------------------------------------
Stop: Thu Jul 17 16:21:27 CST 2008
Startup: Thu Jul 17 16:21:30 CST 2008
Running:
varnishstat -1
client_conn 2735317 226.17 Client connections accepted
client_req 12125574 1002.61 Client requests received
cache_hit 11895258 983.57 Cache hits
cache_hitpass 0 0.00 Cache hits for pass
cache_miss 229855 19.01 Cache misses
backend_conn 229855 19.01 Backend connections success
backend_fail 0 0.00 Backend connections failures
backend_reuse 229235 18.95 Backend connections reuses
backend_recycle 229438 18.97 Backend connections recycles
backend_unused 0 0.00 Backend connections unused
n_srcaddr 3043 . N struct srcaddr
n_srcaddr_act 983 . N active struct srcaddr
n_sess_mem 3574 . N struct sess_mem
n_sess 2536 . N struct sess
n_object 178422 . N struct object
n_objecthead 178332 . N struct objecthead
n_smf 356528 . N struct smf
n_smf_frag 27 . N small free smf
n_smf_large 1 . N large free smf
n_vbe_conn 13 . N struct vbe_conn
n_bereq 59 . N struct bereq
n_wrk 0 . N worker threads
n_wrk_create 281 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 0 0.00 N overflowed work requests
n_wrk_drop 0 0.00 N dropped work requests
n_backend 2 . N backends
n_expired 51710 . N expired objects
n_lru_nuked 0 . N LRU nuked objects
n_lru_saved 0 . N LRU saved objects
n_lru_moved 104460 . 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 4744498 392.30 Objects sent with write
n_objoverflow 0 0.00 Objects overflowing workspace
s_sess 2734865 226.13 Total Sessions
s_req 12125609 1002.61 Total Requests
s_pipe 0 0.00 Total pipe
s_pass 0 0.00 Total pass
s_fetch 229851 19.01 Total fetch
s_hdrbytes 2898989553 239704.78 Total header bytes
s_bodybytes 29749433848 2459850.66 Total body bytes
sess_closed 124591 10.30 Session Closed
sess_pipeline 628 0.05 Session Pipeline
sess_readahead 263 0.02 Session Read Ahead
sess_linger 0 0.00 Session Linger
sess_herd 12067284 997.79 Session herd
shm_records 438532393 36260.33 SHM records
shm_writes 32598768 2695.45 SHM writes
shm_flushes 341 0.03 SHM flushes due to overflow
shm_cont 40495 3.35 SHM MTX contention
sm_nreq 459905 38.03 allocator requests
sm_nobj 356494 . outstanding allocations
sm_balloc 4843315200 . bytes allocated
sm_bfree 63876161536 . 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 229855 19.01 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
---------------------------------------------
netstat -na >netstat_na.tmp 2>&1
cat netstat_na.tmp|grep 'tcp'|wc -l
9520
cat netstat_na.tmp|grep 'LISTEN'|wc -l
5
cat netstat_na.tmp|grep 'SYN_RCVD'|wc -l
252
cat netstat_na.tmp|grep 'ESTABLISHED'|wc -l
2399
cat netstat_na.tmp|grep 'CLOSE_WAIT'|wc -l
1
cat netstat_na.tmp|grep 'LAST_ACK'|wc -l
94
cat netstat_na.tmp|grep 'FIN_WAIT_1'|wc -l
846
cat netstat_na.tmp|grep 'FIN_WAIT_2'|wc -l
5449
cat netstat_na.tmp|grep 'CLOSING'|wc -l
2
cat netstat_na.tmp|grep 'TIME_WAIT'|wc -l
471
---------------------------------------------
Stop: Thu Jul 17 16:21:30 CST 2008
Startup: Thu Jul 17 16:21:58 CST 2008
Running:
varnishstat -1
client_conn 2745062 226.45 Client connections accepted
client_req 12143425 1001.77 Client requests received
cache_hit 11912859 982.75 Cache hits
cache_hitpass 0 0.00 Cache hits for pass
cache_miss 230047 18.98 Cache misses
backend_conn 229967 18.97 Backend connections success
backend_fail 0 0.00 Backend connections failures
backend_reuse 229312 18.92 Backend connections reuses
backend_recycle 229504 18.93 Backend connections recycles
backend_unused 0 0.00 Backend connections unused
n_srcaddr 3115 . N struct srcaddr
n_srcaddr_act 716 . N active struct srcaddr
n_sess_mem 3574 . N struct sess_mem
n_sess 3459 . N struct sess
n_object 178434 . N struct object
n_objecthead 178368 . N struct objecthead
n_smf 356578 . N struct smf
n_smf_frag 13 . N small free smf
n_smf_large 1 . N large free smf
n_vbe_conn 47 . N struct vbe_conn
n_bereq 59 . N struct bereq
n_wrk 0 . N worker threads
n_wrk_create 285 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 0 0.00 N overflowed work requests
n_wrk_drop 0 0.00 N dropped work requests
n_backend 2 . N backends
n_expired 51743 . N expired objects
n_lru_nuked 0 . N LRU nuked objects
n_lru_saved 0 . N LRU saved objects
n_lru_moved 104628 . 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 4751108 391.94 Objects sent with write
n_objoverflow 0 0.00 Objects overflowing workspace
s_sess 2738965 225.95 Total Sessions
s_req 12143265 1001.75 Total Requests
s_pipe 0 0.00 Total pipe
s_pass 0 0.00 Total pass
s_fetch 229918 18.97 Total fetch
s_hdrbytes 2903173195 239496.22 Total header bytes
s_bodybytes 29789221885 2457451.07 Total body bytes
sess_closed 124927 10.31 Session Closed
sess_pipeline 628 0.05 Session Pipeline
sess_readahead 263 0.02 Session Read Ahead
sess_linger 0 0.00 Session Linger
sess_herd 12084683 996.92 Session herd
shm_records 439170084 36229.18 SHM records
shm_writes 32656119 2693.95 SHM writes
shm_flushes 341 0.03 SHM flushes due to overflow
shm_cont 40535 3.34 SHM MTX contention
sm_nreq 460032 37.95 allocator requests
sm_nobj 356553 . outstanding allocations
sm_balloc 4844146688 . bytes allocated
sm_bfree 63875330048 . 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 229967 18.97 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
---------------------------------------------
netstat -na >netstat_na.tmp 2>&1
cat netstat_na.tmp|grep 'tcp'|wc -l
10565
cat netstat_na.tmp|grep 'LISTEN'|wc -l
5
cat netstat_na.tmp|grep 'SYN_RCVD'|wc -l
441
cat netstat_na.tmp|grep 'ESTABLISHED'|wc -l
1796
cat netstat_na.tmp|grep 'CLOSE_WAIT'|wc -l
487
cat netstat_na.tmp|grep 'LAST_ACK'|wc -l
92
cat netstat_na.tmp|grep 'FIN_WAIT_1'|wc -l
826
cat netstat_na.tmp|grep 'FIN_WAIT_2'|wc -l
5442
cat netstat_na.tmp|grep 'CLOSING'|wc -l
2
cat netstat_na.tmp|grep 'TIME_WAIT'|wc -l
368
---------------------------------------------
Stop: Thu Jul 17 16:21:58 CST 2008
Startup: Thu Jul 17 16:22:00 CST 2008
Running:
varnishstat -1
client_conn 811 811.00 Client connections accepted
client_req 1102 1102.00 Client requests received
cache_hit 703 703.00 Cache hits
cache_hitpass 0 0.00 Cache hits for pass
cache_miss 398 398.00 Cache misses
backend_conn 398 398.00 Backend connections success
backend_fail 0 0.00 Backend connections failures
backend_reuse 384 384.00 Backend connections reuses
backend_recycle 393 393.00 Backend connections recycles
backend_unused 0 0.00 Backend connections unused
n_srcaddr 413 . N struct srcaddr
n_srcaddr_act 408 . N active struct srcaddr
n_sess_mem 792 . N struct sess_mem
n_sess 792 . N struct sess
n_object 420 . N struct object
n_objecthead 419 . N struct objecthead
n_smf 818 . N struct smf
n_smf_frag 0 . N small free smf
n_smf_large 4 . N large free smf
n_vbe_conn 14 . N struct vbe_conn
n_bereq 11 . N struct bereq
n_wrk 0 . N worker threads
n_wrk_create 56 56.00 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 0 . N expired objects
n_lru_nuked 0 . N LRU nuked objects
n_lru_saved 0 . N LRU saved objects
n_lru_moved 0 . 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 362 362.00 Objects sent with write
n_objoverflow 0 0.00 Objects overflowing workspace
s_sess 769 769.00 Total Sessions
s_req 1085 1085.00 Total Requests
s_pipe 0 0.00 Total pipe
s_pass 0 0.00 Total pass
s_fetch 382 382.00 Total fetch
s_hdrbytes 245581 245581.00 Total header bytes
s_bodybytes 1753432 1753432.00 Total body bytes
sess_closed 11 11.00 Session Closed
sess_pipeline 0 0.00 Session Pipeline
sess_readahead 0 0.00 Session Read Ahead
sess_linger 0 0.00 Session Linger
sess_herd 1081 1081.00 Session herd
shm_records 52031 52031.00 SHM records
shm_writes 3095 3095.00 SHM writes
shm_flushes 0 0.00 SHM flushes due to overflow
shm_cont 5 5.00 SHM MTX contention
sm_nreq 814 814.00 allocator requests
sm_nobj 814 . outstanding allocations
sm_balloc 8380416 . bytes allocated
sm_bfree 68711096320 . 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 398 398.00 Backend requests made
n_vcl 1 1.00 N vcl total
n_vcl_avail 1 1.00 N vcl available
n_vcl_discard 0 0.00 N vcl discarded
---------------------------------------------
netstat -na >netstat_na.tmp 2>&1
cat netstat_na.tmp|grep 'tcp'|wc -l
9416
cat netstat_na.tmp|grep 'LISTEN'|wc -l
5
cat netstat_na.tmp|grep 'SYN_RCVD'|wc -l
456
cat netstat_na.tmp|grep 'ESTABLISHED'|wc -l
808
cat netstat_na.tmp|grep 'CLOSE_WAIT'|wc -l
0
cat netstat_na.tmp|grep 'LAST_ACK'|wc -l
114
cat netstat_na.tmp|grep 'FIN_WAIT_1'|wc -l
866
cat netstat_na.tmp|grep 'FIN_WAIT_2'|wc -l
5206
cat netstat_na.tmp|grep 'CLOSING'|wc -l
2
cat netstat_na.tmp|grep 'TIME_WAIT'|wc -l
1958
---------------------------------------------
Stop: Thu Jul 17 16:22:00 CST 2008
......
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/275#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list