Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Segmentation fault 清漆4.0.1因未知原因出现故障_Segmentation Fault_Varnish_Child Process - Fatal编程技术网

Segmentation fault 清漆4.0.1因未知原因出现故障

Segmentation fault 清漆4.0.1因未知原因出现故障,segmentation-fault,varnish,child-process,Segmentation Fault,Varnish,Child Process,昨天我们经历了第一次清漆故障。我们运行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:4

昨天我们经历了第一次清漆故障。我们运行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
有人知道为什么会发生这个问题吗

致以最良好的祝愿!
/Daniel

您是否升级了V4的VCL语法?您的VCL中是否有内联C?这是在OpenVZ容器上运行的吗?除此之外,很难说。:-是的,我们做到了。不,我们不使用任何内联C,任何vmod都不接受std库。没有,但是我们在VMware上运行服务器,我们的操作系统是ubuntu 12.04。是的,这个问题很奇怪!和varnish irc上的某个家伙谈过,他建议升级到varnish 4.0.2,但还没有时间这么做……这是源代码吗?如果是,您是否更新了build essential以及编译代码所需的任何其他内容?很抱歉提出这些明显的问题-清漆的稳定性是出了名的!:-不是,我们不是从源代码处编译的。哈哈,没关系,谢谢你的提问!!:-是的,我同意,它是如此稳定,所以这个问题对我来说真的是一个惊喜!好吧,我被难住了。在源代码调试之前,您可能会有一个漫长的夜晚-