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

Varnish varnish-bugs at varnish-cache.org
Wed Jun 5 15:06:44 CEST 2013


#1054: Child not responding to CLI, killing it
---------------------------+-----------------------
 Reporter:  scorillo       |       Owner:  lkarsten
     Type:  defect         |      Status:  reopened
 Priority:  normal         |   Milestone:
Component:  documentation  |     Version:  3.0.2
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+-----------------------

Comment (by andrii.grytsenko):

 Hi,

 The problem is still exist, but now even worse, because every now and then
 child process is killed by parent and has not been re-spawned back.

 {{{
 May 26 05:01:49 proxy-001 varnishd[20918]: child (19143) Started
 May 26 05:01:49 proxy-001 varnishd[20918]: Child (19143) said Child starts
 May 26 05:02:17 proxy-001 varnishd[20918]: Child (19143) not responding to
 CLI, killing it.
 May 26 05:02:20 proxy-001 varnishd[20918]: Child (19143) not responding to
 CLI, killing it.
 May 26 05:02:20 proxy-001 varnishd[20918]: Child (19143) died signal=3
 May 26 05:02:20 proxy-001 varnishd[20918]: child (19977) Started
 May 26 05:02:30 proxy-001 varnishd[20918]: Pushing vcls failed:#012CLI
 communication error (hdr)
 May 26 05:02:30 proxy-001 varnishd[20918]: Child (19977) said Child starts
 May 26 05:02:35 proxy-001 varnishd[20918]: Child (19977) said Child dies
 May 26 05:02:35 proxy-001 varnishd[20918]: Child (19977) died status=1
 }}}

 port is 08 is not listened

 {{{
 PROD/root at proxy-001:~$ netstat -lnp |grep 80
 tcp        0      0 0.0.0.0:56806               0.0.0.0:*
 LISTEN      -
 }}}

 and only parent process is running

 {{{
 root     20918  0.0  0.0 110296  1084 ?        Ss   May16   0:00
 /usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f
 /etc/varnish/default.vcl -T 127.0.0.1:6082 -t 120 -w 400,1000,120 -u
 varnish -g varnish -s malloc,512M -h critbit -p thread_pools 2 -p
 thread_pool_add_delay 2 -p listen_depth 1024 -p session_linger 50 -p
 lru_interval 2 -p shm_reclen 255 -p sess_timeout 30
 }}}


 when stracing parent process it's doing nothing but waiting for some
 external event or something:

 {{{
 strace -f -p 20918
 Process 20918 attached - interrupt to quit
 poll([{fd=6, events=POLLIN}], 1, -1
 }}}

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




More information about the varnish-bugs mailing list