pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: chelsealyu@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16067: Failed system call was semget
Date: Sat, 19 Oct 2019 23:42:49 -0400
Message-ID: <15052.1571542969@sss.pgh.pa.us> (raw)
In-Reply-To: <16067-aec8a3dda66482cc@postgresql.org>
References: <16067-aec8a3dda66482cc@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> Operating system:   MacOS

> running bootstrap script ... 2019-10-19 23:25:15.095 JST [51410] FATAL: 
> could not create semaphores: No space left on device
> 2019-10-19 23:25:15.095 JST [51410] DETAIL:  Failed system call was
> semget(5432226, 17, 03600).

That's a bit odd.  macOS is known to have low default limits for
SysV shared memory, but not for semaphores.  Which macOS version
are you running, exactly?  What do you get from
	sysctl -a | grep sysv.sem
?  I get

kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10

(and not only in Catalina, but very ancient mac versions)

Is it possible that something else is chewing up semaphores?
Looking at "sudo ipcs -s" output would reveal that.

> I also tried the code in the guide book of solving this question.
> RAYEdeMacBook-Pro:~ raye$ sysctl -w kern.sysv.shmmax
> kern.sysv.shmmax: 4194304

That is not about this problem.

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <15052.1571542969@sss.pgh.pa.us>
Permalink:  ../15052.1571542969@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15052.1571542969@sss.pgh.pa.us

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, chelsealyu@gmail.com
  Subject: Re: BUG #16067: Failed system call was semget
  In-Reply-To: <15052.1571542969@sss.pgh.pa.us>
  References: <16067-aec8a3dda66482cc@postgresql.org> <15052.1571542969@sss.pgh.pa.us>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox