Subject: Problem with gcore and permissions
To: None <>
From: D'Arcy J.M. Cain <>
List: tech-kern
Date: 01/09/2005 06:12:47
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?


D'Arcy J.M. Cain <>