From: Wells Oliver <woliver@padres.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Server crash... trying to figure it out
Date: Tue, 31 May 2011 18:35:28 +0000
Message-ID: <5366FE31-4E2E-41C6-94F7-90C9D0477C44@padres.com> (raw)
In-Reply-To: <4DE4EDC5020000250003DF1B@gw.wicourts.gov>
References: <509F1BCA-2A75-41F4-87F5-EBD098023D71@padres.com>
<4DE4EDC5020000250003DF1B@gw.wicourts.gov>
On May 31, 2011, at 11:31 AM, Kevin Grittner wrote:
You're probably overcommitting memory and running afoul of the oom
killer.
You've got an actual 12MB, but you can easily allocate up to
shared_buffers + (user_connections * work_mem), which is 18.5 GB. I
would start by reducing shared_buggers to 3GB or less, and cut
work_mem in half. Then I would get a connection pooler set up to
funnel 200 client-side connections through a pool of 10 or 20
database connections. Then I would try edging up work_mem while
monitoring performance and memory usage.
-Kevin
Thanks for the response- great food for thought. Do you have any recommendations on a pg connection pooler?
--
Wells Oliver
Architect, Baseball Systems
619-795-5359
San Diego Padres | 100 Park Boulevard | San Diego CA 92101
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: woliver@padres.com, Kevin.Grittner@wicourts.gov
Subject: Re: Server crash... trying to figure it out
In-Reply-To: <5366FE31-4E2E-41C6-94F7-90C9D0477C44@padres.com>
References: <509F1BCA-2A75-41F4-87F5-EBD098023D71@padres.com> <4DE4EDC5020000250003DF1B@gw.wicourts.gov> <5366FE31-4E2E-41C6-94F7-90C9D0477C44@padres.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