503 Error was met frequently

Shaohui Zheng shaohui.zheng at gmail.com
Sat Jan 12 16:45:28 CET 2013


Thanks Dridi Boukelmoune.

In my oppion, if the varnish is not the botterneck, it can take more
backends.

I set 8 backends, and it seems works.

And more, I see many connection failed in my varnishstat
 2277628         0.00        67.73 backend_fail - Backend conn. failures

After use ulimit to change configure, the issue was fixed.

On Fri, Jan 11, 2013 at 4:03 PM, Dridi Boukelmoune <
dridi.boukelmoune at zenika.com> wrote:

> Hi,
>
> About the 5 backends limit, you might be interested by this link:
> https://www.varnish-cache.org/docs/trunk/phk/backends.html
>
> PHK basically states that 1000 backends is not an unreasonable number.
>
> I assume that backends are limited according to available resources
> and other factors that can't be established without proper
> measurements.
>
> Best regards,
> Dridi
>
> On Fri, Jan 11, 2013 at 4:24 AM, Shaohui Zheng <shaohui.zheng at gmail.com>
> wrote:
> > I refers other people's configure file on internet, it seems that it is
> out
> > of date :).
> >
> > the command varnishlog -b -i TxURL is a great for debugging.
> >
> > Thanks Rangel Raul & Peter Jacobs.
> >
> > the new VCL configure file works well, and the 503 error has been gone.
> >
> > You guys really solve me a big problem.
> >
> > I have other question, I know many people select LVS(Linux Virtual
> Server),
> > but I prefer Varnish. I hear from some guys said Varnish can only take 3
> ~ 5
> > backends, if it takes more backends, the performance will downgrade too
> > much. Do you have some experience? how many backends can varnish maintain
> > with best performance,  just according to the experience.
> >
> >
> > I already have 5 backends according to the workloads, but it seems that
> the
> > backends workload is still too high, I want to add more nodes. Waiting
> for
> > your advice, thanks.
> >
> >
> > On Wed, Jan 9, 2013 at 11:14 PM, Rangel, Raul <Raul.Rangel at disney.com>
> > wrote:
> >>
> >> varnishlog -b -i TxURL.
> >
> >
> >
> >
> >
> > --
> > Best regards
> > Shaohui
> >
> > _______________________________________________
> > varnish-misc mailing list
> > varnish-misc at varnish-cache.org
> > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Best regards
Shaohui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130112/f87909a3/attachment.html>


More information about the varnish-misc mailing list