OOM caused by infinite loop in response
Delacroix, Gauthier
Gauthier.Delacroix at coreye.fr
Thu Sep 20 11:40:35 CEST 2012
Hi,
I have a varnish instance going out of memory because of an infinite loop in a chunked backend response.
The app is sending the same string over and over, resulting in more than 4GB to varnish in 10 minutes...until it crashes.
The dev team is fixing the bug in the backend app but I'd like to avoid varnish crashes for this kind of problem.
I have seen the "http_resp_size" option in the doc but it seems to only handle headers size and I haven't seen anything about response body limit.
Is there a way to drop connection when response body exceeds a maximum size ?
Thanks !
Gauthier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120920/bed46569/attachment.html>
More information about the varnish-misc
mailing list