Re: Core dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dan Moschuk <dan(at)freebsd(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Core dump
Date: 2000-10-12 22:31:18
Message-ID: 29082.971389878@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dan Moschuk <dan(at)freebsd(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-12 22:35:11 Re: Core dump
Previous Message Dan Moschuk 2000-10-12 22:24:42 Re: Core dump