Re: Excessive PostmasterIsAlive calls slow down WAL redo

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Excessive PostmasterIsAlive calls slow down WAL redo
Date: 2018-04-18 05:04:17
Message-ID: CAEepm=3a_FmO4K7tySFgUq+3RK-tuWYbT_mxf0eEC19tcY+hTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 11, 2018 at 10:22 PM, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
>> On Tue, Apr 10, 2018 at 12:53 PM, Andres Freund <andres(at)anarazel(dot)de>
>> wrote:
>>> That person said he'd work on adding an equivalent of linux'
>>> prctl(PR_SET_PDEATHSIG) to FreeBSD.

Here is an implementation of Andres's idea for Linux, and also for
patched FreeBSD (for later if/when that lands). Do you think this
makes sense Heikki? I am planning to add this to the next CF.

--
Thomas Munro
http://www.enterprisedb.com

Attachment Content-Type Size
0001-Use-signals-for-postmaster-death-detection-on-Linux.patch application/octet-stream 8.5 KB
0002-Use-signals-for-postmaster-death-detection-on-FreeBS.patch application/octet-stream 4.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-04-18 05:44:01 Re: Oddity in tuple routing for foreign partitions
Previous Message Amit Langote 2018-04-18 04:35:02 Re: ON CONFLICT DO UPDATE for partitioned tables