Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0uOK-0000q5-05 for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2014 14:45:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W0uOJ-0005GW-Cn for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2014 14:45:55 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0uOI-0005GQ-L1 for pgsql-bugs@postgresql.org; Wed, 08 Jan 2014 14:45:54 +0000 Received: from mail-la0-f44.google.com ([209.85.215.44]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0uNa-00035Y-Dd for pgsql-bugs@postgresql.org; Wed, 08 Jan 2014 14:45:53 +0000 Received: by mail-la0-f44.google.com with SMTP id e16so1205664lan.3 for ; Wed, 08 Jan 2014 06:45:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=52YVmaxXff71SSh7zFbxlaBb7qHbxTJhy5ukcbYfEuI=; b=X7TAGSufJSxIfsnM9oLpTW0vDsRhCobH+Qkpw1Tivy4O6vgXIQvU5SNcjBMA0sKkmz ezM3cQiZCYfFJPvARHQsD4H166xW25gjTE9eyviHBoXFWdc3KC4zWFscUJ+loUrCzV/i w3swUQFJgwHr8NN6YKq8jnhW1/fqPB2H3qSYKNx0YISBcCtiFfrOsXrCyJjWki9RcE9n KzEPKLI3bF9d5PXrjWTC9WgKZz6KvKcN1rM5eDk4IfJ6f9qpyZm/p5XA3RNOFC4VWX+n g3epPlNm75/xWf6Su5IJeiORPPCE+emY/ILcG1ys6DIISgVfQ4QUI9ZJ/OX807dVCRHo SKCA== X-Gm-Message-State: ALoCoQkwk5JV7me6973C/XF1x6lra2wA2FQDmngbrp1W0BJlN/uOu7WYIDT5YEUKgyvaX7BBNRSO X-Received: by 10.112.11.170 with SMTP id r10mr46670142lbb.23.1389192308545; Wed, 08 Jan 2014 06:45:08 -0800 (PST) Received: from Markos-MacBook-Pro.local ([46.246.117.202]) by mx.google.com with ESMTPSA id n13sm47068445lbl.17.2014.01.08.06.45.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 06:45:07 -0800 (PST) Message-ID: <52CD6471.5030503@joh.to> Date: Wed, 08 Jan 2014 15:45:05 +0100 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alvaro Herrera CC: pgsql-bugs@postgresql.org Subject: Re: Backends stuck in LISTEN References: <52CC830A.2050602@joh.to> <20140108140058.GH6840@eldon.alvh.no-ip.org> <52CD5FB8.20000@joh.to> In-Reply-To: <52CD5FB8.20000@joh.to> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 1/8/14 3:24 PM, I wrote: > > libc6-dbg only changed it a bit: Oops, looks like there was something wonky about that dump. This should make more sense: #0 0x00007f26dd17d5b7 in semop () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00000000005f6128 in PGSemaphoreLock (sema=0x7f26d79e5c80, interruptOK=0 '\000') at pg_sema.c:418 #2 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 #3 0x000000000049fabb in SimpleLruWaitIO (slotno=6, ctl=) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/slru.c:306 #4 0x000000000049fe00 in SlruSelectLRUPage (ctl=, pageno=34331) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/slru.c:994 #5 0x00000000004a02ab in SimpleLruReadPage (ctl=0xb046a0, pageno=34331, write_ok=1 '\001', xid=1124964531) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/slru.c:366 #6 0x0000000000487fb3 in TransactionIdGetStatus (xid=1124964531, lsn=0x7fffe8503750) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/clog.c:400 #7 0x0000000000488460 in TransactionLogFetch (transactionId=1124964531) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/transam.c:83 #8 TransactionLogFetch (transactionId=1124964531) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/transam.c:56 #9 0x00000000004885b1 in TransactionIdDidCommit (transactionId=) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/transam.c:133 #10 0x00000000005159f4 in asyncQueueProcessPageEntries (page_buffer=0x7fffe85038b0 "$", stop=..., current=) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:1998 #11 asyncQueueReadAllNotifications () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:1923 #12 0x0000000000516926 in Exec_ListenPreCommit () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:977 #13 PreCommit_Notify () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/commands/async.c:801 #14 0x000000000048c863 in CommitTransaction () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/xact.c:1827 #15 0x000000000048ce8d in CommitTransactionCommand () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/access/transam/xact.c:2563 #16 0x000000000063fafb in finish_xact_command () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/tcop/postgres.c:2452 #17 finish_xact_command () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/tcop/postgres.c:2441 #18 0x0000000000641e92 in PostgresMain (argc=, argv=, dbname=0xc5dee0 "gluepay", username=) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/tcop/postgres.c:4153 #19 0x0000000000603f83 in BackendRun (port=0xca6f50) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:3612 #20 BackendStartup (port=0xca6f50) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:3302 #21 ServerLoop () at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:1466 #22 0x00000000006049f1 in PostmasterMain (argc=, argv=) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/postmaster/postmaster.c:1127 #23 0x000000000045a600 in main (argc=5, argv=0xc5d180) at /build/buildd/postgresql-9.1-9.1.9/build/../src/backend/main/main.c:199 Regards, Marko Tiikkaja -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs