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: Hung SQL Up...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 15500 of 17437
Post > Topic >>

Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1

by tgl@[EMAIL PROTECTED] (Tom Lane) May 9, 2008 at 07:49 PM

Craig Vosburgh <craig.vosburgh@[EMAIL PROTECTED]
> writes:
> We've dumped the locks and it shows that all locks have been granted so
> it appears that it is not a lock that is standing in our way.  We've
> also gone in via psql while the update is hung and were able to perform
> an update on the offending table without issue.  Finally, we have also
> enabled the statement_timeout and set it to five minutes and it does
> timeout the hung update and return to normal processing by rolling back
> the offending transaction but that's not a viable solution for us.

> Anyone have any words of wisdom on how to track this down?

For starters, attach to the hung backend with gdb and get a stack trace
...

			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
 




 2 Posts in Topic:
Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1
craig.vosburgh@[EMAIL PRO  2008-05-09 16:57:05 
Re: Hung SQL Update Linux Redhat 4U5 Postgres 8.3.1
tgl@[EMAIL PROTECTED] (T  2008-05-09 19:49:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 11:52:26 CST 2008.