Connection issues with Varnish
Guillaume Quintard
guillaume.quintard at gmail.com
Wed Oct 23 15:59:39 UTC 2024
Hi Martynas,
Can you start "varnishlog -g request", then try to send your failing
request, and show us the logs?
Kind regards,
--
Guillaume Quintard
On Wed, Oct 23, 2024 at 5:30 AM Martynas Jusevičius <martynas at atomgraph.com>
wrote:
> Forgot to mention: using varnish:7.3.0 Docker image.
>
> On Wed, Oct 23, 2024 at 2:26 PM Martynas Jusevičius
> <martynas at atomgraph.com> wrote:
> >
> > Hi,
> >
> > I have code making a lot of PUT and POST requests to Varnish.
> > I have noticed that quite a few of those fail due to a closed
> > connection, and Apache HTTP Client hangs for a while (10-30s,
> > sometimes more) around the same time.
> >
> > If I remove Varnish from the setup and write directly to the backend,
> > the errors go away completely. So I'm confident the issue is
> > Varnish-specific.
> >
> > The VCL is rather trivial and I don't think it's the core of the
> > problem, but I cannot be sure. It can be found here:
> >
> https://github.com/AtomGraph/LinkedDataHub/blob/develop/platform/varnish.vcl.template
> >
> > How would I go about debugging this? What should I look for in the
> > logs? Your help is much appreciated.
> >
> > Best,
> >
> > Martynas
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://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/20241023/58b3f844/attachment.html>
More information about the varnish-misc
mailing list