Re: [PATCH] better systemd integration - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [PATCH] better systemd integration
Date
Msg-id CAFj8pRCD9r2CLxOcuRuBqRtuwMX=jmLNMxfOT8f5tJNYyeAGyw@mail.gmail.com
Whole thread
In response to Re: [PATCH] better systemd integration  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [PATCH] better systemd integration
List pgsql-hackers
Hi

>
>
> You sent only rebased code of previous version. I didn't find additional
> checks.

Oops.  Here is the actual new code.


New test is working as expected

I did lot of tests - and this code works perfect in single server mode, and with slave hot-standby mode.

It doesn't work with only standby mode

[root@dhcppc1 pavel]# systemctl start pg2.service
Job for pg2.service failed because a timeout was exceeded. See "systemctl status pg2.service" and "journalctl -xe" for details.

Default timeout on FC is 90 sec - it is should not to be enough for large servers with large shared buffers and high checkpoint segments. It should be mentioned in service file.

Regards

Pavel




pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Proposal: Generic WAL logical messages
Next
From: Alexander Korotkov
Date:
Subject: Re: Move PinBuffer and UnpinBuffer to atomics