If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Impossible deadlock situation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-24-04, 21:20
LeBoepp LeBoepp is offline
Registered User
 
Join Date: Mar 2004
Location: Germany - Stuttgart
Posts: 2
Question Impossible deadlock situation

We're running multiple jobs simultaneously, which internally do kindly the same.
(Which means, they always perform queries on the same tables, in the same order.)

Example:

set lock mode to wait
set wait time to 180 (which is quite long, imho)
select table a for update...
update something in table a...


Now, if there are (let's say) 20 jobs doing the same thing (with different data content, of course) simultaneously, Informix frequently returns ISAM-Error -143 (which is: "deadlock detected").

From my point of view, deadlocks are not possible in this kind of processing.

As i ascertained, Informix queues requests internally, processing them one by one.
Is there a limit of concurrent requests that Informix can handle?
If so, is there a environment variable one can set?

Looks like Informix gets mixed up handling a certain amount of concurrent requests.

Thanks for comments and proposals...
Reply With Quote
  #2 (permalink)  
Old 03-24-04, 23:06
dananio dananio is offline
Registered User
 
Join Date: Mar 2002
Posts: 112
re

which mode does your table set ? (page,row)
My site was encountered this problem a month ago and have bee solved,
Can you set value of OPTCOMPIND parameter to 0 and run your command again (table lock mode = row)
Reply With Quote
  #3 (permalink)  
Old 03-25-04, 04:37
LeBoepp LeBoepp is offline
Registered User
 
Join Date: Mar 2004
Location: Germany - Stuttgart
Posts: 2
Table is set to row-lock

Our tables are set to row-lock.

I will try this option as soon as i reach a db-admin.
I'll inform you on the results.

Thanks!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On