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 <[email protected]>
wrote:

> Forgot to mention: using varnish:7.3.0 Docker image.
>
> On Wed, Oct 23, 2024 at 2:26 PM Martynas Jusevičius
> <[email protected]> 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
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to