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 > DB2 > force application not terminating the APP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-24-10, 17:59
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
force application not terminating the APP

I am facing a strage error in DB2 V9.7 which I noticed in two different databases. I am on AIX 6.1 . I am seeing one of the application getting struck in executing phase. Its not getting terminated through force application command as well. Nothing gets changed in the application snapshot. If I take an application snapshot now and another one after one hour and do a diff, the only difference is the snapshot timestamp.

This process is in executing phase from two days. Let me know if anyone had gone through this type of issue or any ways to trouble shoot this issue.

When this issue happened first time, I tried to bounce the instance with db2stop force. It didn't work as the stop force command tries to force off all the applications before it stops the instance and as this application didn't get forced off, db2stop force was just hanging. I had to issue db2_kill and restart the instance after which this applicaton has gone away. But I am now seeing the same issue again.

Any suggestions ?
Reply With Quote
  #2 (permalink)  
Old 03-24-10, 19:47
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Quote:
Originally Posted by blazer789 View Post
any ways to trouble shoot this issue.
The best is to collect several call stacks to see what's happening. For this problem, I'd suggest to open a pmr.

Last edited by db2girl; 03-24-10 at 19:50.
Reply With Quote
  #3 (permalink)  
Old 03-25-10, 08:49
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
Thanks Bella. I'll do that.
Reply With Quote
  #4 (permalink)  
Old 03-26-10, 10:05
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
This application which got struck in executing phase was holding the dirty pages in the logs and resulted in throwing these warning messages db2diag.log. I posted in the below thread.

error messages in db2diag.log
Reply With Quote
  #5 (permalink)  
Old 04-01-10, 16:30
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
Finally it turns out to be an issue with IOCP on AIX 6.1 TL4.
Who ever is using AIX 6.1 TL4, please be aware of application getting hung in executing phase and doesn't terminate through force application. Have to issue db2_kill.

This issue is because of IOCP on AIX 6.1 TL4. I believe AIX PMR team has already been engaged by DB2 PMR team to work on this issue.

Work around is to stay in AIX 6.1 TL3 or lower version

OR

Turn IOCP usage off in db2. If you are in DB2 V9.5, IOCP usage is turned off by default. But if you are in DB2 V9.7 IOCP need to be exclusively turned off -> db2set DB2_USE_IOCP=OFF as the default in V9.7 is 'ON'. With this workaround, one can still stay in AIX 6.1 TL4 but the problem is you cannot take advantage of the new page cleaning behaviour which uses IOCP.
Reply With Quote
  #6 (permalink)  
Old 04-22-10, 08:00
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
AIX apar for this issue is IZ74508 . AIX has finally released an ifix, IZ74508.100416.epkg.Z, for this issue which can be applied on AIX6.1- TL04 SP1, TL04 SP2 and TL04 SP3
Reply With Quote
  #7 (permalink)  
Old 04-22-10, 13:21
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Just want to add that this AIX APAR is HIPER and the info about it will be added to the following doc soon:
IBM - Known issues for DB2 on AIX 5.2, 5.3, and 6.1
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