Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 104409FB43D for ; Tue, 3 Apr 2007 13:25:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 76214-09 for ; Tue, 3 Apr 2007 13:25:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id 7C8AB9FB2C4 for ; Tue, 3 Apr 2007 13:25:40 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [63.195.55.98] (account josh@agliodbs.com HELO [192.168.2.3]) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 11813775 for pgsql-performance@postgresql.org; Tue, 03 Apr 2007 09:29:43 -0700 From: Josh Berkus Organization: PostgreSQL @ Sun To: pgsql-performance@postgresql.org Subject: Re: Shared buffers, db transactions commited, and write IO on Solaris Date: Tue, 3 Apr 2007 09:26:02 -0700 User-Agent: KMail/1.8.2 References: <9B7F4B34-7E96-4501-BCE0-D0BED739530A@myemma.com> <200703301446.35858.josh@agliodbs.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704030926.02946.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/18 X-Sequence-Number: 23895 Erik, > Well, our application code itself doesn't retry queries if the db is > taking a long time to respond. However, we do have a number of our > servers making db connections via pgpool so you may be on to > something here. While I will be taking these questions to the pgpool > lists, I'll posit them here as well: If a pgpool child process > reaches it's connection lifetime while waiting on a query to > complete, does pgpool retry the query with another child? If a > connection thus dies, does the transaction complete normally on the > server? If the answers to these questions are both yes, this could > definitely be what was happening. It's been a while since I used pgpool with load balancing turned on, so you should probably try the pgpool lists. What version? -- Josh Berkus PostgreSQL @ Sun San Francisco