ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Deadlocks in WBI 5.0

Post new topic  Reply to topic
 Deadlocks in WBI 5.0 « View previous topic :: View next topic » 
Author Message
mqsidude
PostPosted: Mon Feb 28, 2005 4:57 am    Post subject: Deadlocks in WBI 5.0 Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

Hi folks,

In one of our projects, i see the following problem happening with WBI 5.0.3 + DB2 8.1.6.

SQL State '40001' SQL Native Error Code '-911' SQL Error Text '[IBM][CLI Driver][DB2/6000] SQL0911N The current transaction has been rolled back because of a deadlock or timeout. Reason code "68". SQLSTATE=40001 '

The flow is a simple one as following:

MQInput -> ComputeNode1 -> MQOuput -> ComputeNode2

Where

* ComputeNode1 inserts a row into a table
* ComputeNode2 updates the same row
* The whole flow is under global transaction
* Transaction Mode properties are set to Automatic in all applicable nodes


This problem seems to be common with DB2 lower versions (< 7). The reponses in this forum point at tuning few DB2 instance parameters although none of posts gave exact solution.

Can anyone of you who have faced this problem in WBI environment and solved this post your experiences and exact solution?

-Crony
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 28, 2005 5:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So you're trying to Update an uncommitted Insert?

Why wouldn't that deadlocK?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mqsidude
PostPosted: Tue Mar 01, 2005 3:35 am    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

Jeff,

The updatation is due to some business requirement. And this is working most of the time. Only a fraction of the total messages are landing up in error queue with the given exception.

Any suggestions are appreciated.

-Crony
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 01, 2005 5:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, if it is an intermittent problem, then I misunderstood the transactional boundaries.

In that case, talk to your DBA. They should be able to work with you to identify the volume patterns that cause the deadlock, and work with you to tune the system to meet the requirements.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JT
PostPosted: Tue Mar 01, 2005 6:44 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Do some reasearch on the DB2 command: db2set DB2_RR_TO_RS=YES. It disables 'next key-locking' and supposedly improves deadlocks during heavy workloads.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Deadlocks in WBI 5.0
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.