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 > IBM DB2 > commit active ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 8830 of 9056
Post > Topic >>

commit active -- forever

by "kw.housing" <kw.housing@[EMAIL PROTECTED] > Apr 25, 2008 at 02:37 PM

hi   I am using DB2 V9.5   but there is a  IM****T transaction that will 
never be able to commit itself.
Its status is forever "Commit Active", and is taking 12% CPU, and not 
waiting on any lock.

The transactions is set table to not logged initially, im****t all data,
then 
commit. It hangs on the last
"commit" command.


I did a db2pd -edu and saw it is running as follows:

EDU ID    TID            Kernel TID     EDU Name 
USR          SYS
====================================================================================================
3086      3086           635527         db2agent (DB) 1 
263.196480     2.164422

Then I saw from db2pd -agent that it is using process 287150,

ddress            AppHandl [nod-index] AgentEDUID Priority   Type    
State 
ClientPid  Userid   ClientNm Rowsread   Rowswrtn   LkTmOt
0x078000000024ACC0 65594    [001-00058] 3086       0           Coord 
Inst-Active 287150     user1 db2bp    345        0          NotSet


so I do a truss on it:

$ truss -p 287150
__semop(0, 0x0000000000000000, 0) (sleeping...)

so what is this semaphore about, and how could i fix it?   thanks.
 




 2 Posts in Topic:
commit active -- forever
"kw.housing" &l  2008-04-25 14:37:58 
Re: commit active -- forever
"kw.housing" &l  2008-04-25 14:50:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Sun Jul 6 20:10:24 CDT 2008.