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 » Log size for circular logging.

Post new topic  Reply to topic
 Log size for circular logging. « View previous topic :: View next topic » 
Author Message
kdorre
PostPosted: Wed Feb 12, 2003 2:32 pm    Post subject: Log size for circular logging. Reply with quote

Novice

Joined: 17 Jul 2002
Posts: 15
Location: New Zealand

All

Anyone out there got some advice on the number and size primary and secondary logs for a queue manager expected to handle up to 90 meg messages?

I am resolving some issues with MQ rolling back transactions because the logs are becoming full. This generally happens during times of peak processing. The MQ error log shows AMQ7469 and the application (Java) is getting 2003s.

Currently the queue manager has been defined with Linear Logging (the original consultant recommended this, however the reasons for choosing LL seem no longer valid) log size 4000 8 primary and 8 secondary. (It’s a windows platform)

My client is not averse to redefining the queue manager with circular logging as long as the message size can be handled. We did a quick snap shot and figured that the queue manager could possibly be handling 52 messages with an average size of 4 megs concurrently.

Advice would be greatly appreciated.

K
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
bduncan
PostPosted: Wed Feb 12, 2003 2:46 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

In addition to the fact that messages can be up to 90Mb, it is also very important to know what the throughput of these messages during peak times are. You mention the queue manager can handle about 52 4Mb messages concurrently. If we assume 1 second processing time, does your system come close to 50 messages per second during peak times? I've always preferred circular logging over linear logging. Bear in mind however that circular logging doesn't guarantee you won't run out of log space. If a single outstanding unit of work exceeds the total circular log size, the queue manager can't obviously start overwritting the same unit of work on top of itself, so it'll be forced to back the entire UOW out. So many people have asked about log size considerations... One of these days I need to sit down and write a real in depth article on it - if only I can find the time!
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
kdorre
PostPosted: Wed Feb 12, 2003 6:43 pm    Post subject: Reply with quote

Novice

Joined: 17 Jul 2002
Posts: 15
Location: New Zealand

Brandon

From what I can tell processing does take a long time, which makes the log situation more critical.

I have seen some of the larger files, 18 meg zipped, take approx an hour to process. Let’s just say the system has to do a lot with the incoming data!

However the design of the system says that if a message has failed we will try again. Usually the message will process after that because system activity has decreased.

Am I correct in (roughly) calculating that the parms
-ll -lf 1000 -lp 10 & -lp 10 will give me approx 40 meg primary and 40 meg secondary? This was the original config of the qmgr on windows.

So I think maybe redefining the queue manager to have lc –lf 4000 –lp 15 & -ls 15 might give me enough.

I’m sure that log sizing is not the black art that it seems to be, however a little more guidance from the IBM manuals would be helpful I suppose.
_________________
life, liberty and the persuit of happiness
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
bduncan
PostPosted: Thu Feb 13, 2003 10:57 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Yeah, the manuals seem to be a little deficient when it comes to log sizing considerations. Rather than worry about possible failures, and rather than sitting down and doing extensive calculations to come up with a precise configuration, I've tended to err on the side of caution and use a large number of secondaries (near the maximum of 63 I believe). If all goes well, most of those should never get allocated. And I can look at the number that have been allocated after a long period of time, and this can give me a decent measuring stick of what my peak activity required in the way of logs (because secondaries are never deallocated).
And yes, the logs are 4Mb per "unit", so if you set 10, you should end up with 40Mb log files...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
kdorre
PostPosted: Thu Feb 13, 2003 11:46 am    Post subject: Reply with quote

Novice

Joined: 17 Jul 2002
Posts: 15
Location: New Zealand

Brandon

Thanks for that.

I will take the large and many approach

K
_________________
life, liberty and the persuit of happiness
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
TonyD
PostPosted: Thu Feb 13, 2003 1:53 pm    Post subject: Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

Supportpac MP16 (Capacity Planning and Tuning for MQSeries for OS/390!) has a section on the Log Manager (Appendix B). I don't know how applicable this is to MQ logging on Unix platforms but, after allowing for the obvious differences, I found it useful. After all, the MVS log is circular, and the data that is logged is basically the same.
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 Discussion » Log size for circular logging.
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.