unprocessed requests

Stig Sandbeck Mathisen ssm at linpro.no
Thu Apr 24 06:52:29 CEST 2008


On Wed, 23 Apr 2008 17:32:25 +0200, Wichert Akkerman <wichert at wiggy.net> said:

> We are seeing some very weird behaviour with requests that seem to
> be getting send to the backend server and returned to the browser
> without any VCL processing happening. I've submitted a ticket with
> all the information we have at
> http://varnish.projects.linpro.no/ticket/232 .

Try changing:

,----
| if (req.request != "GET" && req.request != "HEAD") {
|         pipe;
| }
`----

to

,----
| if (req.request != "GET" && req.request != "HEAD") {
|         set req.http.connection = "close";
|         pipe;
| }
`----

Do this for all "pipe;"'s in your vcl.

If one request goes is directed to "pipe", and the connection is kept
open, other requests will go through the same connection without being
inspected touched by varnish.  This is especially visible after a
login in zope (or plone), which is done via the POST method.

The "zope-plone" example VCL does not reflect this, unfortunately.

> I'm a bit at a loss how to debug this further. Is there something we
> can take a look at? Unfortunately I do not have root access to the
> relevant machines, so I can not get a network dump.

As a non-privileged user, you may still have access to run
"varnishlog", to see details of your client and backend traffic, as
well as what happens with your request through VCL.

-- 
Stig Sandbeck Mathisen, Linpro



More information about the varnish-misc mailing list