Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0D245B5DBDA for ; Mon, 29 Aug 2011 21:50:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 81901-04 for ; Tue, 30 Aug 2011 00:50:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 496C6B5DBD8 for ; Mon, 29 Aug 2011 21:50:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p7U0olWV001149; Mon, 29 Aug 2011 20:50:47 -0400 (EDT) To: "Thorvald Natvig" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6183: FATAL: canceling authentication due to timeout In-reply-to: <201108292202.p7TM2CO0061531@wwwmaster.postgresql.org> References: <201108292202.p7TM2CO0061531@wwwmaster.postgresql.org> Comments: In-reply-to "Thorvald Natvig" message dated "Mon, 29 Aug 2011 22:02:12 +0000" Date: Mon, 29 Aug 2011 20:50:46 -0400 Message-ID: <1148.1314665446@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201108/184 X-Sequence-Number: 30996 "Thorvald Natvig" writes: > We get a lot of "FATAL: canceling authentication due to timeout" in the > log, with accompanying closed connections to clients. Well, the only known cause of that (other than genuine timeout conditions) is in fact fixed in 9.1rc1. You have not provided any information that would permit anyone to look for another cause. > There does indeed seem to be a correlation between doing vacuum and seeing > this error. Are you doing VACUUM FULLs on pg_authid (and if so, why)? If you are, is it possible that those are queuing up behind other queries that access pg_authid, and for some reason aren't releasing their locks promptly? regards, tom lane