[squid-users] valgrind ??

joe chip_pop at hotmail.com
Sun Jul 3 10:16:00 UTC 2016


is this how to use valgrind
valgrind --leak-check=yes --quiet --log-file=/var/debug.log /usr/sbin/squid 
-DNYCd3

this is my configure
./configure --build=x86_64-linux-gnu \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/lib/squid \
--sysconfdir=/etc/squid \
--localstatedir=/var \
--libdir=/usr/lib \
--includedir=/usr/include \
--datadir=/usr/share/squid \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-pthreads \
--enable-storeio=ufs,aufs,diskd \
--enable-removal-policies=lru,heap \
--disable-icmp \
--enable-linux-netfilter \
--disable-wccp \
--enable-wccpv2 \
--enable-http-violations \
--enable-eui \
--enable-follow-x-forwarded-for \
--enable-zph-qos \
--with-default-user=proxy \
--with-logdir=/var/log/squid \
--with-pidfile=/var/run/squid.pid \
--disable-ipv6 \
--with-filedescriptors=200000 \
--enable-snmp \
--disable-auth \
--enable-epoll \
--enable-ecap \
--with-valgrind-debug \
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

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



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/valgrind-tp4678360.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list