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 IndexGeneral IBM MQ SupportQmgr restart time long

Post new topicReply to topic
Qmgr restart time long View previous topic :: View next topic
Author Message
KIT_INC
PostPosted: Mon Jun 26, 2017 11:39 am Post subject: Qmgr restart time long Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 521

We are running MQ V8 on Linux. QM1 is a MI Qmgr.
Our last failover restart of the Qmgr took almost an hour.

The last log in AMQERR01.LOG shows
AMQ7229: 2818260 log records accessed on queue manager 'QMCGWPR1' during the log replay phase.

QM1 is a MI Qmgr and its log config is

Log:
LogPrimaryFiles=30
LogSecondaryFiles=5
LogFilePages=65535
LogType=CIRCULAR
LogBufferPages=0
LogPath=/remote-var/mqm/log/QM1/
LogWriteIntegrity=TripleWrite

This Qmgr is used as a gateway on a big cluster and has no applications running. (i.e. all processes are MQ processes and mostly channel related). There could be a few hundred cluster channel running at any point in time. I do not expect there is any long running transaction. The channel batch size is 50 and all persistent messages.
I am just wondering why it has to access almost 3 million record to restart.

Where should I start to look ?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 26, 2017 4:43 pm Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 7823
Location: US: west coast, almost. Otherwise, enroute.

What command did you use to shut the qmgr down?
_________________
I didn't know that Schrdinger had a cat.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Jun 26, 2017 4:55 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1702
Location: Melbourne, Australia

Quote:
I am just wondering why it has to access almost 3 million record to restart. Where should I start to look ?

Look at the curdepth of all the local queues. Look at persistent messages on these queues.
_________________
Glenn
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Jun 26, 2017 5:09 pm Post subject: Reply with quote

Jedi Council

Joined: 15 May 2001
Posts: 7368

Check your Current and Saved Channel Statuses for any In Doubts.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 27, 2017 12:55 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 5700

And if using large persistent messages it's a good idea to keep the batch size down low rather than leave it at the default.
_________________
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
Andyh
PostPosted: Tue Jun 27, 2017 1:55 am Post subject: Reply with quote

Centurion

Joined: 29 Jul 2010
Posts: 146

By defining a log with 35 extents, each of 256MB you've allowed the queue manager to need to replay up to almost 9GB at QM restart.
It would be unusual for the queue manager to need to replay more than about 50,000 log records and so either you've got HUGE transactions (your append suggests otherwise), or the checkpoint process in the previously active queue manager had failed in some manner.
Were any FDC's reported on the old active QMgr, in particular any FDC's from either amqzmuc0 or amqzxma0 ?
Have you raised a PMR ?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportQmgr restart time long
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.