编辑:系统磁盘空间不足,因此编译器无法创建文件。varnishd 的输出不会告诉你这一点。
将在 6 小时后回答我自己。
我正在运行由主管控制的清漆。
清漆运行缓慢,当我使用主管重新启动清漆时没有进行任何更改。
但是重启失败,手动执行后
sbin/varnishd -F -f etc/varnish/ourconfig.vcl -a localhost -p thread_pool_min=10 -p thread_pool_max=50 -s malloc,250M
我收到以下错误
运行 VCC 编译器失败,退出 1
VCL 编译失败
而已。
这是我们的 vcl 文件:
backend default {
.host = "127.0.0.1";
.port = "8002";
.first_byte_timeout = 300s;
}
sub vcl_recv {
if (req.request == "BAN") {
ban("obj.http.X-Keywords ~ " + req.http.X-Ban-Keywords);
}
if (req.request != "GET" && req.request != "HEAD") {
return (pass);
}
// Remove has_js and Google Analytics __* cookies.
set …Run Code Online (Sandbox Code Playgroud)