-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Hi,
is there something wrong about using docker stop
to shutdown the postgres container?
After examining the logs I notice the following:
2016-08-10T17:37:48.649652549Z LOG: received smart shutdown request
2016-08-10T17:37:48.649779343Z LOG: autovacuum launcher shutting down
2016-08-10T17:39:23.315340438Z LOG: database system was interrupted; last known up at 2016-08-10 17:34:54 UTC
2016-08-10T17:39:23.619640237Z LOG: database system was not properly shut down; automatic recovery in progress
2016-08-10T17:39:23.629918073Z LOG: redo starts at 0/70D0028
2016-08-10T17:39:23.629963085Z LOG: invalid record length at 0/70D0108
2016-08-10T17:39:23.629969782Z LOG: redo done at 0/70D00D0
2016-08-10T17:39:23.636000325Z LOG: MultiXact member wraparound protections are now enabled
2016-08-10T17:39:23.639092551Z LOG: database system is ready to accept connections
2016-08-10T17:39:23.640314686Z LOG: autovacuum launcher started
Even if I run docker stop --time=60 postgres
, the stop just waits for those 60 seconds, after which it probably sends SIGKILL causing the postres shutdown and subsequent warning during start.
Thanks for any info
rhencke, jackfischer, ps-feng, fjsj, davidperrenoud and 1 more