Author |
Message
|
lnm |
Posted: Thu Dec 16, 2004 12:00 pm Post subject: Number of Log files....when is it too many??? |
|
|
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 |
|
 |
Nigelg |
Posted: Thu Dec 16, 2004 12:12 pm Post subject: |
|
|
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 |
|
 |
lnm |
Posted: Thu Dec 16, 2004 12:29 pm Post subject: |
|
|
Apprentice
Joined: 12 Mar 2002 Posts: 43 Location: Florida
|
Thank you Nigel....do you work with IBM? |
|
Back to top |
|
 |
vennela |
Posted: Thu Dec 16, 2004 12:36 pm Post subject: |
|
|
 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 |
|
 |
lnm |
Posted: Thu Dec 16, 2004 1:38 pm Post subject: |
|
|
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 |
|
 |
PeterPotkay |
Posted: Thu Dec 16, 2004 1:59 pm Post subject: |
|
|
 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 |
|
 |
csmith28 |
Posted: Thu Dec 16, 2004 2:10 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Dec 16, 2004 3:51 pm Post subject: |
|
|
 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 |
|
 |
Nigelg |
Posted: Thu Dec 16, 2004 10:55 pm Post subject: |
|
|
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 |
|
 |
lnm |
Posted: Fri Dec 17, 2004 5:36 am Post subject: |
|
|
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 |
|
 |
Nigelg |
Posted: Fri Dec 17, 2004 6:08 am Post subject: |
|
|
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 |
|
 |
csmith28 |
Posted: Mon Dec 20, 2004 5:17 pm Post subject: |
|
|
 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 |
|
 |
|