From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | "Anoo Sivadasan Pillai" <aspillai(at)in(dot)rm(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: FW: max_connections and shared_buffers |
Date: | 2007-09-03 06:47:03 |
Message-ID: | dcc563d10709022347j19305a58q9c9a2dc987768e5@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers |
On 9/3/07, Anoo Sivadasan Pillai <aspillai(at)in(dot)rm(dot)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?
From | Date | Subject | |
---|---|---|---|
Next Message | Anoo Sivadasan Pillai | 2007-09-03 07:04:10 | Re: FW: max_connections and shared_buffers |
Previous Message | Anoo Sivadasan Pillai | 2007-09-03 05:31:43 | FW: max_connections and shared_buffers |
From | Date | Subject | |
---|---|---|---|
Next Message | Gregory Stark | 2007-09-03 06:47:14 | Re: tsearch filenames unlikes special symbols and numbers |
Previous Message | Anoo Sivadasan Pillai | 2007-09-03 05:31:43 | FW: max_connections and shared_buffers |