473,385 Members | 1,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

commit active -- forever

hi I am using DB2 V9.5 but there is a IMPORT 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, import 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.

Jun 27 '08 #1
1 2996
never mind, problem solved by doing a complete removal of all system IPC.
"kw.housing" <kw********@gmail.comwrote in message
news:fu**********@rumours.uwaterloo.ca...
hi I am using DB2 V9.5 but there is a IMPORT 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, import 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.

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bob Jones | last post by:
I am using SQL server 2000 with Uniface (4GL). I am running a process which commits every 30 seconds or so on one machine and another user is trying to perform a small update at the same time on...
8
by: Martin Staael | last post by:
When doing a UPDATE on a very large table it can take quite a long time due to the commit/rollback option. Is there any way on the client side to disable the commit/rollback option so that UPDATE...
1
by: Fan Ruo Xin | last post by:
Hi, I ran a couple of testing today. One of them I ran the following: (1). truncate mytbl. (4 db partitions; Version8.1 + FixPak5) (2) run "import from myfile.del of del insert into myble" I...
0
by: Matteo Gelosa | last post by:
I experienced (twice) a problem with db2 for aix 5 64 bits fixpak 9a. Some application was listed with the status "Commit Active" blocking the transaction log a making it full after some time. ...
1
by: Scott Cupstid | last post by:
We are working on a VB.NET application using SQLClient command objects to post data to the underlying SQL Server 2000 database. The application is deployed in a multi-user environment with no more...
9
by: Anurag | last post by:
ENVIRONMENT: ============ (1) AIX 5.2 ML 8 and AIX 5.3 TL 4. (2) DB2 ESE on some servers and DB2 Connect Enterprise Edition on others. QUESTION: ========= I upgrade DB2 on some 15 Production...
7
by: m.gelosa | last post by:
Dear all, I got a problem on db2 for aix running a high workload messaging system with more than 5,000,000 of deliveries per day. During high peak hours it happens frequently that the...
0
by: m.gelosa | last post by:
Dear all, I wrote some weeks ago about a problem with all the committing transactions blocked for many seconds in a Commit Active state. Well, finally I solved it and I just would like to share...
1
by: kw.housing | last post by:
hi I have a "import from flatfile into table" command which takes 100 seconds to finish by itself. However, when I run this import under UR concurrence mode, this import hangs (but not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.