[squid-users] Re:(2) [squid-users] big difference between "Current Size" and "Filesystem Space in use" ?!

From: Evren Yurtesen <eyurtese@dont-contact.us>
Date: Wed, 13 Nov 2002 23:20:32 +0200 (WET)

I think you are totally on wrong track. 3gbytes swap.state file? no way!
See, my swap.state file is only 18mbyte in disk1 directory
-rw-r--r-- 1 nobody nogroup 18072912 Nov 12 21:16 swap.state
I have cleaned up the disk2 directory and reconstructed the swap
directories again. Now there is only about 30mbyte difference.
The swaps.state file is about 6mbyte thus the difference can be a maximum
of 50 mbytes or lets say 100mbyte for the disk1 but still 3gbyte
difference! wow!

and how come in 8gbyte disk there is 3gbyte difference and in 33gbyte disk
there is only 1gbyte difference and newly made 8gbyte disk has only
30mbyte difference.

Store Directory #0 (diskd): /usr/local/squid/cache/disk2
FS Block Size 2048 Bytes
First level subdirectories: 16
Second level subdirectories: 256
Maximum Size: 7168000 KB
Current Size: 1372054 KB
Percent Used: 19.14%
Filemap bits in use: 111972 of 131072 (85%)
Filesystem Space in use: 1399320/8745126 KB (16%)
Filesystem Inodes in use: 116090/1097598 (11%)
Flags: SELECTED
Pending operations: 0

I already made a hypothesis about this. It must be something about
deleting the files. Because the difference started after the disk became
full. Thus I have disabled truncate and enabled unlinkd again. I am
trying to see if it will effect when the disk is full.
Any suggestions?

Evren

On Wed, 13 Nov 2002, Ilker Gokhan wrote:

> Evren Yurtesen wrote:
> > Store Directory #2 (diskd): /usr/local/squid/cache/disk3
> > FS Block Size 2048 Bytes
> > First level subdirectories: 64
> > Second level subdirectories: 256
> > Maximum Size: 34816000 KB
> > Current Size: 32059650 KB
> > Percent Used: 92.08%
> > Filemap bits in use: 3172307 of 4194304 (76%)
> > Filesystem Space in use: 33514708/39576738 KB (85%)
> > Filesystem Inodes in use: 3722093/4950398 (75%)
>
>
> Current size shows us that squid has stored 32059650 KB. But the
> filesystem adds to this value some extra values (maybe bacause of huge
> swap.state file.). So we have a different value between two option.
>
>
> Best regards,
> Ilker G.
> --------
> P.S:I remember this question before several times. I think is a FAQ
> entry so i send mail to squid-faq also. If you use this mail, please
> correct or add necassary lines.
> http://istanbul.linux.org.tr/~ilkerg/squid/elkitabi.html -- (Turkish
> handbook of squid)
>
>
Received on Wed Nov 13 2002 - 14:20:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:19 MST