Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 90CB21DA4C1F for ; Tue, 17 Jan 2012 14:56:27 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RnECl-0000qC-9R for pgsql-bugs@postgresql.org; Tue, 17 Jan 2012 18:56:27 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Tue, 17 Jan 2012 12:56:10 -0600 Message-Id: <4F156FE102000025000448A3@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Tue, 17 Jan 2012 12:56:01 -0600 From: "Kevin Grittner" To: "Andrew Alcheyev" Cc: "Dan Ports" , "Heikki Linnakangas" , Subject: Re: FreeBSD 9.0/amd64, PostgreSQL 9.1.2, pgbouncer 1.4.2: segmentation fault References: <976279052.20120110212229@telenet.ru> <4F0C6318.9010405@enterprisedb.com> <1363182685.20120111183637@telenet.ru> <4F0D55D80200002500044695@gw.wicourts.gov> In-Reply-To: <4F0D55D80200002500044695@gw.wicourts.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201201/125 X-Sequence-Number: 32192 "Kevin Grittner" wrote: > Andrew Alcheyev wrote: > >> Well, it does good and the backend hasn't crashed yet, but the >> client is still experiencing query problems at some point (not >> far, I guess, from where its backend would segfault without the >> patch). This time it encounters the following error from the >> backend: >> >> ERROR: out of shared memory >> HINT: You might need to increase max_pred_locks_per_transaction. > > I noticed that you are using prepared transactions. Do you have > any lingering transactions prepared but not committed or rolled > back? (You can look in pg_prepared_xacts, and see when they were > prepared.) > >> So what should I do? Do I need to increase >> "max_pred_locks_per_transaction" in postgresql.conf? > > Maybe, but let's rule out other problems first. Has this been resolved? Any details would be useful to us. -Kevin