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 4 of 11 Topic 15422 of 17602
Post > Topic >>

Re: Deadlock situation?

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 29, 2008 at 10:20 PM

"Dan Armbrust" <daniel.armbrust.list@[EMAIL PROTECTED]
> writes:
> I had to restart postgres to let things recover - so I can't gather
> any more info right now - but if/when it happens again, I'd like to
> know what else to gather.

Well, there went the evidence :-( ... but what exactly did you have
to do to shut it down?  I'm wondering whether the backends responded
to SIGINT or SIGTERM.

Next time, it'd be good to confirm (with top or vmstat or similar)
whether the backends are actually idle or are eating CPU or I/O.
Also try strace'ing a few of them; the pattern of kernel calls if
any would be revealing.

The lack of deadlock re****ts or 't' values in pg_stat_activity.waiting
says that you weren't blocking on heavyweight locks.  It's not
impossible that there was a deadlock at the LWLock level, though.

What sort of indexes are there on this table?  Teodor just fixed
an issue in GIN indexes that involved taking an unreasonable number of
LWLocks, and if that code wasn't exposing itself to deadlock risks
I'd be pretty surprised.

			regards, tom lane

-- 
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 19:41:29 CST 2008.