pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vucomir Ianculov <vukomir@os-ux.com>
To: Andreas Kretschmer <akretschmer@spamfence.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Unable to connect to server
Date: Wed, 4 Jan 2017 12:03:00 +0100 (CET)
Message-ID: <1772714872.854.1483527774431.JavaMail.vukomir@DESKTOP-9I7P6HN> (raw)
In-Reply-To: <20170104091223.GA5751@tux>
References: <1587952740.561.1483437295901.JavaMail.vukomir@DESKTOP-9I7P6HN>
	<1796991063.571.1483437640199.JavaMail.vukomir@DESKTOP-9I7P6HN>
	<20170104091223.GA5751@tux>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

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. 


----- Original Message -----

From: "Andreas Kretschmer" <akretschmer@spamfence.net> 
To: pgsql-performance@postgresql.org 
Sent: Wednesday, January 4, 2017 11:12:23 AM 
Subject: Re: [PERFORM] Unable to connect to server 

Vucomir Ianculov <vukomir@os-ux.com> 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 (pgsql-performance@postgresql.org) 
To make changes to your subscription: 
http://www.postgresql.org/mailpref/pgsql-performance 

view thread (4+ messages)  latest in thread

Message-ID: <1772714872.854.1483527774431.JavaMail.vukomir@DESKTOP-9I7P6HN>
Permalink:  ../1772714872.854.1483527774431.JavaMail.vukomir@DESKTOP-9I7P6HN/
Also on:    postgresql.org/message-id/1772714872.854.1483527774431.JavaMail.vukomir@DESKTOP-9I7P6HN

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: vukomir@os-ux.com, akretschmer@spamfence.net
  Subject: Re: Unable to connect to server
  In-Reply-To: <1772714872.854.1483527774431.JavaMail.vukomir@DESKTOP-9I7P6HN>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox