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 Discussion » Number of Log files....when is it too many???

Post new topic  Reply to topic
 Number of Log files....when is it too many??? « View previous topic :: View next topic » 
Author Message
lnm
PostPosted: Thu Dec 16, 2004 12:00 pm    Post subject: Number of Log files....when is it too many??? Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

IBM indicates that it's better to have bigger log sizes than more logs.
Up until recently, we ran fine with the default 3prim/2sec. Then we started getting errors about the messages rolling back due to log space. This happened intermittently, so we tested and have a plan to increase the log space......Recreating the Qmanager with the following command:

crtmqm –lf 12800 <qmgrname>

to create the queue manager with 12800 as the LogFileSize – which will allow each log file to be approximately 50MB. We will retain the default amount of primary log files (3) and secondary log files (2). This will allow a total of 250MB for the log files.

Then another app started experiencing the same issue, so I increased the number of logs to 20 pri/5 sec. giving us about 100MB total space and this seems to solve the issue.

My question is....how many logs is too many? Should I bother with changing the size of the logs if we plan to go to Linear logging in the next year. Is 20 prim/5 sec too many? IBM doesn't give you an idea on where it tips to too many logs.

Any help would be appreciated.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Thu Dec 16, 2004 12:12 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

It never tips to too many logs. The log sizing guide (sys admin manual) is there for you to size your logs if you want to, but if you just specify the maximum number of logs of the max size it is fine.
Back to top
View user's profile Send private message
lnm
PostPosted: Thu Dec 16, 2004 12:29 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

Thank you Nigel....do you work with IBM?
Back to top
View user's profile Send private message
vennela
PostPosted: Thu Dec 16, 2004 12:36 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

He is an IBMer.
You can see Hursley in the location
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lnm
PostPosted: Thu Dec 16, 2004 1:38 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

Sometimes I"m so observant! lol Thanks for pointing out the obvious!
Can someone tell me whether increasing the number of LogBufferPages would also be beneficial.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Dec 16, 2004 1:59 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Yes, set it to 512.

Any server nowadays can handle the max values for all MQ log attributes.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
csmith28
PostPosted: Thu Dec 16, 2004 2:10 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

I have one MQManager that is maxed out on an AIX P-Series Server. It has 60 primary logs and 3 secondary all them are 64meg. It runs just fine.

/var/mqm/log is it's own separate filesystem 5gig. The logs use up 3.8gig and the filesystem is 79% full.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 16, 2004 3:51 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Any particular reason for keeping the primaries around so long ?

We run with 2 primaries and 50 secondaries. Online backup every night.
We backup between 1 to 5 logfiles a day.
File size is about 50 MB.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Nigelg
PostPosted: Thu Dec 16, 2004 10:55 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

You should not believe everything you read here. Anybody could put Hursley in their location.
Back to top
View user's profile Send private message
lnm
PostPosted: Fri Dec 17, 2004 5:36 am    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

OK Nigel....so does that mean you are or are not from IBM?
Can you tell me where I can find more information on how the LogBufferPages is used?
Back to top
View user's profile Send private message
Nigelg
PostPosted: Fri Dec 17, 2004 6:08 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

What it means is that the posts I make to this forum are not the official word from IBM, just me talking.
LogBufferPages are described in the System Admin manual
Back to top
View user's profile Send private message
csmith28
PostPosted: Mon Dec 20, 2004 5:17 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Nigelg wrote:
What it means is that the posts I make to this forum are not the official word from IBM, just me talking.
LogBufferPages are described in the System Admin manual


It also means that claims of Certification are as much as pointless aswell because it takes and act of a Diety to confirm.

All the posts on this forum should be taken as just and individual talking. Well not just talking so much. All of us try to provide the best advice possible under the circumstances.

Not one of us here is 100% right all the time but I would like to think we score in the high 90%'s.

But then that is the point of this whole site. We post, we share, we learn, we teach.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Number of Log files....when is it too many???
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.