From: Andrew Alcheyev <buddy@telenet.ru>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Dan Ports <drkp@csail.mit.edu>
Cc: pgsql-bugs@postgresql.org
Subject: Re: FreeBSD 9.0/amd64, PostgreSQL 9.1.2, pgbouncer 1.4.2: segmentation fault
Date: Wed, 11 Jan 2012 18:36:37 +0600
Message-ID: <1363182685.20120111183637@telenet.ru> (raw)
In-Reply-To: <4F0C6318.9010405@enterprisedb.com>
References: <976279052.20120110212229@telenet.ru>
<4F0C6318.9010405@enterprisedb.com>
Hello!
On Tuesday, January 10, 2012, 10:11:04 PM you wrote:
HL> That clearly looks like a bug in the SSI feature, introduced in
HL> PostgreSQL 9.1.
HL> This looks superficically similar to the bug that Dan Ports spotted on
HL> Friday:
HL> http://www.mail-archive.com/pgsql-hackers@postgresql.org/msg190135.html.
HL> If you can reproduce the issue easily, could you try the patch he posted
HL> and see if it fixes it?
I had applied the patch suggested and it fixed backend crashes, at
least for a while - the server didn't crash for the first half of
today. So I think that the patch fixes my situation. Unfortunately, it
fixes only half of my problem.
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.
In my first letter I forgot to mention that the client has multiple
instances and they query the server at the same time. But what it is
interesting that this error has been reported to them more or less
simultaneously.
To repeat myself, if I set the client's variable
"default_transaction_isolation" to "read committed", then the error
disappers.
So what should I do? Do I need to increase
"max_pred_locks_per_transaction" in postgresql.conf?
And how can I calculate desired value?
With the best regards, Andrew.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: buddy@telenet.ru, heikki.linnakangas@enterprisedb.com, drkp@csail.mit.edu
Subject: Re: FreeBSD 9.0/amd64, PostgreSQL 9.1.2, pgbouncer 1.4.2: segmentation fault
In-Reply-To: <1363182685.20120111183637@telenet.ru>
References: <976279052.20120110212229@telenet.ru> <4F0C6318.9010405@enterprisedb.com> <1363182685.20120111183637@telenet.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox