Re: Autovacuum seems to block database: WARNING worker took too long to start - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: Autovacuum seems to block database: WARNING worker took too long to start
Date
Msg-id 1289934330-sup-4464@alvh.no-ip.org
Whole thread Raw
In response to Re: Autovacuum seems to block database: WARNING worker took too long to start  (Pablo Delgado Díaz-Pache <delgadop@gmail.com>)
Responses Re: Autovacuum seems to block database: WARNING worker took too long to start
List pgsql-admin
Excerpts from Pablo Delgado Díaz-Pache's message of mar nov 16 12:18:09 -0300 2010:
> Not sure what you mean.
>
> Once we start getting that error in the postgres log, there is no autovacuum
> entry. Only that error message once every minute (and as i wrote in my last
> email, the same message all the time).

Yeah.  This means that the autovacuum launcher daemon is still running
and trying to schedule new jobs, but it's not able to for some reason.
When it tries to start a new one, it sees the old one still waiting to
start running; and then it logs this message.

To start a new job, what it does is send a signal to postmaster and wait
for it to create a child process.  This is the part that's not working.

> The question is what is causing postgres to stop working. Autovacuum or
> another reason? If it's another reason ... what could it be?

I have no idea what's going on.  I have never seen this problem.  If you
see it happen again, please get a stacktrace from postmaster; and/or
strace it.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-admin by date:

Previous
From: Octavio
Date:
Subject: Re: ignoring data type
Next
From: "Tracey Osborne"
Date:
Subject: Re: Postgres service won't start, doesn't log any errors