Re: "stuck spinlock" - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: "stuck spinlock"
Date
Msg-id 20131227074757.GB10314@svana.org
Whole thread Raw
In response to Re: "stuck spinlock"  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Thu, Dec 26, 2013 at 03:18:23PM -0800, Robert Haas wrote:
> On Thu, Dec 26, 2013 at 11:54 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> > On 12/12/13, 8:45 PM, Tom Lane wrote:
> >> Memo to hackers: I think the SIGSTOP stuff is rather obsolete now that
> >> most systems dump core files with process IDs embedded in the names.
> >
> > Which systems are those?
>
> MacOS X dumps core files into /cores/core.$PID, and at least some
> Linux systems seem to dump them into ./core.$PID

On Linux it's configurable and at least on Ubuntu you get this:

$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c

But yes, it can be configured to icnclude the PID in the filename.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.  -- Arthur Schopenhauer

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: A GIN index internals question
Next
From: Andres Freund
Date:
Subject: Re: "stuck spinlock"