Size of the url for the varnish hash

Jennings, Raymond raymond.jennings at
Tue Apr 8 17:31:47 CEST 2014

I think what you want is this:


I have this value in my /etc/sysconfig/varnish and is used at the bottom to
start varnishd

             -f ${VARNISH_VCL_CONF} \
             -t ${VARNISH_TTL} \
             -p shm_reclen=${SHM_RECLEN} \
             -p http_req_hdr_len=${HTTP_REQ_HDR_LEN} \
             -p idle_send_timeout=${IDLE_SEND_TIMEOUT} \
             -u varnish -g varnish \
             -S ${VARNISH_SECRET_FILE} \
             -s ${VARNISH_STORAGE}"

When varnishd is running you should something like (see the shm_reclen

root      9095     1  0 11:19 ?        00:00:00 /usr/sbin/varnishd -P
/var/run/ -a :80 -f /etc/varnish/default.vcl -T -t 2400 -w 1,1000,120 -p shm_reclen=1024 -p
http_req_hdr_len=17408 -p idle_send_timeout=40 -u varnish -g varnish -S
/etc/varnish/secret -s file,/var/lib/varnish/varnish_storage.bin,9G

On Tue, Apr 8, 2014 at 11:19 AM, Edward Zambrano <edward at> wrote:

> Hello,
> Reading the logs from the varnishncsa daemon I realized that the url top
> size is 255, even though that the url reaching the backend is larger (it
> has many GET parameters). also checking the Hash entries from the
> barnishlog I see that is only using the first 255 characters.... I'm
> looking how to increase the size and I found some related issue here
> but I'm reading the
> description of those parameters in
> and it
> doesn't look related to my problem (in the apache logs of my backend
> servers I can see that the URL is arriving correctly, with more than 255
> characters)
> Could you please tell me how to increase that limitation?
> thanks!
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list