IBM Support

SE50050 - WMQ COMMANDS LEAK HEAPSPACE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 APAR (Authorized Program Analysis Report)

Abstract

WMQ COMMANDS LEAK HEAPSPACE

Error Description

An MQ application job created and deleted a queue for every    
message that was processed. Job runs for weeks at a time.      
Eventually job errors and went to Message Wait status. FDC:    
PIDS :- 5724H7206                                              
LVLS :- 6.0.2.10                                                
Product Long Name :- WebSphere MQ for iSeries                  
Vendor :- IBM                                                  
Probe Id :- XC005003                                            
Application Name :- MQM                                        
Component :- xcsGetMem                                          
SCCS Info :- lib/cs/unix/as400/amqxspgx.c, 1.15.1.1            
Line Number :- 242                                              
Build Date :- Aug 25 2010                                      
CMVC level :- p600-210-100825                                  
UserID :- -00196608 (QPGMR)                                    
Job Name :- 555758/QPGMR/xxxxxxxxx                              
Activation Group :- 17 (QMQM) (QMQM/LIBMQM)                    
Max File Handles :- 2048                                        
Process :- 00780455                                            
QueueManager :- XXXXX                                          
ConnId[1] IPCC :- 1317841                                      
Major Errorcode :- xecS_I_PRIVATE_MEMORY_ERROR                  
Minor Errorcode :- OK                                          
Probe Type :- MSGAMQ6091                                        
Probe Severity :- 4                                            
Probe Description :- AMQ6091: An internal WebSphere MQ error has
FDCSequenceNumber :- 0                                          
Arith1 :- 26656 0x'6820'                                        
Arith2 :- 0                                                    
Comment1 :- malloc failed.                                      
----                                                            
MQM Function Stack                                              
uscRunCommand                                                  
uscRunIT                                                        
uscReply                                                        
xcsGetMem                                                      
xcsFFST                                                        
                                                               
After dumping the job, the job may then hit the MCH6903 (or may
not)                                                            
Problem was recreatable internally, although it looks like it  
too well over 200,000 mq commands for the heap leaking to run  
out of storage.                                                

Problem Summary

****************************************************************
USERS AFFECTED:                                                
WMQ users running commands repeatedly over an extensive period  
of time                                                        
                                                               
Platforms affected:                                            
iSeries                                                        
                                                               
****************************************************************
PROBLEM SUMMARY:                                                
WMQ code was not properly cleaning up buffers created for the  
MQSC parser which runs in the background when certain WMQ      
commands are called. This could lead to memory leaks when those
commands are run repeatedly over an extended period of time.    

Problem Conclusion

WMQ code has been modified to properly delete all unused buffers
in the MQSC parser.                                            
                                                               
---------------------------------------------------------------
The fix is targeted for delivery in the following PTFs:        
                                                               
                   v6.0                                        
Platform           Fix Pack 6.0.2.12                            
--------           --------------------                        
iSeries            tbc_p600_0_2_12                              
                                                               
                   v7.0                                        
Platform           Fix Pack 7.0.1.8                            
--------           --------------------                        
iSeries            7.0.1.8                                      
                                                               
                   v7.1                                        
Platform           Fix Pack 7.1.0.0                            
--------           --------------------                        
iSeries            7.1.0.1                                      
                                                               
The latest available maintenance can be obtained from          
'WebSphere MQ Recommended Fixes'                                
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
                                                               
If the maintenance level is not yet available information on    
its planned availability can be found in 'WebSphere MQ          
Planned Maintenance Release Dates'                              
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
---------------------------------------------------------------

Temporary Fix

Comments

Circumvention


PTFs Available

Affected Modules

         
         

Affected Publications

Summary Information

Status............................................ CLOSED PER
HIPER........................................... No
Component.................................. 5724H7206
Failing Module.......................... RCHMGR
Reported Release................... R600
Duplicate Of..............................




System i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG15Q","label":"APARs - OS\/400 General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"V6R0M0;V6R0M1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
23 November 2011