Re: Kernel kills postgres process - help need

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Kernel kills postgres process - help need
Дата
Msg-id
19056.1199917076@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Kernel kills postgres process - help need Hervé Piedvache <bill.footcow@gmail.com>
Re: Kernel kills postgres process - help need Jeff Davis <pgsql@j-davis.com>
Re: Kernel kills postgres process - help need "Joshua D. Drake" <jd@commandprompt.com>
Re: Kernel kills postgres process - help need Robert Treat <xzilla@users.sourceforge.net>
Re: Kernel kills postgres process - help need Hervé Piedvache <bill.footcow@gmail.com>
Re: Kernel kills postgres process - help need Tom Lane <tgl@sss.pgh.pa.us>
Re: Kernel kills postgres process - help need Hervé Piedvache <bill.footcow@gmail.com>
Re: Kernel kills postgres process - help need Hervé Piedvache <herve@elma.fr>
Re: Kernel kills postgres process - help need Alvaro Herrera <alvherre@commandprompt.com>
Re: Kernel kills postgres process - help need Hervé Piedvache <herve@elma.fr>
Re: Kernel kills postgres process - help need Alvaro Herrera <alvherre@commandprompt.com>
Re: Kernel kills postgres process - help need Gregory Stark <stark@enterprisedb.com>
Re: Kernel kills postgres process - help need "Scott Marlowe" <scott.marlowe@gmail.com>
Re: Kernel kills postgres process - help need Martijn van Oosterhout <kleptog@svana.org>
=?utf-8?q?Herv=C3=A9_Piedvache?=  writes:
> When I have a lot of connexions (persistante connexions from 6 web apache/php 
> serveurs using PDO, about 110 process on each web servers) on the server, or 
> long request, it's difficult for me to know when it's appening, the kernel 
> seems to kill my postgresql process then the server become completly 
> instable, and most of the time need a reboot ...

Turn off memory overcommit.

> max_connections = 2048

Have you considered using a connection pooler in front of a smaller
number of backends?

If you really need that many backends, it'd likely be a good idea to
reduce max_files_per_process to perhaps 100 or so.  If you manage
to run the kernel out of filetable slots, all sorts of userland stuff
is going to get very unhappy.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Jeff Davis
Дата:
От: Hervé Piedvache
Дата:
FAQ