From: Rob <rclemley@yahoo.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-performance@postgresql.org
Subject: Re: System overload / context switching / oom, 8.3
Date: Tue, 02 Feb 2010 15:59:45 -0600
Message-ID: <4B68A051.4030205@yahoo.com> (raw)
In-Reply-To: <4B6836E3020000250002EE82@gw.wicourts.gov>
References: <4B6878DF.3000004@yahoo.com>
<4B6836E3020000250002EE82@gw.wicourts.gov>
Kevin Grittner wrote:
> Rob <rclemley@yahoo.com> wrote:
>
>
>> 8gb ram
>> ~240 active databases
>> 800+ db connections via tcp.
>>
>
> 8 GB RAM divided by 800 DB connections is 10 MB per connection. You
> seriously need to find some way to use connection pooling. I'm not
> sure the best way to do that with 240 active databases.
>
By wrangling the applications, We've got the number of connections down
to 530 and number of active databases down to 186.
The application's poor connection management exacerbates the problem.
Thanks for the idea,
Rob
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: rclemley@yahoo.com, Kevin.Grittner@wicourts.gov
Subject: Re: System overload / context switching / oom, 8.3
In-Reply-To: <4B68A051.4030205@yahoo.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