> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Trawick
> Sent: 01 May 2002 15:36

> If somebody wants to play, this is perhaps all that is necessary.  I
> need to straighten out a test script problem on the machine that
> regularly exhibits the segfault, then try this out there.
> 
> The caveat with this is that if a worker thread is doing
> time-consuming processing (e.g., lengthy database transaction) then
> the pthread_join will hang for a while and the parent will probably
> nail us.

Meaning? (I hope there isn't a short timeout on the join).

I think it is perfectly acceptable to wait for the server to shutdown.
One of the reasons to do an ungraceful termination is to close the open
connections, which we do now.  If our backend needs to cleanup, so be it,
we have to wait.  If you can't, resort to more drastic stuff like kill -9,
but prepare to cleanup the mess that it might leave behind.

Sander

Reply via email to