ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Active log is full (AIX)

Post new topic  Reply to topic
 Active log is full (AIX) « View previous topic :: View next topic » 
Author Message
xujinq
PostPosted: Mon Mar 11, 2013 4:35 am    Post subject: Active log is full (AIX) Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Mon Mar 11, 2013 4:46 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Circular logs?

Look for long running open transactions.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Mar 11, 2013 5:57 am    Post subject: Reply with quote

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
View user's profile Send private message
xujinq
PostPosted: Mon Mar 11, 2013 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Mar 11, 2013 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
xujinq
PostPosted: Mon Mar 11, 2013 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Mar 11, 2013 7:39 am    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Mon Mar 11, 2013 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
xujinq
PostPosted: Tue Mar 12, 2013 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
xujinq
PostPosted: Tue Mar 12, 2013 7:40 pm    Post subject: Problem resolved , Thank you all. Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Mar 12, 2013 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Wed Mar 13, 2013 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Wed Mar 13, 2013 2:03 am    Post subject: Re: Problem resolved , Thank you all. Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 13, 2013 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Active log is full (AIX)
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.