How to prevent master server crash if hot standby stops - Mailing list pgsql-general

From Andrus
Subject How to prevent master server crash if hot standby stops
Date
Msg-id 5E2C91B46CEF42078CC7BEE1EDC10F0E@dell2
Whole thread Raw
Responses Re: How to prevent master server crash if hot standby stops
Re: How to prevent master server crash if hot standby stops
List pgsql-general
Hi!

Streaming asynchronous binary replication is used with hot standby slave.

If slave stops responing, master server will create files in pg_wal directory.
If disk becomes full, master server crashes also.

How to avoid this ?

If disk is nearly full, master should stop additional files creation (and maybe stop or disable replication slot).
Postgres 12 in Debian 10 is used.

Andrus.



pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: Server with hot standby slave wont start after vacuum
Next
From: Laurenz Albe
Date:
Subject: Re: How to prevent master server crash if hot standby stops