| Author | Message | 
		
		  | chanduy9 | 
			  
				|  Posted: Wed Jul 02, 2003 5:46 am    Post subject: AMQ7469 & AMQ7469 |   |  | 
		
		  | Disciple
 
 
 Joined: 28 Nov 2001Posts: 177
 Location: USA
 
 | 
			  
				| Hi, 
 I am getting the following errors:
 ------------------
 AMQ7469: Transactions rolled back to release log space.
 
 EXPLANATION:
 The log space for the queue manager is becoming full. One or more long-running
 transactions have been rolled back to release log space so that the queue
 manager can continue to process requests.
 ACTION:
 Try to ensure that the duration of your transactions is not excessive. Consider
 increasing the size of the log to allow transactions to last longer before the
 log starts to become full.\
 --------
 AMQ9511: Messages cannot be put to a queue
 
 EXPLANATION:
 The attempt to put messages to queue 'EDIPITS01.DEAD.LETTER.Q' on queue manager
 'EDIPITS01' failed with reason code 2003.
 ACTION:
 Ensure that the required queue is available and operational.                   ------------
 
 when I created the Queue manager I haven't specified # log files it took default # log files...later i updated qmgrs qm.ini file..still I am getting these errors...do I need to restart the Qmgr..or is there any other way...
 
 Thanks in advance,
 Chandra.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | interactivechannel | 
			  
				|  Posted: Wed Jul 02, 2003 8:22 am    Post subject: |   |  | 
		
		  | Voyager
 
 
 Joined: 20 May 2003Posts: 94
 Location: uk
 
 | 
			  
				| I think a restart is necessary. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | PeterPotkay | 
			  
				|  Posted: Wed Jul 02, 2003 6:46 pm    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 15 May 2001Posts: 7723
 
 
 | 
			  
				| If you change the # of primary or secondary logs, the QM must be restarted and even then the effect may not be immediate. 
 If you change the Log Buffer pages, the QM must be restarted.
 
 You cannot change Log File size (LogPageSize) or type of logging (circular vs linear). These are set only at crtmqm time.
 _________________
 Peter Potkay
 Keep Calm and MQ On
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | GMcCarthy | 
			  
				|  Posted: Mon Jul 07, 2003 9:07 am    Post subject: |   |  | 
		
		  |  Centurion
 
 
 Joined: 06 Nov 2001Posts: 113
 Location: Melville NY
 
 | 
			  
				| I am currently struggling with a similar issue. My log files seem to be at the default of 4m each. I am currently running 55 primary and 8 secondary (the limit). How large can I make each log file?. I know I would need to recreate the qmgr. I am currently running WMQ 5.3 on AIX 4.3.3. _________________
 Regards,
 Gina
 
 IBM Certified MQSeries Specialist
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | GMcCarthy | 
			  
				|  Posted: Mon Jul 07, 2003 9:17 am    Post subject: |   |  | 
		
		  |  Centurion
 
 
 Joined: 06 Nov 2001Posts: 113
 Location: Melville NY
 
 | 
			  
				| Nevermind...figured it out.  _________________
 Regards,
 Gina
 
 IBM Certified MQSeries Specialist
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | PeterPotkay | 
			  
				|  Posted: Mon Jul 07, 2003 9:21 am    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 15 May 2001Posts: 7723
 
 
 | 
			  
				| You can make each log file up to 16,384. So that would be 16364 x 4096 = 67,108,864 bytes. 
 But you can only do this if you delete your queue manager, and then when you are recreating it, specify the larger size.
 
 crtmqm –lc –lf 16384 –lp 55 –ls 8 QMNAME
 
 This will take quite a while (plus 5 minutes), as the system allocates all this log space (55 x 67,108,864 = about 3.5 GIG).
 _________________
 Peter Potkay
 Keep Calm and MQ On
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | GMcCarthy | 
			  
				|  Posted: Mon Jul 07, 2003 9:27 am    Post subject: |   |  | 
		
		  |  Centurion
 
 
 Joined: 06 Nov 2001Posts: 113
 Location: Melville NY
 
 | 
			  
				| Peter, 
 Thanks...
 
 
 Do i have to specify it during the crtmqm or will it use mqs.ini ?
 
 Also, does this seem feasible to build my log system this size (to me this is huge) to accomodate long running transactions or have the application folks figure out how to do intermediate commits to relieve log space.
 _________________
 Regards,
 Gina
 
 IBM Certified MQSeries Specialist
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | PeterPotkay | 
			  
				|  Posted: Mon Jul 07, 2003 8:06 pm    Post subject: |   |  | 
		
		  |  Poobah
 
 
 Joined: 15 May 2001Posts: 7723
 
 
 | 
			  
				| you have to do it at crtmqm, since that is when MQ allocates the space on the hard drive. Changing the ini file will make it LOOK like you have made bigger logs, but I am sure if you go a nd check your logs after making this type of change, you will find the size is still the same as when you created the QM. 
 I would do both. There is no reason an app should need that much log space under normal conditions, in 99.999999% of the the cases. And as such it should be coded to insure that it never does.
 
 On the other hand, 3.5 gig is not really that big nowadays. I would be surprised if you were dealing with a server without that much space available just for MQ logs (don't forget to add in the space needed for the secondaries). Go ahead and create the log files as big as possible. It cant hurt.
 _________________
 Peter Potkay
 Keep Calm and MQ On
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |