Paint
05-12-2003, 06:49 AM
When i start my server, the ram usage in top continues to rise. It starts at like 140mb of ram and after 2 days it is at 800 and continues. What should i do ? I have disabled bind, apache, and mysql. So i don't think that this the problem.
thanks in advance.
jimroe
05-12-2003, 07:00 AM
You should search the Internet and read how Linux manages memory - the behavior you describe is perfectly normal and does not indicate a memory leak.
sprintserve
05-12-2003, 07:56 AM
It's perfectly normal. It is just caching more and more of the commonly used processes. When you start to run something that's of a higher priority, some of these will be deprecated, and replaced. No worries there.
We run servers with 2GB ram and after 1 day it uses up the max even when there's almost no activity going on.
It's perfectly normal really.
The Prohacker
05-12-2003, 08:47 AM
bash-2.05a$ free -m
total used free shared buffers cached
Mem: 496 491 4 0 10 409
-/+ buffers/cache: 72 423
Swap: 1024 165 858
bash-2.05a$
This is a memory display on one of our servers, it shows 491 of 496 used, but if you look in the buffers/cache area it only shows as 72 used.. This is because linux uses file buffering and caching to keep the speed up, if the memory is needed the cache is dumped... As others have said, thought an example might help :D
Paint
05-12-2003, 11:20 PM
ok thanks guys.... so i guess it is perfectly normal like you said.... thanks.