Re: [PERFORM] Unable to connect to server

От: Vucomir Ianculov
Тема: Re: [PERFORM] Unable to connect to server
Дата: ,
Msg-id: 1772714872.854.1483527774431.JavaMail.vukomir@DESKTOP-9I7P6HN
(см: обсуждение, исходный текст)
Ответ на: [PERFORM] Unable to connect to server  (Vucomir Ianculov)
Ответы: Re: [PERFORM] Unable to connect to server  (Andreas Kretschmer)
Список: pgsql-performance

Скрыть дерево обсуждения

[PERFORM] Unable to connect to server  (Vucomir Ianculov, )
 Re: [PERFORM] Unable to connect to server  (Vucomir Ianculov, )
  Re: [PERFORM] Unable to connect to server  (Andreas Kretschmer, )
 Re: [PERFORM] Unable to connect to server  (Andreas Kretschmer, )

HI Andreas,

thanks for your replay, i have checked connection number for the last 3 mouths and maximum number of connection was 300, so i can reduce this is it's cousin the issue.
during this error server was 99% idle, the only thing is that there was a pg_dump running on one of the DB, can this cause this error, also i have restarted pg server 2 days before because of server cert update.

Thanks.



From: "Andreas Kretschmer" <>
To:
Sent: Wednesday, January 4, 2017 11:12:23 AM
Subject: Re: [PERFORM] Unable to connect to server

Vucomir Ianculov <> wrote:

> Hi,
>
> today i head a issue with pgsql 9.3, a lot of clients complained that they are
> unable to connect to the server.
> when i have checked the logs i sow a lot of
> FATAL:  canceling authentication due to timeout

you can increase authentication_timeout, default is 1 minute. How many
clients do you have, do you really needs 1000 connections? If yes,
please consider a connection pooler like pgbouncer.



Regards, Andreas Kretschmer
--
Andreas Kretschmer
http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


--
Sent via pgsql-performance mailing list ()
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


В списке pgsql-performance по дате сообщения:

От: Kevin Grittner
Дата:
Сообщение: Re: [PERFORM] Slow query after 9.3 to 9.6 migration
От: Merlin Moncure
Дата:
Сообщение: Re: [PERFORM] Slow query after 9.3 to 9.6 migration