Re: Re: It happened again: Server hung up solid

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: Michael Robinson <robinson(at)netrinsics(dot)com>, pgsql-hackers(at)hub(dot)org
Subject: Re: Re: It happened again: Server hung up solid
Date: 2000-05-08 10:10:25
Message-ID: Pine.BSF.4.21.0005080608430.23650-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org
>
>

--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Olivier PRENANT 2000-05-08 11:12:48 Unix timestamp
Previous Message Zeugswetter Andreas SB 2000-05-08 09:07:54 AW: So we're in agreement....