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

From Andres Freund
Subject Re: Auto-vacuum timing out and preventing connections
Date
Msg-id 20220702031139.3avsl64ivhjcnbaw@alap3.anarazel.de
Whole thread Raw
In response to Auto-vacuum timing out and preventing connections  (David Johansen <davejohansen@gmail.com>)
Responses Re: Auto-vacuum timing out and preventing connections
List pgsql-bugs
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?


> 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.

Greetings,

Andres Freund



pgsql-bugs by date:

Previous
From: "396934406@qq.com"
Date:
Subject: Re: RE: pg15 beta2 bug:cause by logcial replation
Next
From: David Johansen
Date:
Subject: Re: Auto-vacuum timing out and preventing connections