-------- Original Message -------- Subject: Re: [suse-amd64] memory problem with suse 9.2 - again Date: Wed, 30 Mar 2005 01:00:50 +0100 From: Alexandre Moutinho Santos <alex.moutinho@alexandre-santos.com> To: Flavio Fonseca <ff@dirpd.ufu.br> References: <200503291134.40141.ff@dirpd.ufu.br> <200503291851.02561.ff@dirpd.ufu.br> <330-45980@sneakemail.com> <200503292029.53679.ff@dirpd.ufu.br> Flavio Fonseca wrote:
Dear Mr. Williams:
no. thats is not the case. please take a look at the result of free command I sent in the first mail and reproduce here to you: babao:~ # free total used free shared buffers cached Mem: 4042056 4024008 18048 0 4920 35636 -/+ buffers/cache: 3983452 58604 Swap: 2104472 6068 2098404
now take a look at a normal server free result:
doodle:~ # free total used free shared buffers cached Mem: 1036068 1022720 13348 0 364736 429584 -/+ buffers/cache: 228400 807668 Swap: 265064 8 265056
although you can see that almost all memory is in use in both case (1022720 of 1036068 in the second case) if you take a look at the second line of free you'll see the real available memory calculated by the free program for you, there it adds the buffers and cached memory and considere it available. in the second example I have 807668 (about 800Mb out of 1GB) of available memory, but in the first case in the second line I have only 58640 (58MB out of 4GB) free. So this is the problem. For the system all memory seams to really be allocated.
thanks for your trial but its not a case of miss interpretation of memory use.
hope someone else have more ideais.
thank you all again.
Flavio On Tuesday 29 March 2005 19:10, Stephen Williams wrote:
You may be slightly confused by what "using 98% of RAM" means. The Linux philosophy is that unused ram is wasted ram. If it is not filled with application programs, it will put temporary buffers in unused memory. So a normal running system will get to a steady state of most of the memory in use, even though much of that use may be low priority and reassigned on demand.
Programs like xosview can help you distinguish the major memory uses: used for programs vs. buffers or I/O cache.
Could that be what you're issue is about?
Flavio Fonseca ff-at-dirpd.ufu.br |suse-amd64| wrote:
Andreas:
using top and sort by memory usage the the top using program is kdeinit using 11MB. Like I said, I just turn on the machine, with basic system install and it says it is using 98% of RAM. Any other ideia? Oh, and yes, shared memory is on and mounted.
-- Steve Williams "The woods are lovely, dark and deep. steve at .......... But I have promises to keep, http://www........... and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."
What happens if you stop the oracle daemon/database? I once installed an Oracle database that did a similar thing. Immediatly after booting the memory was almost 100% used - but after a shutdown of the Oracle database the values dropped back to the normal ones, like the ones you have on the second server. Alex