Varnish 503ing on ~1/100 POSTs

Jonathan Hursey jonathan.hursey at adrevolution.com
Tue Apr 5 18:35:45 CEST 2011


Is there any good documentation out there on how to write inline C for
varnish ?

On Tue, Apr 5, 2011 at 10:49 AM, Ronan Mullally <ronan at iol.ie> wrote:

> Hi Sam,
>
> On Tue, 5 Apr 2011, Sam Crawford wrote:
>
> > I suspect you are right - Apache may be discarding the connection as you
> > are sending the POST request, resulting in the 503. Incidentally, what
> > are your Apache keep-alive settings? If I remember rightly, there is a
> > KeepAliveTimeout (which it sounds like you've been using) and also a
> > KeepAlive parameter (which controls the maximum number of requests on
> > one TCP connection, irrespective of timeouts).
>
> I've got the number of requests per session set high (thousands).  The
> number of actual back-end requests is modest (10-20 per back-end per
> second at most) so it won't hit that limit often.
>
> > 1) If you disable keepalives completely at Apache, does the problem
> > disappear?
>
> Not entirely.  I did this eariler in the process but still saw occurances
> (not as many as I saw with the Apache Keepalive timeout = 1, but not
> significantly fewer than when it was = 5 either).
>
> I've disabled keepalives again and will run with it that way overnight, so
> far it looks like more of the same - I've seen one occurance in about 2000
> POSTs.
>
>
> -Ronan
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110405/c41eb32c/attachment-0003.html>


More information about the varnish-misc mailing list