在目前的设置中,我们遇到了Varnish的一个问题,我们正在运行一个CentOS 5.7 x86_64 xenpv,Cpanel WHM托pipe在VPS.net上。
有时候我们会从Varnish那里接受Guru Meditation,当我们用varnishlog -d -c -m TxStatus:503它会返回类似如下的结果:
15 VCL_call c recv 15 VCL_acl c NO_MATCH devs 15 VCL_return c pass 15 VCL_call c hash 15 Hash c **** 15 Hash c ************* 15 VCL_return c hash 15 VCL_call c pass pass 15 Backend c 12 default default 15 TTL c 1835862523 RFC 0 -1 -1 1332454056 0 1332454055 375007920 0 15 VCL_call c fetch hit_for_pass 15 ObjProtocol c HTTP/1.1 15 ObjResponse c OK 15 ObjHeader c Date: Thu, 22 Mar 2012 22:07:35 GMT 15 ObjHeader c Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_fcgid/2.3.6 15 ObjHeader c X-Powered-By: PHP/5.3.9 15 ObjHeader c Expires: Thu, 19 Nov 1981 08:52:00 GMT 15 ObjHeader c Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 15 ObjHeader c Pragma: no-cache 15 ObjHeader c Content-Type: text/html; charset=utf-8 15 ObjHeader c X-Cacheable: NO:Cache-Control=private 15 FetchError c chunked read_error: 12 (Could not get storage) 15 VCL_call c error deliver 15 VCL_call c deliver deliver
据我所能收集,我们可以尝试增加nuke_limit,但目前我们有一个nuke_limit 500,当运行varnishstat -1 -f n_lru_nuked我们“只”得到总共1031,即使我们已经看到了错误发生在几个页面上。
当我们运行顶部来查看Varnish使用的内存量时,它只显示它正在使用763m,尽pipe我们已经设置允许使用1200m。
任何想法可以是什么问题?
“无法获得存储空间”向我暗示,Varnish无法存储您想要获取的对象。 你打了最大caching大小? 你能发表varnishstat的输出吗?