Long URL's are truncated

Raymond Jennings III raymond.jennings.iii at gmail.com
Thu Oct 22 03:51:22 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.


On Wed, Oct 21, 2015 at 6:29 PM, Jesper Larsen <jla at fcoo.dk> wrote:

> Hi Varnish people
>
> (Warning: new to Varnish:-)
>
> I am using varnishtop (varnish 4.0.3 on Ubuntu) to figure out whether my
> Varnish setup caches my stuff properly. The backend server is however a web
> service for which the URL's to the resources are very long (> 256
> characters). And many of the requests are actually identical at least up to
> the first 256 characters.
>
> 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?
>
> Best regards,
> Jesper
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20151021/afa5bbc5/attachment.html>


More information about the varnish-misc mailing list