今晚我在日志中发现了一些奇怪的东西。毕竟,清漆停止接受连接。手动重启后,它开始正常运行。有人可以告诉我发生了什么吗?谢谢!
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
答案 0 :(得分:0)
此日志中的状态代码为SIGHUP和SIGQUIT。这些信号通常与日志文件轮换有关。
Varnish本身不会写任何日志文件,所以这不是必需的。
我最好的猜测是你有一个日志旋转cronjob,可以杀死错误的进程。