[squid-users] problem with cache store

From: Nont Banditwong <biomed@dont-contact.us>
Date: Thu, 14 Oct 2004 10:09:04 +0700

Dear group

I have 2 squid 2.5.STABLE3 server on P-IV 2.8E ASUS P4P800-SE
RAM 2GB , 2 IDE harddisk 120GB for system and first cache_dir
and 40GB for cache only. Client request is about 400req/s and 2 cache
use the same squid configuration.

The problem is a cache is after I found many warning message as below
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
00008176
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
0000817E
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
0000817D
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007F5B
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
00007EFD
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
0000818A
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
0000818D
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007F7F
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007F81
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
00008192
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007F8C
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
0000819F
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007E7D
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007F99
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
000081BE
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
000081BF
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FA1
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
000081D5
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
000081D9
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FAF
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FBF
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FC4
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FA7
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FC9
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FCB
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
000081EB
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
000081F6
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
00008231
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
00007FD0
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
00008248
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 0, fileno
0000800B
2004/10/12 22:46:08| WARNING: newer swaplog entry for dirno 1, fileno
00003B87

store rebuild and never reach over 10% of maximum size while another
cache can reach to 80%. Is the problem caused from hardware (harddisk) problem
?

node01 root # squidclient mgr:storedir
HTTP/1.0 200 OK
Server: squid/2.5.STABLE3
Mime-Version: 1.0
Date: Tue, 12 Oct 2004 15:28:35 GMT
Content-Type: text/plain
Expires: Tue, 12 Oct 2004 15:28:35 GMT
Last-Modified: Tue, 12 Oct 2004 15:28:35 GMT
X-Cache: MISS from totcache
Proxy-Connection: close

Store Directory Statistics:
Store Entries : 1159390
Maximum Swap Size : 45056000 KB
Current Store Swap Size: 844936 KB
Current Capacity : 2% used, 98% free

Store Directory #0 (aufs): /var/cache/squid
FS Block Size 4096 Bytes
First level subdirectories: 35
Second level subdirectories: 256
Maximum Size: 22528000 KB
Current Size: 422444 KB
Percent Used: 1.88%
Filemap bits in use: 576419 of 1048576 (55%)
Filesystem Space in use: 75573584/111393028 KB (68%)
Filesystem Inodes in use: 1667655/14155776 (12%)
Flags:
Removal policy: heap

Store Directory #1 (aufs): /var/cache/squid2
FS Block Size 4096 Bytes
First level subdirectories: 35
Second level subdirectories: 256
Maximum Size: 22528000 KB
Current Size: 422492 KB
Percent Used: 1.88%
Filemap bits in use: 576094 of 1048576 (55%)
Filesystem Space in use: 19977776/38464340 KB (52%)
Filesystem Inodes in use: 1403628/4889248 (29%)
Flags:
Removal policy: heap

Another question sometime I got this message in cache.log
when the message appear squid response too slow. How
I fix this problem ?, Thank.

2004/10/14 10:04:36| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:36| /var/cache/squid2/07/9D/00159D02
2004/10/14 10:04:36| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:36| /var/cache/squid2/09/1F/00171F92
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid2/02/14/0010146D
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid2/07/9D/00159D02
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/07/34/00073485
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/02/FF/0010FFAD
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/03/32/0003329C
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/07/68/001568C5
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/0D/A3/000DA3A5
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid2/00/E5/0000E592
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/0D/7B/000D7BD7
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/0D/7B/000D7BD7
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid2/0B/49/000B49BE
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid/03/68/00036821
2004/10/14 10:04:40| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:40| /var/cache/squid2/00/3F/000E3FFD
2004/10/14 10:04:41| storeAufsOpenDone: (2) No such file or directory
2004/10/14 10:04:41| /var/cache/squid/02/3F/00103FDC
2004/10/14 10:04:41| storeAufsOpenDone: (2) No such file or directory

-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
Received on Wed Oct 13 2004 - 21:09:06 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST