backend max_connections

Per Buer perbu at varnish-software.com
Tue Dec 21 12:38:35 CET 2010


Hi Håvard, Thomas,

On Tue, Dec 21, 2010 at 11:46 AM, Håvard Futsæter <havardf at met.no> wrote:

> I have been wondering about the same thing. Anyone who can help?
>
> ----- Original Message -----
> > Hi all,
> >
> > documentation is a bit terse about the max_connection parameter for
> > backend declarations.
> > I can't seem to find anything about what exactly is going to happen at
> > the frontend side when concurrent backend connections are maxed out.
> >
> > My guess is that the client will either receive a 503 error or a stale
> > object will be served, depending on the grace time.
> >
> > Am I right or wrong?
>

You get an error. You could handle it in vcl_error if you'd like to. If
you're using saint mode a stale object might be served.


Per.

Top-quoting is, uhm, not good.

-- 
Per Buer, Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
Varnish makes websites fly!
Want to learn more about Varnish?
http://www.varnish-software.com/whitepapers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101221/7d996829/attachment-0003.html>


More information about the varnish-misc mailing list