Author |
Message
|
xujinq |
Posted: Mon Mar 11, 2013 4:35 am Post subject: Active log is full (AIX) |
|
|
Newbie
Joined: 10 Mar 2013 Posts: 5
|
hi , one of qmgr active log used 14GB's space , it cased the whole file system /var/mqm/log reach 100% used . I checked all the log being in use , and less message stay in queues . how can i remove these active logs ?
Thanks a lot . |
|
Back to top |
|
 |
zpat |
Posted: Mon Mar 11, 2013 4:46 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Circular logs?
Look for long running open transactions. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Mar 11, 2013 5:57 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
Look for new or recently modified applications. One of 'em might be in an endless loop. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
xujinq |
Posted: Mon Mar 11, 2013 7:11 am Post subject: |
|
|
Newbie
Joined: 10 Mar 2013 Posts: 5
|
thank you all .
I am not sure if they are circular logs . but even if i found out which app modified , how can i release the logs ? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 11, 2013 7:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
xujinq wrote: |
even if i found out which app modified , how can i release the logs ? |
Stop the app and force a rollback. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
xujinq |
Posted: Mon Mar 11, 2013 7:33 am Post subject: |
|
|
Newbie
Joined: 10 Mar 2013 Posts: 5
|
Vitor wrote: |
xujinq wrote: |
even if i found out which app modified , how can i release the logs ? |
Stop the app and force a rollback. |
Yes, i can stop App and all the channel also can be stop , but i have no idea about force rollback , could you pls list me the commands or something more details ? thank you so much ... |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 11, 2013 7:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
xujinq wrote: |
Vitor wrote: |
xujinq wrote: |
even if i found out which app modified , how can i release the logs ? |
Stop the app and force a rollback. |
Yes, i can stop App and all the channel also can be stop , but i have no idea about force rollback , could you pls list me the commands or something more details ? thank you so much ... |
I meant stop the app to make the app do a rollback. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Mar 11, 2013 2:32 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
xujinq wrote: |
thank you all .
I am not sure if they are circular logs . but even if i found out which app modified , how can i release the logs ? |
One of the first things to determine in the case of logs filling a file system is are they linear or circular. Linear is the most likely culprit, and an automated linear log clean up script is not running.
Its unlikely that a single UOW is consuming anywhere near 14GB. If the logs fill MQ will probably roll back large UOWs anyway. _________________ Glenn |
|
Back to top |
|
 |
xujinq |
Posted: Tue Mar 12, 2013 6:12 pm Post subject: |
|
|
Newbie
Joined: 10 Mar 2013 Posts: 5
|
-------------------------------------------
LogDefaults:
LogPrimaryFiles=5
LogSecondaryFiles=2
LogFilePages=4096
LogType=LINEAR
LogBufferPages=512
LogDefaultPath=/var/mqm/log
-------------------------------------------
It's LINERAR logs , now it's difficult to do application roll back , coz this is testing environment , and i do not have the contacts for application team, the msg in the active log should be unwanted , is there any other options to clean all of them ? |
|
Back to top |
|
 |
xujinq |
Posted: Tue Mar 12, 2013 7:40 pm Post subject: Problem resolved , Thank you all. |
|
|
Newbie
Joined: 10 Mar 2013 Posts: 5
|
---------------------------------------------
rcdmqimg -m <QMGR> -l -t all \*
---------------------------------------------
I found this command can realse the unwanted active logs.
Thanks for all of you .  |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 12, 2013 10:43 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
The LogFilePages default of 4096 is too small, I set mine at 16384. |
|
Back to top |
|
 |
exerk |
Posted: Wed Mar 13, 2013 2:01 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
xujinq wrote: |
-------------------------------------------
LogDefaults:
LogPrimaryFiles=5
LogSecondaryFiles=2
LogFilePages=4096
LogType=LINEAR
LogBufferPages=512
LogDefaultPath=/var/mqm/log
-------------------------------------------
It's LINERAR logs , now it's difficult to do application roll back , coz this is testing environment , and i do not have the contacts for application team, the msg in the active log should be unwanted , is there any other options to clean all of them ? |
Allocate more disk if possible, just to give yourself breathing room, then manage redundant logs - there are at least two Support Pacs that will do it for you. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
exerk |
Posted: Wed Mar 13, 2013 2:03 am Post subject: Re: Problem resolved , Thank you all. |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
xujinq wrote: |
---------------------------------------------
rcdmqimg -m <QMGR> -l -t all \*
---------------------------------------------
I found this command can realse the unwanted active logs.
Thanks for all of you .  |
And if the log space (disk) is full how do you expect the queue manager to cut additional logs to write all that information to? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 13, 2013 3:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you looked at the support packs for linear log maintenance? (ex MS0L) ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|