Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gavin Panella <gavinpanella(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected
Date: 2025-08-12 20:07:02
Message-ID: CA+hUKGJCFRcdappAa88s8Z3Cz9nt1JYo4pCLh6Z1VvArEPbRhw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 11, 2025 at 10:56 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> A bit more research later: OpenBSD behaves like NetBSD, while
> FreeBSD behaves like Linux. So that's pretty inconclusive about
> what the aboriginal behavior was. I also found that OpenIndiana
> behaves like Linux.

Out of curiosity, FreeBSD changed that in 2016:

https://github.com/freebsd/freebsd-src/commit/f00fb5457ebf5907055e420d803ac67fb098109e

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-08-12 20:19:02 Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected
Previous Message Nathan Bossart 2025-08-12 19:48:50 Re: Improve LWLock tranche name visibility across backends