Re: autovacuum question - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: autovacuum question
Date
Msg-id 20070330150416.GL4215@alvh.no-ip.org
Whole thread Raw
In response to autovacuum question  (Carol Walter <walterc@indiana.edu>)
List pgsql-admin
Carol Walter wrote:
> I ran the command "show autovacuum" and postgres responds with "ON."
> My colleague says that I should be able to see it running if I run ps
> -aef.  He said that he doesn't trust postgres reporting on itself.

I wouldn't trust your colleague then ...

> When I run the Unix ps command as above I don't see autovacuum.  Does
> anyone know if it's running or not?  This is on a box running Solaris.

It is running.  It will only appear on the ps output when it's actually
processing a database; after it's done, it'll go away.  Check the logs;
if autovacuum is getting stuck on something (for example failing to
start for some databases), then an error will be logged.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-admin by date:

Previous
From: Thomas Pundt
Date:
Subject: Re: autovacuum question
Next
From: "Simon Riggs"
Date:
Subject: Re: trying to run PITR recovery