question : slow response
GoijI P
goijiud at hotmail.com
Tue Jul 27 02:52:44 UTC 2004
>>ran free:
>>out of 1GB RAM on server only 23MB was free.
>>after reboot almost all became free.
>>memory leak?. i never reboot my server.
>>top does not show any abnormality.
>
>Memory is often allocated at the beginning. Memory won't be "free"
>unless memory which was committed to a program is actually needed
>(this prevents the machine from swapping too often).
>
>If you think you're swapping, look a the "used" and "free" bits for
>the "swap" (fourth line) of the "free" output. You can also "vmstat 5"
>to watch the system activity. Look at the "si" (swap in) and "so" (swap
>out) columns to see if the system is really swapping. If you see that
>those numbers are greater than zero more often than not, then the system
>is swapping and you have a bit more investigation to do. Hit CTRL-C to
>terminate the vmstat program.
>
>Make sure you look at the "top" report WHEN YOUR SYSTEM IS SLOW to see
>what's going on. Don't just look at the "% CPU" column, also look at
>the "SIZE" and "RSS" columns.
>
>The biggest "SIZE" is the process that's using the most memory, the
>biggest "RSS" is the process that has the largest program code size. If
>you see a process where the "SIZE" is growing but the "RSS" is more or
>less the same, that's a potential memory leak. Unless you've written
>your own code and haven't taken care to free allocated memory or haven't
>kept your machine current, the odds of a memory leak are pretty small.
right now 0 swap space is used (things are quiet). i have to look at it when
more clients run server
based apps remotely. But, one thing i have noiced is that server RAM MB
size is 4 times higher than swap partition size, 1GB<->256MB.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the Redhat-install-list
mailing list