From: Ivan Voras <ivoras@freebsd.org>
To: pgsql-performance@postgresql.org
Subject: Re: Free memory usage Sol10, 8.2.9
Date: Wed, 04 Nov 2009 11:35:23 +0100
Message-ID: <hcrld7$4r1$1@ger.gmane.org> (raw)
In-Reply-To: <4AF095D0.9000705@wizmail.org>
References: <BF8D37611DA14544B3A47B8FF055944604C08F38@ct11exm61.ds.mot.com>
<4AF095D0.9000705@wizmail.org>
Jeremy Harris wrote:
> On 11/03/2009 07:16 PM, Subbiah Stalin-XCGF84 wrote:
>> All,
>>
>> I'm trying to understand the free memory usage and why it falls below
>> 17G sometimes and what could be causing it. Any pointers would be
>> appreciated.
>>
>> root@prod1 # prtconf
>> System Configuration: Sun Microsystems sun4u
>> Memory size: 32768 Megabytes
>>
>> [postgres@prod1 ~]$ vmstat 5 10
>> kthr memory page disk faults
>> cpu
>> r b w swap free re mf pi po fr de sr 1m 1m 1m m1 in sy cs us
>> sy id
>> 0 0 0 51713480 21130304 58 185 325 104 104 0 0 23 3 7 1 488 604 573 1
>> 2 97
>> 0 0 0 51048768 18523456 6 10 0 192 192 0 0 4 0 3 0 527 753 807 2
>> 1 97
>
> Memory used by the OS for caching files is no longer free.
> Free memory is wasted memory.
To finish the thought: memory used by OS for caching files will be
automatically given to applications that need more memory so it is "kind
of" free memory.
In your case, you really do have 17-18G unused memory which is
practically wasted.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: ivoras@freebsd.org
Subject: Re: Free memory usage Sol10, 8.2.9
In-Reply-To: <hcrld7$4r1$1@ger.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox