[squid-users] valgrind ??

Amos Jeffries squid3 at treenet.co.nz
Sun Jul 3 18:11:55 UTC 2016


On 3/07/2016 10:16 p.m., joe wrote:
> is this how to use valgrind
> valgrind --leak-check=yes --quiet --log-file=/var/debug.log /usr/sbin/squid 
> -DNYCd3

Depends on what you want to do. That is one way to run it.

> 
> this is my configure
> ./configure --build=x86_64-linux-gnu \
...
> --with-valgrind-debug \

Okay. That bits right.

> 
> if yes then wen i start using valgring  starting squid i get in debug.log
> error 
> just first i need to know if its the right way using valgrind

Whats the error?

BTW: you can expect valgrind to detect leak issues in any old version of
Squid. For values of 'old' including the very latest 3.5. Squid-4 is
getting close to having none show up, but there are still a few
intentional things.

Amos



More information about the squid-users mailing list