Re: bogus Directory Store Stats?

From: Chris Wedgwood <chris@dont-contact.us>
Date: Wed, 19 Aug 1998 15:06:00 +1200

Further to this, I shut it down and restarted it, and the problem
seems to have gone away.

It may have been that when I started it last times, requests came in
once the first two swap store catalogs had been loaded - but not the
third (this didn't happen this time and I shutdown the said port
during the reload).

Store Directory Statistics:
Store Entries : 761412
Maximum Swap Size : 11796480 KB
Current Store Swap Size: 7817536 KB
Current Capacity : 66% used, 34% free

I also noticed, upon shutdown, lots and lots of FDs were open an
assigned to various store files with no apparently associated
transfer for them taking place (it was pretty much idle at the
time):

1998/08/19 14:43:46| Open FD writing 4 /usr/local/squid/logs/access.log
1998/08/19 14:43:46| Open FD writing 17 /mounts/cache1/cache/swap.state
1998/08/19 14:43:46| Open FD writing 21 /mounts/cache2/cache/01/33/000133E3
1998/08/19 14:43:46| Open FD writing 22 /mounts/cache2/cache/swap.state
1998/08/19 14:43:46| Open FD writing 24 /mounts/cache2/cache/03/1A/00031A67
1998/08/19 14:43:46| Open FD writing 26 /mounts/cache2/cache/01/CC/0001CCA2
1998/08/19 14:43:46| Open FD writing 29 /mounts/cache1/cache/01/74/00017452
1998/08/19 14:43:46| Open FD writing 30 /mounts/cache2/cache/01/DF/0001DFA9
1998/08/19 14:43:46| Open FD writing 32 /mounts/cache2/cache/01/3C/00013C98
1998/08/19 14:43:46| Open FD writing 34 /mounts/cache2/cache/01/65/00016501
1998/08/19 14:43:46| Open FD writing 40 /mounts/cache2/cache/02/44/00024462
1998/08/19 14:43:46| Open FD writing 47 /mounts/cache2/cache/01/A6/0001A655
1998/08/19 14:43:46| Open FD writing 48 /mounts/cache1/cache/00/61/00006156
1998/08/19 14:43:46| Open FD writing 52 /mounts/cache2/cache/02/72/000272BD
1998/08/19 14:43:46| Open FD writing 54 /mounts/cache2/cache/03/3E/00033E25
1998/08/19 14:43:46| Open FD writing 55 /mounts/cache2/cache/01/C1/0001C13C
1998/08/19 14:43:46| Open FD writing 58 /mounts/cache1/cache/00/69/00006936
1998/08/19 14:43:46| Open FD writing 59 /mounts/cache1/cache/01/EB/0001EB87
1998/08/19 14:43:46| Open FD writing 62 /mounts/cache1/cache/01/EB/0001EB89
1998/08/19 14:43:46| Open FD writing 76 /mounts/cache2/cache/02/A9/0002A97C
1998/08/19 14:43:46| Open FD writing 78 /mounts/cache2/cache/01/0C/00010C58
1998/08/19 14:43:46| Open FD writing 85 /mounts/cache2/cache/02/57/00025753
1998/08/19 14:43:46| Open FD writing 86 /mounts/cache2/cache/01/9A/00019A4B
1998/08/19 14:43:46| Open FD writing 137 /mounts/cache2/cache/00/CA/0000CAC5
1998/08/19 14:43:46| Open FD writing 144 /mounts/cache2/cache/01/16/0001167F
[...]

These tend to accumulate towards to low-end FDs which makes me think
they get allocated and then somehow forgotten about or are not
closed. (Because low end FDs get reused the most often).

This isn't really a problem, it just means you need to make sure you
have plenty of FDs available at all times...

-cw
Received on Tue Jul 29 2003 - 13:15:51 MDT

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