The following bug has been logged online:
Bug reference: 3843
Logged by:
Email address: fujii.masao@oss.ntt.co.jp
PostgreSQL version: 8.3beta4
Operating system: RHEL5
Description: archiver process is restarted after the smart shutdown
Details:
Is this a bug though archiver process is restarted after the smart
shutdown?
BTW, the archiver process ends after a few minutes.
[postgresql.conf]
archive_mode = on
archive_command = 'cp %p ../arch/%f'
$ pg_ctl start
...
$ pgrep -fl postgres
22781 /home/postgres/bin/postgres
22783 postgres: writer process
22784 postgres: wal writer process
22785 postgres: autovacuum launcher process
22786 postgres: archiver process
22787 postgres: stats collector process
$ pg_ctl stop (*1)
...
$ pgrep -fl postgres
23579 postgres: archiver process
(*1)
It's easy to reproduce waiting between a few seconds
for pg_ctl start and stop in this problem.