Meaning of http_resp_size
Steve Webster
steve.webster at lovefilm.com
Wed Feb 15 18:30:42 CET 2012
Hi,
I'm attempting to tune our first production varnish server (fronting an API) and have a question about the http_resp_size run-time parameter. The description of this parameter in the varnishd documentation at https://www.varnish-cache.org/docs/3.0/reference/varnishd.html is:
"Maximum number of bytes of HTTP backend resonse we will deal with. This is a limit on all bytes up to the double blank line which ends the HTTP request. The memory for the request is allocated from the worker workspace (param: sess_workspace) and this parameter limits how much of that the request is allowed to take up."
The default value listed for this field is 32kb. The above description makes it sound like any backend response that exceeds the default http_resp_size of 32kb will not be handled (dropped, or at least not cached) by varnish. However, I'm happily able to request images of 200kb and up from this varnish instance, and can confirm that the it is being properly cached.
If http_resp_size is not a limit on the total size of the backend response that can be handled by varnishd, what effect does it actually have on varnishd at runtime?
Cheers,
Steve
--
Steve Webster
Web Architect
LOVEFiLM
(apologies for the long and pointless footer that follows)
-----------------------------------------------------------------------------------------------------------------------------------------
LOVEFiLM UK Limited is a company registered in England and Wales.
Registered Number: 06528297.
Registered Office: No.9, 6 Portal Way, London W3 6RU, United Kingdom.
This e-mail is confidential to the ordinary user of the e-mail address to which it was addressed. If you have received it in error,
please delete it from your system and notify the sender immediately.
This email message has been delivered safely and archived online by Mimecast.
For more information please visit http://www.mimecast.co.uk
-----------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120215/37dfffb4/attachment.html>
More information about the varnish-misc
mailing list