Bad interaction between elog and postmaster.c (6.4.2)

Поиск
Список
Период
Сортировка
От Shez
Тема Bad interaction between elog and postmaster.c (6.4.2)
Дата
Msg-id 99062910395800.01070@esmeralda.nsl.net
обсуждение исходный текст
Ответы Re: [BUGS] Bad interaction between elog and postmaster.c (6.4.2)  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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.

Cheers
Shez
--
NSL (Internet) Ltd, 26 Forth Street, Edinburgh, EH1 3LH, UK
tel + 44 (0)131 477 8215  fax + 44 (0)131 477 8223  http://www.nsl.net

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Unprivileged user
Дата:
Сообщение: General Bug Report: Missing include files to compile SPI programmes
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] Bad interaction between elog and postmaster.c (6.4.2)