relation 71478240 deleted while still in use on 8.1

Started by Grzegorz Jaskiewiczalmost 19 years ago5 messages
#1Grzegorz Jaskiewicz
gj@pointblue.com.pl

I got :

2007-03-21 20:56:17 CET ERROR: relation 71478240 deleted while still
in use
2007-03-21 20:56:17 CET ERROR: relation 71478240 deleted while still
in use
2007-03-21 20:56:17 CET ERROR: relation 71478240 deleted while still
in use

on 8.1.8 my production server here.
some inserts/updates, selects, and pg_dump was running.
there's a chance cluster was running in http://dupa.privatepaste.com/
d317KYXt5n

It is repeatable, if I run pg_dump. Guess that has something to do,
with slowing down db server - and some race cond occurs.
Any ideas ?
should I add it as a bug ? or perhaps someone already knows about
that kinda issue

--
Grzegorz Jaskiewicz

C/C++ freelance for hire

#2Heikki Linnakangas
heikki@enterprisedb.com
In reply to: Grzegorz Jaskiewicz (#1)
Re: relation 71478240 deleted while still in use on 8.1

Grzegorz Jaskiewicz wrote:

I got :

2007-03-21 20:56:17 CET ERROR: relation 71478240 deleted while still in
use
2007-03-21 20:56:17 CET ERROR: relation 71478240 deleted while still in
use
2007-03-21 20:56:17 CET ERROR: relation 71478240 deleted while still in
use

on 8.1.8 my production server here.
some inserts/updates, selects, and pg_dump was running.
there's a chance cluster was running in
http://dupa.privatepaste.com/d317KYXt5n

It is repeatable, if I run pg_dump. Guess that has something to do, with
slowing down db server - and some race cond occurs.
Any ideas ?
should I add it as a bug ? or perhaps someone already knows about that
kinda issue

Which transaction gets the error, pg_dump or the one you copied to that
web page? Is there anything else running? How often does it happen,
always? Can you reduce it to a self-contained test case that doesn't
require dblink?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Grzegorz Jaskiewicz (#1)
Re: relation 71478240 deleted while still in use on 8.1

Grzegorz Jaskiewicz <gj@pointblue.com.pl> writes:

should I add it as a bug ?

Only if you can reproduce it in 8.2 --- what it looks like to me is a
relcache-opening race condition, which is (believed) fixed in 8.2 and
is not feasible to fix in older branches.

regards, tom lane

#4Grzegorz Jaskiewicz
gj@pointblue.com.pl
In reply to: Tom Lane (#3)
Re: relation 71478240 deleted while still in use on 8.1

On Mar 21, 2007, at 11:25 PM, Tom Lane wrote:

Grzegorz Jaskiewicz <gj@pointblue.com.pl> writes:

should I add it as a bug ?

Only if you can reproduce it in 8.2

okie dokie, I am moving the DB onto 8.2 next week (120M of rows, and
8.2 does sorting much faster).

--
Grzegorz Jaskiewicz

C/C++ freelance for hire

#5Grzegorz Jaskiewicz
gj@pointblue.com.pl
In reply to: Tom Lane (#3)
Re: relation 71478240 deleted while still in use on 8.1

okay, I got it. The main reason behind it - is that I do drop table
in transaction. Every 10 minutes. So during that period, when
'replication' is running - the thing becomes unstable, and this error
can appear.

--
Grzegorz Jaskiewicz

C/C++ freelance for hire