On Wed, Jan 6, 2016 at 12:36 PM, balajishanmugam@xxxxxxx <balajishanmugam@xxxxxxx> wrote: > By application I mean centOS. > > We are starting and stopping Postgres using systemd service. We have a > service file called postgresql9.3.service which is used to start or stop > Postgres. > > Excerpts of postgresql9.3.service > > ExecStartPre=/usr/pgsql-9.3/bin/postgresql93-check-db-dir ${PGDATA} > ExecStart=/usr/pgsql-9.3/bin/pg_ctl start -D ${PGDATA} -s -w -t 300 > ExecStop=/usr/pgsql-9.3/bin/pg_ctl stop -D ${PGDATA} -s -m fast > ExecReload=/usr/pgsql-9.3/bin/pg_ctl reload -D ${PGDATA} -s > > So how are you restarting centos? Orderly shutdown, pulling the power plugs etc? I'm wondering if you've got untrustworthy data storage underneath it (i.e. storage that lies about fsync) and maybe centos or the method of shutdown isn't allowing the drives to flush the data that they've already said they flushed but actually haven't. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general