RE: [squid-users] Heap Policy

From: Farooq Bhatti <farooq_at_n4networks.net>
Date: Thu, 9 May 2013 09:41:31 +0500

Hi Amos,

I have updated the squid with 3.2.8 but problem is same. Please check

# squid -v
Squid Cache: Version 3.2.8
configure options: '--build=x86_64-unknown-linux-gnu'
'--host=x86_64-unknown-linux-gnu' '--target=x86_64-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib64'
'--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib'
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--exec_prefix=/usr'
'--libexecdir=/usr/lib64/squid' '--localstatedir=/var'
'--datadir=/usr/share/squid' '--sysconfdir=/etc/squid'
'--with-logdir=$(localstatedir)/log/squid'
'--with-pidfile=$(localstatedir)/run/squid.pid'
'--disable-dependency-tracking' '--enable-arp-acl'
'--enable-follow-x-forwarded-for' '--enable-auth'
'--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,getpwnam,MSNT-multi-doma
in,SASL,DB,POP3,RADIUS'
'--enable-ntlm-auth-helpers=smb_lm,no_check,fakeauth'
'--enable-digest-auth-helpers=password,ldap,eDirectory'
'--enable-negotiate-auth-helpers=squid_kerb_auth'
'--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_
group' '--enable-cache-digests' '--enable-cachemgr-hostname=localhost'
'--enable-delay-pools' '--enable-epoll' '--enable-icap-client'
'--enable-ident-lookups' '--enable-linux-netfilter' '--enable-referer-log'
'--enable-removal-policies=heap,lru' '--enable-snmp' '--enable-ssl'
'--enable-storeio=aufs,diskd,ufs' '--enable-useragent-log' '--enable-wccpv2'
'--enable-esi' '--with-aio' '--with-default-user=squid'
'--with-filedescriptors=65535' '--with-dl' '--with-openssl'
'--with-pthreads' 'build_alias=x86_64-unknown-linux-gnu'
'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu'
'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie'
'LDFLAGS=-pie' 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-fpie' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig'
--enable-ltdl-convenience

# squidclient mgr:storedir
HTTP/1.1 200 OK
Server: squid/3.2.8
Mime-Version: 1.0
Date: Thu, 09 May 2013 02:02:32 GMT
Content-Type: text/plain
Expires: Thu, 09 May 2013 02:02:32 GMT
Last-Modified: Thu, 09 May 2013 02:02:32 GMT
X-Cache: MISS from staffproxy
X-Cache-Lookup: MISS from staffproxy:8080
Via: 1.1 staffproxy (squid/3.2.8)
Connection: close

Store Directory Statistics:
Store Entries : 64
Maximum Swap Size : 614400000 KB
Current Store Swap Size: 0.00 KB
Current Capacity : 0.00% used, 100.00% free

Store Directory #0 (aufs): /cache
FS Block Size 4096 Bytes
First level subdirectories: 64
Second level subdirectories: 256
Maximum Size: 307200000 KB
Current Size: 0.00 KB
Percent Used: 0.00%
Filemap bits in use: 0 of 16384 (0%)
Filesystem Space in use: 37844/312417236 KB (0%)
Filesystem Inodes in use: 16451/312569856 (0%)
Flags:
Removal policy: lru

Where as configured is :

memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA

Expert opnion and help to resolve this is appreciated.

Regards,
Muhammad Farooq
________________________________________________________________________

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Friday, May 03, 2013 2:46 PM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Heap Policy

On 3/05/2013 1:05 a.m., Farooq Bhatti wrote:
> ---------
> Squid Cache: Version LUSCA_HEAD-r14809

This is NOT Squid. This is Lusca, a commercial fork of Squid-2.7.

Please contact Xenion for Lusca support or migrate to a currently Squid
release.

Amos

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2241 / Virus Database: 3162/5792 - Release Date: 05/02/13
Received on Thu May 09 2013 - 04:39:20 MDT

This archive was generated by hypermail 2.2.0 : Mon May 13 2013 - 12:00:05 MDT