Re: BUG #2371: database crashes with semctl failed error

From: "Brock Peabody" <brock(dot)peabody(at)npcinternational(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #2371: database crashes with semctl failed error
Date: 2006-04-05 14:03:20
Message-ID: 00d801c658b9$b23241f0$a70a10ac@npci.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> -----Original Message-----
> From: pgsql-bugs-owner(at)postgresql(dot)org [mailto:pgsql-bugs-
> owner(at)postgresql(dot)org] On Behalf Of Qingqing Zhou
> Sent: Wednesday, April 05, 2006 6:33 AM
> To: pgsql-bugs(at)postgresql(dot)org
> Subject: Re: [BUGS] BUG #2371: database crashes with semctl failed
error
>
>
> ""Brock Peabody"" <brock(dot)peabody(at)npcinternational(dot)com> wrote
> >
> > FATAL: semctl(167894456, 4, SETVAL, 0) failed: A non-blocking
socket
> > operation could not be completed immediately.
> >
>
> Can you reliablly reproduce the problem? If so, we may come up with a
> testing patch to it. We encounter similar problems before but it is
hard
> to
> reproduce.
>
> Magnus? As Bruce suggested, we can plug in a check-EINTR-loop here in
> semctl():
>
> /* Quickly lock/unlock the semaphore (if we can) */
> if (semop(semId, &sops, 1) < 0)
> return -1;
>
> Regards,
> Qingqing
>
>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Brock Peabody 2006-04-05 14:12:26 Re: BUG #2371: database crashes with semctl failed error
Previous Message Peter Eisentraut 2006-04-05 13:03:54 Re: NLS vs error processing, again