From: Matteo Beccati <php@beccati.com>
To: ALVARO ARCILA <arcila_alvaro@hotmail.com>
To: pgsql-performance@postgresql.org
Cc: alvherre@commandprompt.com
Subject: Re: Inactive memory Grows unlimited
Date: Mon, 24 Apr 2006 07:36:57 +0200
Message-ID: <444C63F9.7000306@beccati.com> (raw)
In-Reply-To: <20060421163829.GD7303@surnet.cl>
References: <007f01c6654b$15077280$8300a8c0@tridecap.com>
<BAY19-F6BF6A2BEE6C18329628D283BB0@phx.gbl>
<20060421163829.GD7303@surnet.cl>
Hi,
>> The amount of Inactive memory Grows unlimited .... this happens only when
>> Postgresql (8.1.1) is running... after a few days it "eats" all the RAM
>> memory ... so I've have to restart the server to free RAM....
>
> This is normal Unix behavior. Leave it running for a few more days and
> you'll that nothing wrong happens. Why do you think you need "free"
> memory?
>
> Only if the swap memory start getting used a lot you need to worry about
> memory consumption.
>
> You should upgrade to 8.1.3 BTW.
Also, shared_buffers seem too low and work_mem too much high for your setup:
> shared_buffers = 1000
> work_mem = 131076
You should really raise shared_buffers and decrease work_mem: 1000
shared_buffers is probably too conservative. On the other hand 128MB per
sort could be eating your RAM quickly with 18 users connected.
Best regards
--
Matteo Beccati
http://phpadsnew.comhttp://phppgads.com
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: php@beccati.com, arcila_alvaro@hotmail.com, alvherre@commandprompt.com
Subject: Re: Inactive memory Grows unlimited
In-Reply-To: <444C63F9.7000306@beccati.com>
* 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