Auto Vacuum not starting unless postgres is restarted
Auto Vacuum not starting unless postgres is restarted
От:
Nick Howden <n.howden@eris.qinetiq.com>
Дата:
Hi, On startup we get an error in the postgres log that the Autovacuum process has failed to start -- "autovacuum not started because of misconfiguration". However, if we do a restart (/etc/init/d/postgresql8.1 restart) then the autovacuum starts fine. Does anybody have any idea what the problem might be? Postgres Version: 8.1 OS: Ubuntu Linux 6.0.6 -- Nick Howden - Senior IT Analyst QinetiQ Trusted Information Management Woodward Building, Room B009 Malvern Technology Park, WR14 3PS Telephone 01684 895566, Fax 896660 The Information contained in this E-Mail and any subsequent correspondence is private and is intended solely for the intended recipient(s). For those other than the recipient any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on such information is prohibited and may be unlawful
Re: Auto Vacuum not starting unless postgres is restarted
От:
Alvaro Herrera <alvherre@commandprompt.com>
Дата:
Nick Howden wrote: > Hi, > > On startup we get an error in the postgres log that the Autovacuum process has > failed to start -- "autovacuum not started because of misconfiguration". > However, if we do a restart (/etc/init/d/postgresql8.1 restart) then the > autovacuum starts fine. > > Does anybody have any idea what the problem might be? Do you have a message about failure to start the statistics collector as well (on the first try), which is missing on the reattempt? It may be that the startup firewall policy (at the time the PostgreSQL is first started) is restrictive, and is relaxed later on the boot process. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support