From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#29992: 'postgres' service doesn't stop Date: Mon, 08 Jan 2018 12:33:19 +0100 Message-ID: <87fu7g8u0w.fsf@lassieur.org> References: <87mv1scodq.fsf@lassieur.org> <87373ghaza.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYVgt-0000wL-EJ for bug-guix@gnu.org; Mon, 08 Jan 2018 06:34:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYVgo-0006m2-Hb for bug-guix@gnu.org; Mon, 08 Jan 2018 06:34:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59833) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYVgo-0006lv-EF for bug-guix@gnu.org; Mon, 08 Jan 2018 06:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eYVgo-0001hL-4g for bug-guix@gnu.org; Mon, 08 Jan 2018 06:34:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87373ghaza.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29992@debbugs.gnu.org Ludovic Courtès writes: > Hi, > > Clément Lassieur skribis: > >> 1. add (postgresql-service) to the service list >> 2. reconfigure >> 3. ps -ef | grep postgres >> >> postgres 19058 1 0 16:21 ? 00:00:00 /gnu/store/0v539yjmdqhjm1xcpvndmagkgjz5fvh2-guile-2.2.2/bin/guile --no-auto-compile /gnu/store/rp6qyfv5wyznz5a1i6szzzy997v603sl-start-postgres >> postgres 19061 19058 0 16:21 ? 00:00:00 /gnu/store/3rg0avphlwgq56qjxd8gr8xbmh1rwkal-postgresql-10.1/bin/postgres --config-file=/gnu/store/7m8yrv4avricqkn92737b5mamlvaid34-postgresql.conf -p 5432 -D /var/lib/postgresql/data >> postgres 19063 19061 0 16:21 ? 00:00:00 postgres: checkpointer process >> postgres 19064 19061 0 16:21 ? 00:00:00 postgres: writer process >> postgres 19065 19061 0 16:21 ? 00:00:00 postgres: wal writer process >> postgres 19066 19061 0 16:21 ? 00:00:00 postgres: autovacuum launcher process >> postgres 19067 19061 0 16:21 ? 00:00:00 postgres: stats collector process >> postgres 19068 19061 0 16:21 ? 00:00:00 postgres: bgworker: logical replication launcher >> clement 19070 18802 0 16:21 pts/4 00:00:00 grep postgres >> >> >> 4. herd stop postgres (output: Service postgres has been stopped) >> 5. ps -ef | grep postgres >> >> postgres 19061 1 0 16:21 ? 00:00:00 /gnu/store/3rg0avphlwgq56qjxd8gr8xbmh1rwkal-postgresql-10.1/bin/postgres --config-file=/gnu/store/7m8yrv4avricqkn92737b5mamlvaid34-postgresql.conf -p 5432 -D /var/lib/postgresql/data >> postgres 19063 19061 0 16:21 ? 00:00:00 postgres: checkpointer process >> postgres 19064 19061 0 16:21 ? 00:00:00 postgres: writer process >> postgres 19065 19061 0 16:21 ? 00:00:00 postgres: wal writer process >> postgres 19066 19061 0 16:21 ? 00:00:00 postgres: autovacuum launcher process >> postgres 19067 19061 0 16:21 ? 00:00:00 postgres: stats collector process >> postgres 19068 19061 0 16:21 ? 00:00:00 postgres: bgworker: logical replication launcher >> clement 19078 18802 0 16:21 pts/4 00:00:00 grep postgres > > Perhaps the proper way to stop postgresql is via one of its client > commands, like we do for nginx? Hi Ludovic, Yes, probably. I'll fix this when I have some time this week. Clément