dbTalk Databases Forums  

Transaction Log Full . No application ID listed

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Transaction Log Full . No application ID listed in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gladiator
 
Posts: n/a

Default Transaction Log Full . No application ID listed - 09-16-2011 , 01:01 AM






Hello All ,

The transaction log gets filled up by some unknown application. We
recieve the below message in the db2diag.log

There is no application ID being listed.

ADM1823E The active log is full and is held by application handle
"". Terminate this application by COMMIT, ROLLBACK or FORCE
APPLICATION.


We observered there are some indoubt transactions . Commiting /
Rolling back those transactions doesn't get the log usage back to
normal. We had to restart the instance every time.

Any workarounds for this issue without restarting the instance ??


Thanks,
Kamalnath.V

Reply With Quote
  #2  
Old   
rmarcosa
 
Posts: n/a

Default Re: Transaction Log Full . No application ID listed - 09-16-2011 , 03:40 AM






On Sep 16, 8:01*am, Gladiator <vkamalnath1... (AT) gmail (DOT) com> wrote:
Quote:
Hello All ,

The transaction log gets filled up by some unknown application. We
recieve the below message in the db2diag.log

There is no application ID being listed.

ADM1823E *The active log is full and is held by application handle
* * * * * "". *Terminate this application by COMMIT, ROLLBACKor FORCE
* * * * * APPLICATION.

We observered there are some indoubt transactions . Commiting /
Rolling back those transactions doesn't get the log usage back to
normal. We had to restart the instance every time.

Any workarounds for this issue without restarting the instance ??

Thanks,
Kamalnath.V
db2 LIST INDOUBT TRANSACTIONS WITH PROMPTING

and then commit or rollback the indoubt transactions

Ricardo Marcos Alonso
http://www.blogdb2.com

Reply With Quote
  #3  
Old   
Lennart Jonsson
 
Posts: n/a

Default Re: Transaction Log Full . No application ID listed - 09-16-2011 , 04:59 AM



On 2011-09-16 08:01, Gladiator wrote:
Quote:
Hello All ,

The transaction log gets filled up by some unknown application. We
recieve the below message in the db2diag.log

There is no application ID being listed.

ADM1823E The active log is full and is held by application handle
"". Terminate this application by COMMIT, ROLLBACK or FORCE
APPLICATION.


We observered there are some indoubt transactions . Commiting /
Rolling back those transactions doesn't get the log usage back to
normal. We had to restart the instance every time.

Any workarounds for this issue without restarting the instance ??
Not exactly the same problem as you are describing, but we had problems
with transactions that never where committed or rollbacked, i.e. spanned
a lot of logs. I've detected those via:

select
x.agent_id,
substr(z.corr_TOKEN,1,12) as ip,
cast(y.stmt_text as varchar(800)) as stmt,
x.locks_held,
x.APPL_IDLE_TIME,
x.UOW_START_TIME
from sysibmadm.SNAPAPPL x
join sysibmadm.snapstmt y
on x.agent_id = y.agent_id
join sysibmadm.SNAPAPPL_INFO z
on x.agent_id = z.agent_id
where UOW_STOP_TIME is null
and TIMESTAMPDIFF(8,CHAR(current_timestamp - UOW_START_TIME)) > 8
order by UOW_START_TIME;

and then forced the agent(s) holding the transaction. This was for LUW
9.5 a couple of fixpaks ago. I have not heard of the problem recently so
perhaps the problem is fixed in either the application or in one of the
more recent fixpaks.


/Lennart

Reply With Quote
  #4  
Old   
stefan.albert
 
Posts: n/a

Default Re: Transaction Log Full . No application ID listed - 09-19-2011 , 05:26 AM



On Sep 16, 8:01*am, Gladiator <vkamalnath1... (AT) gmail (DOT) com> wrote:
Quote:
Hello All ,

The transaction log gets filled up by some unknown application. We
recieve the below message in the db2diag.log

There is no application ID being listed.

ADM1823E *The active log is full and is held by application handle
* * * * * "". *Terminate this application by COMMIT, ROLLBACKor FORCE
* * * * * APPLICATION.

We observered there are some indoubt transactions . Commiting /
Rolling back those transactions doesn't get the log usage back to
normal. We had to restart the instance every time.

Any workarounds for this issue without restarting the instance ??

Thanks,
Kamalnath.V
Sounds strange... how are your monitor settings (db2 get dbm cfg)?

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.