[Varnish] #1054: Child not responding to CLI, killing it

Varnish varnish-bugs at varnish-cache.org
Thu Nov 10 13:32:28 CET 2011


#1054: Child not responding to CLI, killing it
----------------------+-----------------------------------------------------
 Reporter:  scorillo  |        Type:  defect  
   Status:  new       |    Priority:  normal  
Milestone:            |   Component:  varnishd
  Version:  3.0.2     |    Severity:  normal  
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by scorillo):

 This is the only varnish3 instance that we have and the only instance of
 varnish running on Centos6.

 We have 9 other instances of varnish2 (2.1.2) running on Centos5.4, using
 the same parameters.
 These varnish2 instances are working fine (uptime               36824261
 1.00 Client uptime).

 May the 'n_wrk_max' be a problem?
 n_wrk_max               301076       108.22 N worker threads limited

 On varnish2 instances, this counter is zero.


 The requested information follows:

 /usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f
 /etc/varnish/default.vcl -T 127.0.0.1:6082 -t 120 -w 200,4000,120 -u
 varnish -g varnish -S /etc/varnish/secret -s malloc,2G -h classic,500009
 -p lru_interval 20, -p listen_depth 4096, -p sess_workspace 262144



 client_conn               3618         1.30 Client connections accepted
 client_drop                  0         0.00 Connection dropped, no
 sess/wrk
 client_req                3618         1.30 Client requests received
 cache_hit                 1774         0.64 Cache hits
 cache_hitpass                0         0.00 Cache hits for pass
 cache_miss                1844         0.66 Cache misses
 backend_conn              1840         0.66 Backend conn. success
 backend_unhealthy            0         0.00 Backend conn. not attempted
 backend_busy                 0         0.00 Backend conn. too many
 backend_fail                 4         0.00 Backend conn. failures
 backend_reuse                0         0.00 Backend conn. reuses
 backend_toolate              0         0.00 Backend conn. was closed
 backend_recycle              0         0.00 Backend conn. recycles
 backend_retry                0         0.00 Backend conn. retry
 fetch_head                   0         0.00 Fetch head
 fetch_length              1840         0.66 Fetch with Length
 fetch_chunked                0         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                  25          .   N struct sess_mem
 n_sess                       0          .   N struct sess
 n_object                  1823          .   N struct object
 n_vampireobject              0          .   N unresurrected objects
 n_objectcore              1838          .   N struct objectcore
 n_objecthead              1838          .   N struct objecthead
 n_waitinglist               22          .   N struct waitinglist
 n_vbc                        0          .   N struct vbc
 n_wrk                       60          .   N worker threads
 n_wrk_create                71         0.03 N worker threads created
 n_wrk_failed                 0         0.00 N worker threads not created
 n_wrk_max               301076       108.22 N worker threads limited
 n_wrk_lqueue                 0         0.00 work request queue length
 n_wrk_queued                 0         0.00 N queued work requests
 n_wrk_drop                   0         0.00 N dropped work requests
 n_backend                    2          .   N backends
 n_expired                   17          .   N expired objects
 n_lru_nuked                  0          .   N LRU nuked objects
 n_lru_moved               1571          .   N LRU moved objects
 losthdr                      0         0.00 HTTP header overflows
 n_objsendfile                0         0.00 Objects sent with sendfile
 n_objwrite                3152         1.13 Objects sent with write
 n_objoverflow                0         0.00 Objects overflowing workspace
 s_sess                    3618         1.30 Total Sessions
 s_req                     3618         1.30 Total Requests
 s_pipe                       0         0.00 Total pipe
 s_pass                       0         0.00 Total pass
 s_fetch                   1840         0.66 Total fetch
 s_hdrbytes             1271298       456.97 Total header bytes
 s_bodybytes           17115442      6152.21 Total body bytes
 sess_closed               3599         1.29 Session Closed
 sess_pipeline                0         0.00 Session Pipeline
 sess_readahead               0         0.00 Session Read Ahead
 sess_linger                 34         0.01 Session Linger
 sess_herd                   19         0.01 Session herd
 shm_records             237082        85.22 SHM records
 shm_writes               20696         7.44 SHM writes
 shm_flushes                  0         0.00 SHM flushes due to overflow
 shm_cont                    56         0.02 SHM MTX contention
 shm_cycles                   0         0.00 SHM cycles through buffer
 sms_nreq                     4         0.00 SMS allocator requests
 sms_nobj                     0          .   SMS outstanding allocations
 sms_nbytes                   0          .   SMS outstanding bytes
 sms_balloc                1672          .   SMS bytes allocated
 sms_bfree                 1672          .   SMS bytes freed
 backend_req               1840         0.66 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_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                   0         0.00 HCB Lookups without lock
 hcb_lock                     0         0.00 HCB Lookups with lock
 hcb_insert                   0         0.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                    2782         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               12         0.00 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             3722         1.34 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                0         0.00 Created locks
 LCK.hcb.destroy              0         0.00 Destroyed locks
 LCK.hcb.locks                0         0.00 Lock Operations
 LCK.hcb.colls                0         0.00 Collisions
 LCK.hcl.creat           500009       179.73 Created locks
 LCK.hcl.destroy              0         0.00 Destroyed locks
 LCK.hcl.locks             5413         1.95 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               24         0.01 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              25         0.01 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           3883         1.40 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             8353         3.00 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                  12         0.00 Created locks
 LCK.wq.destroy                 0         0.00 Destroyed locks
 LCK.wq.locks               40571        14.58 Lock Operations
 LCK.wq.colls                   0         0.00 Collisions
 LCK.objhdr.creat            1859         0.67 Created locks
 LCK.objhdr.destroy            21         0.01 Destroyed locks
 LCK.objhdr.locks           10933         3.93 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               5135         1.85 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               2341         0.84 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                940         0.34 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               4640         1.67 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                561         0.20 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               3688         1.33 Lock Operations
 LCK.vbe.colls                  0         0.00 Collisions
 LCK.backend.creat              2         0.00 Created locks
 LCK.backend.destroy            0         0.00 Destroyed locks
 LCK.backend.locks           7376         2.65 Lock Operations
 LCK.backend.colls              0         0.00 Collisions
 SMA.s0.c_req                3650         1.31 Allocator requests
 SMA.s0.c_fail                  0         0.00 Allocator failures
 SMA.s0.c_bytes          14001522      5032.90 Bytes allocated
 SMA.s0.c_freed            136448        49.05 Bytes freed
 SMA.s0.g_alloc              3646          .   Allocations outstanding
 SMA.s0.g_bytes          13865074          .   Bytes outstanding
 SMA.s0.g_space        2133618574          .   Bytes available
 SMA.Transient.c_req           34         0.01 Allocator requests
 SMA.Transient.c_fail           0         0.00 Allocator failures
 SMA.Transient.c_bytes        77012        27.68 Bytes allocated
 SMA.Transient.c_freed        77012        27.68 Bytes freed
 SMA.Transient.g_alloc            0          .   Allocations outstanding
 SMA.Transient.g_bytes            0          .   Bytes outstanding
 SMA.Transient.g_space            0          .   Bytes available
 VBE.img_bal(172.27.101.150,,80).vcls            1          .   VCL
 references
 VBE.img_bal(172.27.101.150,,80).happy18446744073707452415          .
 Happy health probes
 VBE.img_oks9(172.27.101.159,,80).vcls           1          .   VCL
 references
 VBE.img_oks9(172.27.101.159,,80).happy 18446744073709551615          .
 Happy health probes

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1054#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list