Re: [BUGS] Bad interaction between elog and postmaster.c (6.4.2)

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Shez <shez(at)nsl(dot)net>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: [BUGS] Bad interaction between elog and postmaster.c (6.4.2)
Date: 1999-06-29 13:29:56
Message-ID: 199906291329.JAA20472@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Hi there,
> The bug that I reported which was causing the backend and all its
> children to hang when an accept() on an incoming connection fails turns out to
> because of elog()'s side effect of sending SIGQUIT to the backend. This causes
> the children to be sent signals while SIGCHLD is blocked (to prevent race's).
> This seems to hang the backend forever.
>
> I was going to check 6.5 before I sent this but I don't have enough time just
> now, my aplogies for this.
>
> A simple hack around is to remove the elog() when an accept fails.

This is redesigned in 6.5.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Fomichev Michael 1999-07-01 03:27:56
Previous Message Shez 1999-06-29 09:26:51 Bad interaction between elog and postmaster.c (6.4.2)