all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Lassieur" <clement@lassieur.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 29992@debbugs.gnu.org
Subject: bug#29992: 'postgres' service doesn't stop
Date: Mon, 08 Jan 2018 12:33:19 +0100	[thread overview]
Message-ID: <87fu7g8u0w.fsf@lassieur.org> (raw)
In-Reply-To: <87373ghaza.fsf@gnu.org>

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Clément Lassieur <clement@lassieur.org> 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

  reply	other threads:[~2018-01-08 11:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-05 15:32 bug#29992: 'postgres' service doesn't stop Clément Lassieur
2018-01-08 10:59 ` Ludovic Courtès
2018-01-08 11:33   ` Clément Lassieur [this message]
2018-01-08 21:55   ` Alex Kost
2018-01-12  9:46     ` Catonano
2018-01-12 21:42       ` Danny Milosavljevic
2018-01-24  2:20   ` bug#29992: [PATCH] services: postgresql: Use pg_ctl to start and stop postgres Clément Lassieur
2018-01-24 15:04     ` Ludovic Courtès
2018-01-24 17:16       ` Clément Lassieur
2018-01-25 13:13         ` Clément Lassieur
2018-01-25 13:20       ` Clément Lassieur
2018-01-25 14:22         ` Ludovic Courtès
2018-01-25 14:56           ` Clément Lassieur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fu7g8u0w.fsf@lassieur.org \
    --to=clement@lassieur.org \
    --cc=29992@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.