IBM Support

Resource shortage in MQ queue manager in Linux, Probe ID XC035040 from pthread_create, error xecP_E_PROC_LIMIT

Question & Answer


Question

You are running a large number of clients against an IBM MQ queue manager in Linux and you want to know why there are FDC files showing resource shortage: 
   probeid XC035040 from pthread_create.
An example of the FDC is:
| Probe Id :- XC035040
| Component :- xcsCreateThread
| Program Name :- amqrmppa
| Major Errorcode :- xecF_E_UNEXPECTED_SYSTEM_RC
| Probe Description :- AMQ6119: An internal WebSphere MQ error has occurred
| ('11 - Resource temporarily unavailable' from pthread_create.)
| Arith1 :- 11 (0xb) | Comment1 :- '11 - Resource temporarily unavailable' from | pthread_create.
.
Sometimes, there is an additional entry:
| Probe Id :- ZS401010
| Component :- zstStartAsyncConsumeThread
| Major Errorcode :- xecP_E_PROC_LIMIT
| Probe Description :- AMQ6026: A resource shortage prevented the creation of a WebSphere MQ process.

Cause

- MQ sets the error code xecP_E_PROC_LIMIT  when pthread_create or fork fails with EAGAIN.
- MQ sets the error code xecP_E_NO_RESOURCE when pthread_create or fork fails with ENOMEM.

See online manual:

Linux : https://www.ibm.com/docs/en/ibm-mq/9.4?topic=linux-additional-checks-resource-problems
        IBM MQ / 9.4 / Additional checks for resource problems on Linux

AIX :   https://www.ibm.com/docs/en/ibm-mq/9.4?topic=aix-additional-checks-resource-problems
        IBM MQ / 9.4 / Additional checks for resource problems on AIX

Answer

+++ See attached PDF file:
Resource shortage, XC035040 from pthread_create, xecP_E_PROC_LIMIT_1.pdf
+ tags: 
Author: Angel Rivera; Mahesh Ponnuswamy; Rich Montjoy;
+++ end +++

[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m3p000000PCHKAA4","label":"Configuration"}],"ARM Case Number":"TS012519279","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"All Versions"}]

Product Synonym

WMQ MQ MQSeries

Document Information

Modified date:
04 September 2024

UID

swg21588655