RE: [squid-users] Heap Policy

From: Farooq Bhatti <farooq_at_n4networks.net>
Date: Fri, 3 May 2013 11:46:49 +0500

Hi Any clue, please.

Regards,
Muhammad Farooq

-----Original Message-----
From: Farooq Bhatti [mailto:farooq_at_n4networks.net]
Sent: Thursday, May 02, 2013 6:05 PM
To: squid-users_at_squid-cache.org
Subject: [squid-users] Heap Policy

Hi there

### So i changed in squid.conf as heap policy which I already complied the
squid with but when I check with squidclient it mention not heap rather lru
.Please what is the issue.

memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA

---------
Squid Cache: Version LUSCA_HEAD-r14809
configure options: '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--localstatedir=/var'
'--sysconfdir=/etc/squid' '--enable-delay-pools' '--disable-arp-acl'
'--enable-linux-netfilter' '--enable-large-cache-files'
'--enable-cache-digests' '--enable-external-acl-helpers=ip_user'
'--disable-ident-lookups' '--enable-removal-policies=heap,lru'
'--enable-snmp' '--disable-ssl' '--enable-storeio=aufs,coss'
'--enable-err-languages=English' '--with-aio' '--with-maxfd=1048576'
'--with-dl' '--with-pthreads' '--with-large-files' '--disable-unlinkd'

------

[root@ ~]# squidclient mgr:storedir
HTTP/1.0 200 OK
Server: Lusca/LUSCA_HEAD-r14809
Date: Thu, 02 May 2013 12:45:08 GMT
Content-Type: text/plain
Expires: Thu, 02 May 2013 12:45:08 GMT
Via: 1.0 staffproxy:8080 (Lusca/LUSCA_HEAD-r14809)
Connection: close

Store Directory Statistics:
Store Entries : 25380945
Maximum Swap Size : 614400000 KB
Current Store Swap Size: 551805296 KB
Current Capacity : 90% used, 10% 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: 275902400 KB
Percent Used: 89.81%
Current load metric: 100 / 1000
Filemap bits in use: 13143963 of 16777216 (78%) Filesystem Space in use:
276280452/312417236 KB (88%) Filesystem Inodes in use: 12981193/157794560
(8%)
Flags: SELECTED
Accepted object sizes: 0 - (unlimited) bytes
Removal policy: lru LRU reference age: 81.93 days

Store Directory #1 (aufs): /cache1
FS Block Size 4096 Bytes
First level subdirectories: 64
Second level subdirectories: 256
Maximum Size: 307200000 KB
Current Size: 275902896 KB
Percent Used: 89.81%
Current load metric: 100 / 1000
Filemap bits in use: 12227547 of 16777216 (73%) Filesystem Space in use:
279814988/312416020 KB (90%) Filesystem Inodes in use: 12244599/142648928
(9%)
Flags:
Accepted object sizes: 0 - (unlimited) bytes
Removal policy: lru LRU reference age: 28.31 days

Thanx
Farooq

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2241 / Virus Database: 3162/5790 - Release Date: 05/01/13
Received on Fri May 03 2013 - 06:44:47 MDT

This archive was generated by hypermail 2.2.0 : Fri May 03 2013 - 12:00:13 MDT