[plug] memory
Colin Muller
colin at twobluedots.com.au
Fri Dec 6 13:26:32 WST 2002
> Right at this moment, uptime reports 12:45pm up 1 day, 16:55 and free
> reports:
>
> total used free shared buffers cached
> Mem: 386596 382180 4416 0 2052 29400
> -/+ buffers/cache: 350728 35868
> Swap: 232932 232932 0
>
> Where is all the memory going? According to top, X is using 72.8%
> memory, that can't be good.
That sounds like a lot for X to be using. What does it look like when
you've just started X?
> If anyone has tips on memory management it
> will be greatly appreciated.
Apart from top: run vmstat -n 1. If you're swapping a lot (frequent si
and so > 0), then starting and stopping apps while watching vmstat
might show you which is the culprit. If it does not show much activity
in the si and so fields, then the stuff in swap is just sitting there
doing nothing and you probably don't have to worry about it. vmstat is
a fantastic tool when you're doing stuff like tuning your Apache
config.
Colin
More information about the plug
mailing list