Re: Core dump - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Core dump
Date
Msg-id 29082.971389878@sss.pgh.pa.us
Whole thread Raw
In response to Re: Core dump  (Dan Moschuk <dan@freebsd.org>)
Responses Re: Core dump  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Dan Moschuk <dan@freebsd.org> writes:
> | We should probably tweak the postmaster to be less enthusiastic about
> | signaling its children repeatedly.

> Perhaps have postgres ignore SIGUSR1 after it has already received one?

Now that you mention it, it tries to do exactly that:

void
quickdie(SIGNAL_ARGS)
{PG_SETMASK(&BlockSig);elog(NOTICE, "Message from PostgreSQL backend:"...

BlockSig includes SIGUSR1.  So why is the quickdie() routine entered
again?  I'm back to suspecting something funny in Solaris' signal
handling...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Dan Moschuk
Date:
Subject: Re: Core dump
Next
From: Tom Lane
Date:
Subject: Re: Core dump