Subject: Re: Problem with gcore and permissions
To: None <>
From: D'Arcy J.M. Cain <>
List: tech-kern
Date: 01/11/2005 12:35:08
On Sun, 9 Jan 2005 06:12:47 -0500
"D'Arcy J.M. Cain" <> wrote:
> I am trying to get a core dump of a running program (PostgreSQL master
> process) and I just get a permissions error;
> # gcore 728
> gcore: ptrace(PT_DUMPCORE) failed: Permission denied
> The gcore man page doesn't mention PT_DUMPCORE but I checked the code
> and it is correct.  As an added datapoint, killing the process with
> SIGABRT also fails to create a core file albeit silently in that case.
> Anyone know what could be happening here or what I should check next?

Doesn't anyone have any idea what might be happening?  I have a real
problem with PostgreSQL on 2.0 and I can't even get a core file.  I
tried creating a new kernel with INSECURE set hoping that that was the
problem but it made no difference.

If no one can help with this, does anyone have any idea why PostgreSQL
would suddenly start getting into a busy loop in 2.0 but not RC4 or

D'Arcy J.M. Cain <>