Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8BD291337B5D for ; Thu, 30 Dec 2010 10:50:12 -0400 (AST) 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 18883-04 for ; Thu, 30 Dec 2010 14:50:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 428A71337B67 for ; Thu, 30 Dec 2010 10:50:05 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 30 Dec 2010 08:50:05 -0600 Message-Id: <4D1C47B80200002500038DBB@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Thu, 30 Dec 2010 08:50:00 -0600 From: "Kevin Grittner" To: "Mladen Gogala" Cc: Subject: Re: long wait times in ProcessCatchupEvent() References: <4D1B8BD9.4060105@emolecules.com> <304.1293652739@sss.pgh.pa.us> <4D1BD84C.6080706@vmsinfo.com> In-Reply-To: <4D1BD84C.6080706@vmsinfo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.61 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/333 X-Sequence-Number: 41785 Mladen Gogala wrote: > May I ask what exactly is "sinval"? I took a look at Craig's > problem and your description but I wasn't able to figure out what > is sinval lock and what does it lock? I apologize if the question > is stupid. This area could probably use a README file, but you can get a good idea from the comment starting on line 30 of this file: http://git.postgresql.org/gitweb?p=postgresql.git;a=blob;f=src/backend/storage/ipc/sinvaladt.c;h=7910346dd55512be13712ea2342586d705bb0b35 It has to do with communication between processes regarding invalidation of the shared cache. -Kevin