Re: Auto-vacuum timing out and preventing connections - Mailing list pgsql-bugs

From David Johansen
Subject Re: Auto-vacuum timing out and preventing connections
Date
Msg-id CAAcYxUeJKDkYqoXYe6qwHRP_QEif7O083U2p0FKzoUXVLxHn4Q@mail.gmail.com
Whole thread Raw
In response to Re: Auto-vacuum timing out and preventing connections  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
On Fri, Jul 1, 2022 at 9:11 PM Andres Freund <andres@anarazel.de> wrote:
Hi,

On 2022-06-27 14:38:21 -0600, David Johansen wrote:
> We're running into an issue where the database can't be connected to. It
> appears that the auto-vacuum is timing out and then that prevents new
> connections from happening. This assumption is based on these logs showing
> up in the logs:
> WARNING:  worker took too long to start; canceled
> The log appears about every 5 minutes and eventually nothing can connect to
> it and it has to be rebooted.

How many databases, tables and functions do you have?

1 database
427 tables
1 function
 
> What can we do to diagnose this problem and get our database working
> reliably again?

Downthread you said you're on RDS - unfortunately you're going to have quite
limited access and are going to have to take it up with AWS.

Yes, I definitely understand that AWS will likely need to be involved or resolve this issue, but as I said previously, I'm trying to be proactive and just see what I could find. 

pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: Auto-vacuum timing out and preventing connections
Next
From: Hung Nguyen
Date:
Subject: