dbTalk Databases Forums  

Need deadlock code.

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Need deadlock code. in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
intmail01@gmail.com
 
Posts: n/a

Default Need deadlock code. - 12-17-2006 , 12:16 PM






Hello,

My software based on bdb crashed each time many process accesses the
same data base. It occurs only when one process tries to update the end
of database, all others do not crash and can read the data writen. No
problem if just one process update the db. I think it is a deadlock but
I am not sure. This problem occurs after a put() function.
I do not use "write" flag when I open a cursor. Each process open a
cursor( inside the database) that not set anywhere. There are no
transaction.

Could you send me some lines of sample code that show a deadlock and
crash the program. I can not send my code because it becomes very long
and too complex nowadays.

Thank you.


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.