Re: Re: It happened again: Server hung up solid - Mailing list pgsql-hackers

From Vince Vielhaber
Subject Re: Re: It happened again: Server hung up solid
Date
Msg-id Pine.BSF.4.21.0005080608430.23650-100000@paprika.michvhf.com
Whole thread Raw
In response to Re: Re: It happened again: Server hung up solid  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
On Mon, 8 May 2000, The Hermit Hacker wrote:

> 
> *sigh*
> 
> > gcore 87721
> gcore: /proc/87721/file: No such file or directory

Accroding to TFM:
 The process identifier, pid, must be given on the command line.  If no executable image is specified, gcore will use
``/proc/<pid>/file''.

So you might try:

gcore /path_to_postmaster/postmaster 87721

or something close to that.

Vince.

> 
> 
> 
> On Mon, 8 May 2000, Michael Robinson wrote:
> 
> > >Try killing the postmaster itself in such a way as to produce a coredump
> > >(kill -ABORT ought to do) and get a backtrace from that.
> > 
> > The "gcore" command (on most modern unices) will generate a core dump of a 
> > running process without killing the process.  It seems that would be more
> > useful in this circumstance.
> > 
> >     -Michael Robinson
> > 
> 
> Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
> Systems Administrator @ hub.org 
> primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> 
> 

-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@michvhf.com    http://www.pop4.net128K ISDN from $22.00/mo - 56K Dialup from
$16.00/moat Pop4 Networking       Online Campground Directory    http://www.camping-usa.com      Online Giftshop
Superstore   http://www.cloudninegifts.com
 
==========================================================================





pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: So we're in agreement....
Next
From: Olivier PRENANT
Date:
Subject: Unix timestamp