On Fri, May 02, 2003 at 06:46:08AM +0200, Thomas Corell wrote:
In the evening (1:00 AM GMT), I see:
MemTotal: 2059088 kB
MemFree: 93096 kB
MemShared: 40 kB
Buffers: 14892 kB
SwapTotal: 2047992 kB
SwapFree: 1289140 kB
That's pretty heavy swap usage (33%), and heavy memory usage.
I hope you know that this values are very useless. You have to know the
ratio of pagefaults to pagehits. Linux often has a lot of nearly never used
things in swapspace.
That's the basic point. We have one symptom: Wikipedia is slow.
We have lots of ideas what might be the cause.
We don't have any useful statistics about what hits the server:
- Swapping activity
- Processes memory allocation
- Disk I/O ratio
What Lee Daniel's and my benchmarks have indicated is that the
effect of checking links or checking for stubs is probably minor.
The cause must be somewhere else.
From a previous mail (Brion once sent a ps aux) I
remember
that there weren't many unused processes idling around.
Definitely not enough processes to allocate 800 MB of
swap space. So what else affects the machine?
Can someone with server access please send us a recent
"ps auxwww"-output and the output of vmstat 1 60 ?
(vmstat is included in recent versions of procps)
If we really have a swap-related problem, then probably
all our tuning activities won't show any improvements.
Best regards,
JeLuF