From: John Lister <john.lister-ps@kickstone.com>
To: pgsql-admin@postgresql.org
Subject: Re: Incomplete Startup Packet on startup and when pg_maintenance --analyze runs in cron
Date: Sat, 20 Dec 2008 08:26:46 -0000
Message-ID: <E68310A7222D4261AE7E96703FA775F7@squarepi.com> (raw)
References: <93f118f0812181248s122a93d3vaa09831d64d9e6ae@mail.gmail.com>
<93f118f0812181534w1f78f0a5tda3a21a7074b04e6@mail.gmail.com>
>Looks like /etc/cron.d/postgresql-common
># Run VACUUM ANALYSE on all databases every 5 hours if pg_autovacuum is not
># running
>2 0,5,10,15,20 * * 1-6 root if [ -x /usr/sbin/pg_maintenance ]; then
>/usr/sbin/pg_maintenance --analyze >/dev/null; fi
>Is deprecated for postgresql versions 8.1 and higher and needs to be
>commented out by default in those packages.
The pg_maintenance scripts check the state of the autovacuuum flag in the
postgres config files. If it is enabled they simply quit and don't do
anything. Disabling autovacuum causes them to run... So you can leave them
uncommented...
Although why it causes the "Incomplete start-up packet" messages is a
mystery...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: john.lister-ps@kickstone.com
Subject: Re: Incomplete Startup Packet on startup and when pg_maintenance --analyze runs in cron
In-Reply-To: <E68310A7222D4261AE7E96703FA775F7@squarepi.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox