pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maxim Sobolev <sobomax@sippysoft.com>
Cc: pgsql-bugs@postgresql.org, Konstantin Belousov <kib@freebsd.org>
Subject: Re: BUG #14206: Switch to using POSIX semaphores on FreeBSD
Date: Wed, 22 Jun 2016 12:01:41 -0400
Message-ID: <1083.1466611301@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH7qZfv4zuQQ9jcw33Lpf2bAX7Pk2F5qWrqUgFtqzGbuA-++rA@mail.gmail.com>
References: <20160621193412.5792.65085@wrigleys.postgresql.org>
	<16860.1466539165@sss.pgh.pa.us>
	<CAH7qZfuEgJ4RfRy2NXEn1CMy8QRDjbaqmrne6f3NYgekjRLBzg@mail.gmail.com>
	<18145.1466541362@sss.pgh.pa.us>
	<CAH7qZfuvxpLtyJ50+YkyOxmOTkVKFeN4cKU-SWby_0wOBpUHiw@mail.gmail.com>
	<30949.1466608503@sss.pgh.pa.us>
	<CAH7qZfv4zuQQ9jcw33Lpf2bAX7Pk2F5qWrqUgFtqzGbuA-++rA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Maxim Sobolev <sobomax@sippysoft.com> writes:
> From the man semopt:
>      [EINVAL]           No semaphore set corresponds to semid, or the process
>                         would exceed the system-defined limit for the number
>                         of per-process SEM_UNDO structures.

> AFAIK we've been hitting the second cause there. This is with FreeBSD 10.3
> and postgresql 9.2.16 specifically. We've also seen this with 9.1 I think,
> but I am not 100% sure. The specific limit that got exceeded
> was kern.ipc.semmnu.

We never ask semop(2) for SEM_UNDO, so are you sure this isn't a kernel
bug?  I've never heard of such a report on any other platform.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (14+ messages)  latest in thread

Message-ID: <1083.1466611301@sss.pgh.pa.us>
Permalink:  ../1083.1466611301@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1083.1466611301@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, sobomax@sippysoft.com, kib@freebsd.org
  Subject: Re: BUG #14206: Switch to using POSIX semaphores on FreeBSD
  In-Reply-To: <1083.1466611301@sss.pgh.pa.us>
  References: <20160621193412.5792.65085@wrigleys.postgresql.org> <16860.1466539165@sss.pgh.pa.us> <CAH7qZfuEgJ4RfRy2NXEn1CMy8QRDjbaqmrne6f3NYgekjRLBzg@mail.gmail.com> <18145.1466541362@sss.pgh.pa.us> <CAH7qZfuvxpLtyJ50+YkyOxmOTkVKFeN4cKU-SWby_0wOBpUHiw@mail.gmail.com> <30949.1466608503@sss.pgh.pa.us> <CAH7qZfv4zuQQ9jcw33Lpf2bAX7Pk2F5qWrqUgFtqzGbuA-++rA@mail.gmail.com> <1083.1466611301@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