Search squid archive

RE: Heap Policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amos,

I got it; the problem is bug in squid. As it is required to  define the
policy before cache_dir in squid.conf.
And if it is not bug then can you tell me how to check squid.conf the
sequence of line for each defined tagged as I did not get that in manual.

Thanks and Regards,
Muhammad Farooq
________________________________________________________________________

-----Original Message-----
From: Farooq Bhatti [mailto:farooq@xxxxxxxxxxxxxx] 
Sent: Thursday, May 09, 2013 9:42 AM
To: 'Amos Jeffries'
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: RE:  Heap Policy

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@xxxxxxxxxxxxx]
Sent: Friday, May 03, 2013 2:46 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  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




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2241 / Virus Database: 3162/5807 - Release Date: 05/07/13





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux