Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id A144E134A40B for ; Fri, 27 Apr 2012 15:54:52 -0300 (ADT) Received: from smtp.01.com ([199.36.142.181]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SNqJd-0006z6-1s for pgsql-bugs@postgresql.org; Fri, 27 Apr 2012 18:54:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 729CD2940BC; Fri, 27 Apr 2012 13:54:35 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48Cfs7gx5aOm; Fri, 27 Apr 2012 13:54:35 -0500 (CDT) Received: from smtp.01.com (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 3E5B12940B7; Fri, 27 Apr 2012 13:54:35 -0500 (CDT) Received: from [10.10.10.5] (8.202-62-69.ftth.swbr.surewest.net [69.62.202.8]) by smtp-out-1.01.com (Postfix) with ESMTPSA id E28A92940A7; Fri, 27 Apr 2012 13:54:34 -0500 (CDT) Message-ID: <4F9AEB6A.9060706@pgexperts.com> Date: Fri, 27 Apr 2012 11:54:34 -0700 From: Jeff Frost Organization: PostgresSQL Experts, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: 9.1.3 backends getting stuck in 'startup' References: <4F9AC452.3050102@pgexperts.com> <23016.1335546879@sss.pgh.pa.us> In-Reply-To: <23016.1335546879@sss.pgh.pa.us> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/192 X-Sequence-Number: 32943 On 04/27/12 10:14, Tom Lane wrote: > Jeff Frost writes: >> A few times today, we've seen postgresql 9.1.3 backends on Ubuntu 11.10 x86_64 >> get stuck in 'startup' mode. > Well, the one you backtraced seems to be waiting for somebody else to > release one of the buffer mapping locks ... which is not a lock I'd > expect to get held long, ever. Could you check all the Postgres > processes and see which of them have backtraces different from that? > We need to figure out what's sitting on that lock and why. > Thanks Tom. We've failed over to the replica which seems to have the issue happen less often, so I'll try and get the backtraces as soon as it's reproduced.