Re: Random server overload

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Random server overload
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17C25988@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Random server overload  (Viktor <viktor@okservers.eu>)
Список pgsql-admin
Viktor wrote:
> We are experiencing database random overloads caused by IDLE processes.
> Their count jumps from normal ~70 connections to 250-300 with high I/O
> (30-40% wa, when normal ~ 1 % wa).
> 
> The overload isn't long and lasts about 5 -10 minutes just a couple of
> times during the month.
> 
> Please suggest how to debug this issue and find the cause of the
> overloads. Or mby we should tune our config file ?
> 
> errorlog example:
> 2013-09-30 10:37:45 EEST FATAL:  sorry, too many clients already
> 2013-09-30 10:37:45 EEST FATAL:  remaining connection slots are reserved
> for non-replication superuser connections

Looks like something tries to open lots of connections at these times.

Your best bet is to is to set log_connections = on and examine the log file
when the problem happens.  That way you can figure out where the connections
come from.

Yours,
Laurenz Albe

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

Предыдущее
От: Igor Neyman
Дата:
Сообщение: Re: Random server overload
Следующее
От: Andrew Swartzendruber
Дата:
Сообщение: pgAdmin forgets password on "could not connect to server" error