Re: Incomplete Startup Packet on startup and when pg_maintenance --analyze runs in cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux