IBM Support

PQ60984: GETHOSTBYNAME FAILS WITH ERRNO 121 EINVAL CAUSING ANYNET TO SENDSENSE 80040000 CODE TO NEW SESSIONS, NEW SESSION NOT ESTABLISHED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a large number of ANYNET sessions are established, some
    new sessions get a sense 80040000 and new sessions can't be
    established.  This happens because gethostbyname() fails with
    an EINVAL (errno 121).  The select call issued by EZBRERSN
    fails with reason code 11200264 indicating the descriptor list
    passed to select is too short to contain the specified number
    of file descriptors.  The mask is not large enough to contain
    the file descriptor that the socket is using.  The resolver
    trace will show message:
    res_send Sending query to Name Server xx.xx.xx.xx
     BPX1SOC:  RetVal = 0, RC = 0, Reason = 0x00000000
     BPX1STO:  RetVal = 60, RC = 0, Reason = 0x00000000
     BPX1SEL:  RetVal = -1, RC = 121, Reason = 0x11200264
    .
    This will occur for each nameserver defined.
    .
    This is a route of LE APAR PQ60647.
    

Local fix

  • Code the names in the local host files.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the Communications Server for   *
    *                 z/OS Version 1 Release 2 and 4 IP: Resolver  *
    ****************************************************************
    * PROBLEM DESCRIPTION: A gethostbyname failed with an errno    *
    *                      of 121 (EINVAL) during the select       *
    *                      syscall to receive a response from a    *
    *                      domain name server.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The application had exceeded the number of defined sockets that
    were available for a select issued by the resolver.
    +-------------------------------------------------------------+
    + Please check our Communications Server for OS/390 homepages +
    + for common networking tips and fixes.  The URL for these    +
    + homepages can be found in Informational APAR II11334.       +
    +-------------------------------------------------------------+
    

Problem conclusion

  • The resolver is changed to remove the select call and use
    asynchronous calls to request information from a domain name
    server.
    
    * Cross Reference between External and Internal Names
    

Temporary fix

Comments

APAR Information

  • APAR number

    PQ60984

  • Reported component name

    TCP/IP V3 MVS

  • Reported component ID

    5655HAL00

  • Reported release

    120

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2002-05-09

  • Closed date

    2002-06-07

  • Last modified date

    2002-07-03

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

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

    UQ67008 UQ67009

Modules/Macros

  • EZBRECMD EZBREFMT EZBRELST EZBRERSN
    

Fix information

  • Fixed component name

    TCP/IP V3 MVS

  • Fixed component ID

    5655HAL00

Applicable component levels

  • R120 PSY UQ67008

       UP02/06/27 P F206

  • R140 PSY UQ67009

       UP02/06/27 P F206

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"120","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCY4DZ","label":"DO NOT USE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"120","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 July 2002