Re: [squid-users] Insight into vmstat output?

From: Brett Charbeneau <brett@dont-contact.us>
Date: Tue, 31 Aug 2004 14:34:04 -0400 (EDT)

        Thanks mucho for the response, Henrik!

On Tue, 31 Aug 2004, Henrik Nordstrom wrote:

HN> On Tue, 31 Aug 2004, Brett Charbeneau wrote:
HN>
HN> > I've got some vmstat info below, and as you'll notice the amount of swap
HN> > increases at the beginning of the day and tends to hover around 102700 (yes, six
HN> > digits there) - which I understand to be a Bad Thing.
HN>
HN> Odd.. your system at the time you took that /proc/meminfo had ca 400 MB
HN> free memory. It should not be swapping from what I can tell.

        Hmm. I did take them at different times. Here's a vmstat and meminfo cat
one right after another:

[root@reliant root]# cat /proc/meminfo
        total: used: free: shared: buffers: cached:
Mem: 924434432 916959232 7475200 0 87728128 359829504
Swap: 205623296 106754048 98869248
MemTotal: 902768 kB
MemFree: 7300 kB
MemShared: 0 kB
Buffers: 85672 kB
Cached: 253592 kB
SwapCached: 97804 kB
Active: 703132 kB
ActiveAnon: 490744 kB
ActiveCache: 212388 kB
Inact_dirty: 10676 kB
Inact_laundry: 123768 kB
Inact_clean: 20200 kB
Inact_target: 171552 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 902768 kB
LowFree: 7300 kB
SwapTotal: 200804 kB
SwapFree: 96552 kB
[root@reliant root]# vmstat
   procs memory swap io system cpu
 r b w swpd free buff cache si so bi bo in cs us sy id
 0 0 0 103872 7224 85588 253752 1 26 29 76 256 92 2 4 94

HN> > 2004/08/31 05:01:28| Swap maxSize 61440000 KB, estimated 4726153 objects
HN>
HN> Should be OK, but maybe a little high in the cache size. How much traffic
HN> does this Squid really have? There is very little benefit in having a
HN> cache larger than ca 1 weeks worth of traffic.

        I have about 200 Windows workstations using it *and* I am trying to
cache Windows updates locally, if that makes any difference.
        Thank you Henrik!

-- 
Brett Charbeneau, Network Administrator         Tel: 757-259-7750
Williamsburg Regional Library                   FAX: 757-259-7798
7770 Croaker Road                               brett@wrl.org
Williamsburg, VA 23188-7064                     http://www.wrl.org
Received on Tue Aug 31 2004 - 12:34:06 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:03 MDT