On Tue, 2005-01-18 at 13:59 +0800, Ow Mun Heng wrote:
> This is a Pentium M 1.4 GHz w/ 512MB memory.
> Top runs at < 1 load average. (or look at signature)
good numbers. (saw sig, wasn't obvious it was the same system)
> /dev/hda:
> Timing cached reads: 1164 MB in 2.00 seconds = 580.64 MB/sec
> Timing buffered disk reads: 94 MB in 3.05 seconds = 30.83 MB/sec
/dev/hda:
Timing cached reads: 808 MB in 2.01 seconds = 402.85 MB/sec
Timing buffered disk reads: 114 MB in 3.14 seconds = 36.30 MB/sec
> free -m
> total used free shared buffers
> cached
> Mem: 503 499 3 0 36
> 187
> -/+ buffers/cache: 275 227
> Swap: 517 101 415
That much swap usage concerns me. I've got one server with 256MB ram,
and one with 1GB. Neither one really touches the swap. Your system uses
100MB of it though. Even if thats not your biggest problem, it can't
really be helping your situation.
Eagle ~ # free -m
total used free shared buffers
cached
Mem: 217 127 89 0 37
54
-/+ buffers/cache: 35 181
Swap: 956 0 956
Blue ~ # free -m
total used free shared buffers
cached
Mem: 884 737 146 0 241
166
-/+ buffers/cache: 329 554
Swap: 972 2 970
> I can't provide much details as I'm not sure where to begin with
> details.
And that certainly adds to the challenge on all this. I hate to suggest
rebooting as I mercilessly taunt windows users for doing that all the
time, but with your large swapfile usage it feels like you might have
processes with a memory leak. Reboot and try emerging one or two
packages as soon as the machine comes back up. If that does bring
performance back to normal, then it probably is related to all the swap
being used. I do have programs that seem to keep using more memory as
time passes. At various times, xmms, gaim, and firefox have gotten silly
with their memory demands, though it was usually a plugin of some sort
that was the real cause. Not sure what else to even suggest that you try
if that doesn't turn out to fix it. If its still a mystery, perhaps a
tool like http://oprofile.sourceforge.net which has an ebuild as well as
already being available in most (all?) current kernels will reveal what
percentage of time goes to each process. Also, strace is handy to have
around as you can have it capture all calls made by a program or even an
already-running process and it lets you see what (if anything) a program
is doing even when its not sending anything to the screen.
--
Scott Taylor - <[EMAIL PROTECTED]>
BOFH Excuse #367:
Webmasters kidnapped by evil cult.
--
[email protected] mailing list