[Varnish] #343: Varnish crashes frequently with restart in vcl_fetch
Varnish
varnish-bugs at projects.linpro.no
Fri Oct 3 09:18:55 CEST 2008
#343: Varnish crashes frequently with restart in vcl_fetch
----------------------+-----------------------------------------------------
Reporter: noah | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone: Varnish 2.0 release
Component: varnishd | Version: 2.0
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
This piece of code seems to be cause frequent crashes in both Varnish 2.0
beta 2 and -trunk from May 6th.
Removing it fixes the problem.
sub vcl_fetch {
# Restart failed requests (i.e: 5xx)
if (obj.status != 200 && obj.status != 301 && obj.status != 302 &&
obj.status != 403 && obj.status != 404) {
restart;
}
}
Unfortunately I don't have time to provide a backtrace at this moment.
I'm running on Linux 64-bit (Ubuntu Hardy) with a single Apache backend.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/343>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list