1

今晚我在日志中发现了一些奇怪的东西。毕竟,varnish 停止接受连接。我手动重启后,它开始正常运行。有人能告诉我会发生什么吗?谢谢!

Linux,2.6.32-5-amd64,x86_64,-smalloc,-smalloc,-hcritbit
varnish-3.0.4 revision 9f83e8f

Sep 18 03:04:49 m32 varnishd[31985]: Child (12939) not responding to CLI, killing it.
Sep 18 03:04:54 m32 varnishd[31985]: Child (12939) not responding to CLI, killing it.
Sep 18 03:04:54 m32 varnishd[31985]: Child (12939) not responding to CLI, killing it.
Sep 18 03:04:54 m32 varnishd[31985]: Child (12939) died signal=3
Sep 18 03:04:54 m32 varnishd[31985]: Child cleanup complete
Sep 18 03:04:54 m32 varnishd[31985]: child (19269) Started
Sep 18 03:05:04 m32 varnishd[31985]: Pushing vcls failed:#012CLI communication error (hdr)
Sep 18 03:05:04 m32 varnishd[31985]: Stopping Child
Sep 18 03:05:04 m32 varnishd[31985]: Child (19269) said Child starts
Sep 18 03:05:12 m32 varnishd[31985]: Child (19269) said Child dies
Sep 18 03:05:12 m32 varnishd[31985]: Child (19269) died status=1
Sep 18 03:05:12 m32 varnishd[31985]: Child cleanup complete
4

1 回答 1

0

此日志中的状态代码是 SIGHUP 和 SIGQUIT。这些信号通常与日志文件轮换有关。

Varnish 本身不写任何日志文件,所以这不是必需的。

我最好的猜测是您有一个日志轮换 cronjob 会杀死错误的进程。

于 2013-09-30T13:00:52.537 回答