From: Scott Marlowe <scott.marlowe@gmail.com>
To: Anoo Sivadasan Pillai <aspillai@in.rm.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: FW: max_connections and shared_buffers
Date: Mon, 3 Sep 2007 01:47:03 -0500
Message-ID: <dcc563d10709022347j19305a58q9c9a2dc987768e5@mail.gmail.com> (raw)
In-Reply-To: <772CDA49C515244FA14E34443F62E56402F173E0@EX-INDIA1.internal.rmplc.net>
References: <772CDA49C515244FA14E34443F62E56402F173E0@EX-INDIA1.internal.rmplc.net>
On 9/3/07, Anoo Sivadasan Pillai <aspillai@in.rm.com> wrote:
> Hi Scott,
>
> Sorry for the long mail and Thank you for the quick response,
> My problem is that our server shuts down unexpectedly, the settings are
> max_connections=1024,shared_buffers = 32MB for the machine. The
> following is the log snippet
> 2007-08-15 15:44:10 LOG: could not receive data from client: No
> connection could be made because the target machine actively refused it.
> 2007-08-15 15:44:10 LOG: unexpected EOF on client connection
> 2007-08-15 15:44:17 LOG: received fast shutdown request
> 2007-08-15 15:44:17 LOG: aborting any active transactions
> 2007-08-15 15:44:17 FATAL: terminating connection due to administrator
> command
> 2007-08-15 15:44:17 FATAL: the database system is shutting down
> 2007-08-15 15:44:17 LOG: shutting down
>
> Any clues?
Sounds like you're being hit by the Out of Memory (oom) killer in your
kernel maybe? how many connections do you have when this happens?
I think you might need to look at connection pooling. 1024
connections is a LOT of connections. How much memory does your server
have, btw, and what version of pgsql and what os are you running this
on?
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-admin@postgresql.org
Cc: scott.marlowe@gmail.com, aspillai@in.rm.com
Subject: Re: FW: max_connections and shared_buffers
In-Reply-To: <dcc563d10709022347j19305a58q9c9a2dc987768e5@mail.gmail.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