IBM Support

IZ90121: WMQ APPLICATION FAILS TO CONNECT TO QUEUE MANAGER AND RECEIVES FDC XY029004 WHEN SOCKET DESCRIPTOR EXCEEDS FD_SETSIZE(1024)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A WebSphere MQ application fails to connect to the queue
    manager and receives the following FDC:
    
    Probe Id          :- XY029004
    Component         :- xllOurSocket
    Major Errorcode   :- xecX_E_RESOURCE_ERROR
    Probe Type        :- INCORROUT
    Probe Description :- AMQ6125: An internal WebSphere MQ error has
    occurred
    Arith2            :- 1024 (0x400)
    Comment1          :- Socket number 1054 exceeds fd_setsize(1024)
    
    MQM Function Stack
    Java_com_ibm_mq_jmqi_local_internal_base_Native_MQCONNX
    MQCONNX
    zstMQCONNX
    zstMQConnect
    ziiMQCONN
    ziiConnectToAgent
    zcpAttachPipe
    xcsRequestMutexSem
    xllRequestSocketMutex
    xcsFFST
    
    This problem occurs for applications that use a large number of
    file descriptors such as MQ Java applications running in
    WebSphere Application Server (WAS) or in any other application
    server.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users running WebSphere MQ V7 applications which use more than
    1024 file descriptors in a single process; for example a JVM
    running inside an application server which runs WebSphere MQ
    applications.
    
    Platforms affected:
    All Unix
    
    ****************************************************************
    PROBLEM SUMMARY:
    WebSphere MQ uses select or poll system calls for file
    descriptor multiplexing. The select system call fails with
    EBADF error when the "number of file descriptors" argument
    exceeds the FD_SETSIZE limit in some conditions on some
    platforms. This error causes the failure in MQCONN.
    

Problem conclusion

  • WebSphere MQ has been modified to allow applications to use
    poll instead of select for file descriptor multiplexing.
    
    To enable WebSphere MQ to use poll, export the environment
    variable AMQ_DONT_USE_SELECT_FOR_SOCKMTX to a non null value.
    The export of this environment variable should be performed in
    the applications environment.
    
    Example:
    
    export AMQ_DONT_USE_SELECT_FOR_SOCKMTX=1
    Restart the queue manager, listener and the applications
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
                       v7.0
    Platform           Fix Pack 7.0.1.5
    --------           --------------------
    AIX                U839183
    HP-UX (PA-RISC)    U839621
    HP-UX (Itanium)    U839626
    Solaris (SPARC)    U839622
    Solaris (x86-64)   U839628
    Linux (x86)        U839623
    Linux (x86-64)     U839627
    Linux (zSeries)    U839624
    Linux (Power)      U839625
    
    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

APAR Information

  • APAR number

    IZ90121

  • Reported component name

    WMQ LIN X86 V7

  • Reported component ID

    5724H7224

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-12-03

  • Closed date

    2010-12-23

  • Last modified date

    2013-01-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WMQ LIN X86 V7

  • Fixed component ID

    5724H7224

Applicable component levels

  • R701 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1"}]

Document Information

Modified date:
06 October 2021