In a message on Fri, 20 Sep 2002 22:26:18 +0200, wrote :
"> I would like to know what this causes...
"> This system has to replace an older system, because the older system is
"> having problems with load...
"> Itīs an webserver, mailserver and firewall/router.
"> Iīm now testing the system, but i think a may be expecting problems with
"> also because the old system only has 64 MB, and alway has an memory usage
"> between 50MB - 100 MB....
"> So I would like to find out, what the cause of this big memory usage is, and
"> why the older system doesnīt has this problem...
"> So iīm looking for a way to find out where this memory has gone, because
"> with a top or ps I only find about 30% of the memory matching with a PID
"> where is the other memory usage?
Most of the memory usage is in disk cache buffers. This memory is not
being used by some process, but by the kernel to store recent and
frequently accessed disk blocks. This is normal. The system with less
memory had a smaller disk cache.
What is happening is this: about 170meg worth of your most actively
accessed web pages are in RAM and are being accessed from RAM, rather
than via disk I/O.
You don't have a problem or a memory leak. If/When some process needs
memory for some activity, the disk cache blocks will be cycled into the
virtual memory needed by the process(es) that need RAM.
Linux's memory management does not 'waste' available RAM. If processing
does not need RAM for process address space, the memory is used for a disk
block cache and for disk buffering. *THIS IS NORMAL.* There is *NOTHING*
wrong with your system.
"> Hope you can help me.
"> Thanks in advance
"> "Ralf Bader" <rjba...@t-online.de> wrote in message
"> > @ndree wrote:
"> > > Hello everyone,
"> > >
"> > > Iīve got a problem with the RAM memory in a linux server.
"> > > It seems that a proces is leeking memory, but I canīt find out what
"> > > program causes this.
"> > >
"> > > Iīve got about 190 MB In mB in the linux box, and always after a few
"> > > days 90% is in use...
"> > > Thatīs about 175 MB!!
"> > >
"> > > I think this is a quite a lot! (when I compare it whit other linux
"> > > boxes, which are doing a lot more)
"> > > Because the box is doing nothing heavy, it running courier IMAP + Pop3
"> > > but the only one who uses this is me (a few times (say 10) a day)..
"> > > itīs also running apache, itīs serving 10 clients a day, so itīs not
"> > > very much...
"> > > The load is always about 0.0X
"> > >
"> > > With top or ps I canīt find out, what causes this...
"> > > Can anyone give me some advise, what to do?
"> > > how can I find out what causes this high memory usage.
"> > >
"> > > Hope you can help me...
"> > And where is now your problem? Is the system slowing down, responding
"> > sluggishly or anything like that? Or are you just thinking that you now
"> > better how to manage RAM than Linux does?
"> > R.B.