503 errors that are not backend timeouts? ( Wordpress )
Kervin L. Pierre
kervin at adevsoft.com
Sat Jul 28 21:05:41 CEST 2012
Hi Daniel,
Thanks for the link. I actually ran into this ticket earlier put didn't read it in detail. And you're right, this is the issue I'm facing, thanks!
It's disappointing to see the bug was closed as 'invalid' though. This seems to be a potentially very common bug. I'm not doing anything 'exotic' in this install. And the workaround seems to be "don't let varnish touch HTTP POSTs".
But at any rate, I will try piping all POSTs as the you suggested.
Best regards,
Kervin
Adevsoft Inc
Business Software Development
http://adevsoft.com/
> -----Original Message-----
> From: Daniel Carrillo [mailto:daniel.carrillo at gmail.com]
> Sent: Saturday, July 28, 2012 5:57 AM
> To: Kervin L. Pierre
> Cc: varnish-misc at varnish-cache.org
> Subject: Re: 503 errors that are not backend timeouts? ( Wordpress )
>
> 2012/7/27 Kervin L. Pierre <kervin at adevsoft.com>:
> > I have a Wordpress install that gets occasional 503 errors on HTTP
> POST urls. And I need to find out what's causing these. Any help in
> tracking those down would be appreciated.
> >
> > Looking at my logs I can see that the 503 errors are not timeouts.
> I've got the backend timeouts set to 5 minutes and Varnish log shows
> the 503 errors being sent between 5 to 40 seconds into the script run.
> >
> > Can anyone tell me why Varnish would return a 503 error to the client
> > besides after a backend timeout? ( HTTP GETs are not affected )
>
> It sounds like this ticket:
>
> https://www.varnish-cache.org/trac/ticket/849
>
> The workaround is "piping" POST request, and wait an implementation
> which buffers the request-body.
>
> Hope this helps.
More information about the varnish-misc
mailing list