Re: windows doesn't notice backend death

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: windows doesn't notice backend death
Дата
Msg-id 20090504004322.GA8098@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: windows doesn't notice backend death  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: windows doesn't notice backend death  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> Up to now we've always just dismissed the above possibility as
> "superusers should know better", but I think there's a reasonable case
> to be made that this is an obvious failure mode and we should put a bit
> more effort into being robust against it.  With more and more external
> code being routinely run in the backend, who wants to swear that there
> is no "exit(1)" in the guts of libperl or libxml or whatever?

FWIW there is (or there was, last time I looked) an exit(1) call in the
guts of the PHP library that PL/php uses, which is triggered when the
memory used goes over the configured memory limit.  It was very easily
triggered with some of the test functions we had on our regression
tests, and the only solution was to kludge up the limit.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_resetxlog bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: windows doesn't notice backend death