On Wed, 2005-09-28 at 12:10 +0200, Ulf Rasch wrote:
suman adak wrote:
Can you be a bit more specific. What do you mean your memory is full? Show the output of "free -t".
Ulf
free -t total used free shared buffers cached Mem: 482540 284732 197808 0 41560 144340 -/+ buffers/cache: 98832 383708 Swap: 1068280 0 1068280 Total: 1550820 284732 1266088
Sorry didn't see that mail.
You have 197808 k bytes free. Of course it would be interesting to see which process is consuming all your memory. Or maybe the problem comes from somewhere else. I would write a short script that writes the date/time and output of "free -t" in a file executed by the cron. The running processes and their memory consumption would be nice to see too. ("ps -eF") THat way you could maybe trace down the one that causing trouble.
Memory will be used by cache so that recently opened files can be opened quicker. This is -not- a problem and is the way that linux works. As for -all- of memory and swap being used and causing the machine to reboot there is a problem that will need to be checked by using free -t to see all memory used and also using top to see which program is using all of the memory. Also try using ksysguard to try and determine what is using all of the memory. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998