Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Deadlock si...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 11 Topic 15422 of 17602
Post > Topic >>

Re: Deadlock situation?

by daniel.armbrust.list@[EMAIL PROTECTED] ("Dan Armbrust") Apr 30, 2008 at 11:17 AM

>  I wonder whether you saw some variant of the deadlock re****ted in bug
>  #3883 --- see discussion here:
>  http://archives.postgresql.org/pgsql-hackers/2008-01/msg00873.php
>  The only known way of getting into that problem is fixed in 8.3,
>  but a potential for silent deadlock is definitely still there.
>  I don't however have any idea how such a deadlock could occur without
>  at least some processes showing as 'waiting' in pg_stat_activity.
>
>  Do you have any idea what the transactions that were blocked at
>  COMMIT had been doing?

Should have just been selects and updates, and perhaps some inserts
and deletes - nothing to out of the ordinary or complex.

If I can get this to happen consistently, I'll set up a logger to
capture all of the SQL statements leading up to the freeze.

>
>  Are there any foreign key constraints leading *to* this table?

Nope.

Unfortunately, I had been running for a couple of weeks steady before
I got the error - so reproducing it may not be quick.  But I'm going
to set up a couple of parallel tests on more systems, and see if I can
happen into it again sooner.

Oh, and I don't think though should have anything to do with it, but I
did discover that fsync was turned off on this postgres instance.
Someone else didn't clean up after a different test, and I forgot to
change it back.

Thanks,

Dan

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 11 Posts in Topic:
Deadlock situation?
daniel.armbrust.list@[EMA  2008-04-29 16:54:48 
Re: Deadlock situation?
erik@[EMAIL PROTECTED] (  2008-04-29 17:10:31 
Re: Deadlock situation?
daniel.armbrust.list@[EMA  2008-04-29 17:30:55 
Re: Deadlock situation?
tgl@[EMAIL PROTECTED] (T  2008-04-29 22:20:06 
Re: Deadlock situation?
alvherre@[EMAIL PROTECTED  2008-04-29 18:33:59 
Re: Deadlock situation?
daniel.armbrust.list@[EMA  2008-04-30 09:55:25 
Re: Deadlock situation?
tgl@[EMAIL PROTECTED] (T  2008-04-30 11:33:35 
Re: Deadlock situation?
daniel.armbrust.list@[EMA  2008-04-30 11:17:23 
Re: Deadlock situation?
dan@[EMAIL PROTECTED]   2008-04-30 13:36:15 
Re: Deadlock situation?
daniel.armbrust.list@[EMA  2008-05-01 10:38:46 
Re: Deadlock situation?
scott.marlowe@[EMAIL PROT  2008-05-01 10:44:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 18:49:01 CST 2008.