Re: FW: max_connections and shared_buffers

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: FW: max_connections and shared_buffers
Дата
Msg-id dcc563d10709022347j19305a58q9c9a2dc987768e5@mail.gmail.com
обсуждение исходный текст
Ответ на FW: max_connections and shared_buffers  ("Anoo Sivadasan Pillai" <aspillai@in.rm.com>)
Список pgsql-admin
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?

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Anoo Sivadasan Pillai"
Дата:
Сообщение: FW: max_connections and shared_buffers
Следующее
От: "Anoo Sivadasan Pillai"
Дата:
Сообщение: Re: FW: max_connections and shared_buffers