Yeseterday我们经历了第一次使用清漆的段错误。我们运行varnish varnish-3.0.2一年没有任何问题+。
现在我们已更新到varnish-4.0.1并收到此错误:
Oct 5 18:42:03 xxxxxxxx kernel: [2123420.982139] varnishd[11453]: segfault at 40 ip 0000000000417a30 sp 00007f79c
d114190 error 4 in varnishd[400000+88000]
Oct 5 18:43:05 xxxxxxxx varnishd[10236]: Child (10240) not responding to CLI, killing it.
Oct 5 18:43:06 xxxxxxxx varnishd[10236]: Child (10240) not responding to CLI, killing it.
Oct 5 18:43:07 xxxxxxxx varnishd[10236]: Child (10240) died signal=11 (core dumped)
Oct 5 18:43:07xxxxxxxx varnishd[10236]: Child cleanup complete
Oct 5 18:43:07 xxxxxxxx varnishd[10236]: child (24567) Started
Oct 5 18:43:07 xxxxxxxx varnishd[10236]: Child (24567) said Child starts
我们已经读过人们在使用var vmod时遇到问题,但我们没有,我们仍然会遇到此错误。
继承人配置:
DAEMON_OPTS="-a :80 \
-T localhost:6082 \
-p thread_pool_add_delay=2 \
-p thread_pools=6 \
-p thread_pool_min=200 \
-p thread_pool_max=5000 \
-p thread_pool_add_delay=2 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s malloc,25G"
校正;我们的日志中出现了这个错误:
Oct 5 18:42:03 xxx xxx xxx kernel: [2123420.982139] varnishd[11453]: segfault at 40 ip 0000000000417a30 sp 00007f79cd114190 error 4 in varnishd[400000+88000]
Oct 5 18:43:05 xxx xxx xxx varnishd[10236]: Child (10240) not responding to CLI, killing it.
Oct 5 18:43:06 xxx xxx xxx varnishd[10236]: Child (10240) not responding to CLI, killing it.
Oct 5 18:43:07 xxx xxx xxx varnishd[10236]: Child (10240) died signal=11 (core dumped)
Oct 5 18:43:07 xxx xxx xxx varnishd[10236]: Child cleanup complete
Oct 5 18:43:07 xxx xxx xxx varnishd[10236]: child (24567) Started
Oct 5 18:43:07 xxx xxx xxx varnishd[10236]: Child (24567) said Child starts
Oct 5 18:43:27 xxx xxx xxx kernel: [2123504.480962] hrtimer: interrupt took 219959 ns
有人想知道为什么会出现这个问题吗?
祝你好运! /丹尼尔