-   Linux - Server (
-   -   Consuming Memory problem (

aloneattack 04-08-2008 04:07 AM

Consuming Memory problem

When I used "top" command, I saw in section of memory usage the consuming memory of system is raising consecutively and doesn't decrease, althought, system had been just rebooted and had no such any program uses more than 1% cpu performance.

Mem: 2055292k av, 1489242k used, 566050k free, 0k shrd, 12652k buff
95408k active, 13812k inactive
Swap: 4192956k av, 0k used, 4192956k free 61788k cached

The consuming of Mem none stop, it's now still increasing.

PatrickNew 04-08-2008 10:52 PM

Often times the memory used seems low because its counting memory used by the disk cache as used. Basically the kernel says "You aren't using this memory for anything, so I'm going to try to guess which files you're going to read next and read them into memory already." This helps because if you try to read one of those cached files it goes much faster. However, this memory isn't really "used" because if any program asks for it, the OS will give that program the memory and take it away from the cache. This way it's still available, but it's not wasted.

aloneattack 04-09-2008 12:07 AM

Your information rescues my linux box from reinstalling.

Thank you.

All times are GMT -5. The time now is 10:23 AM.