Re: windows doesn't notice backend death - Mailing list pgsql-hackers

From Tom Lane
Subject Re: windows doesn't notice backend death
Date
Msg-id 6678.1241399518@sss.pgh.pa.us
Whole thread Raw
In response to Re: windows doesn't notice backend death  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: windows doesn't notice backend death  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> 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.

I don't think we'll be able to prevent PHP from doing that :-(.  But
it now seems clear that we should try to make the database as a whole
recover with some degree of grace.  I'll go work up a patch.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: windows doesn't notice backend death
Next
From: Tom Lane
Date:
Subject: Re: unchecked out of memory in postmaster.c