SV: Long URL's are truncated
jla at fcoo.dk
Thu Oct 22 09:56:48 CEST 2015
> I believe you need to start varnishd with the following: -p shm_reclen=1024 or whatever value works for you.
> Depending on how you have it setup you might have it set in /etc/sysconfig/varnish with other startup parameters.
Thanks, that solved my issues (the config file on Ubuntu is /etc/default/varnish).
> When I run:
> varnishtop -i BereqURL -1
> it does however seem like it is only showing the first 254 characters (or so) of the URL's and it does in fact also seem like the
> URL's which are identical up to this number of characters are "lumped" together increasing the count of backend requests for
> that particular resource. This makes it hard to see if requests are in fact cached properly. The same issue seems to affect at
> least varnishncsa (I guess it comes from varnishlog).
> Is there any way to make varnishtop use the entire URL?
More information about the varnish-misc