pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Marko Tiikkaja <marko@joh.to>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Backends stuck in LISTEN
Date: Wed, 8 Jan 2014 11:00:58 -0300
Message-ID: <20140108140058.GH6840@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <52CC830A.2050602@joh.to>
References: <52CC830A.2050602@joh.to>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Marko Tiikkaja wrote:
> Hi people,
> 
> Today we had a problem where around 30-40 backends were stuck in
> LISTEN for a long time.  I snatched a core dump before we had to
> kill the server, and the backtrace looks like this:
> 
> #0  0x00007f26dd17d5b7 in monstartup () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007f26d79e5c70 in ?? ()
> #2  0x00007f26d79e5c80 in ?? ()
> #3  0x00007f254d772b60 in ?? ()
> #4  0x00000000006359c5 in LWLockAcquire (lockid=87, mode=LW_SHARED)
> at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/storage/lmgr/lwlock.c:464

Hm, looks like either they got stuck trying to activate profiling (but
then Debian doesn't build its packages with gcc -pg, does it?), or the
backtrace is flawed for those upper frames.  Maybe installing the libc
-dbg (I imagine it'd be libc6-dbg) package would be useful, if this
reoccurs.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (12+ messages)  latest in thread

Message-ID: <20140108140058.GH6840@eldon.alvh.no-ip.org>
Permalink:  ../20140108140058.GH6840@eldon.alvh.no-ip.org/
Also on:    postgresql.org/message-id/20140108140058.GH6840@eldon.alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, marko@joh.to
  Subject: Re: Backends stuck in LISTEN
  In-Reply-To: <20140108140058.GH6840@eldon.alvh.no-ip.org>
  References: <52CC830A.2050602@joh.to> <20140108140058.GH6840@eldon.alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox