IBM Support

IY61508: 64BIT APPLICATION GIVES ERROR/HANG WITH NIS+

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When 64bit application is using NIS+ for accessing
    password information its getting process hang due
    to looping or simply error msg. For the hang behavior
    he can see "clnt_dg_create out of memory" errors in
    the syslog Log file. Looping is observed when "ulimit -n"
    value is set to 'unlimited'.
    

Local fix

  • Setting "ulimit -n" to 32768 helps to overcome process
    looping behavior.
    

Problem summary

  • If "ulimit -n" is set to unlimited then 64bit applicaiton
    will hang while using NIS+ for password information.
    The hung process will have following dbx output:
    
    (dbx) where
    _sigsetmask(??, ??, ??) at 0x90000000022a95c
    sigthreadmask(??, ??, ??) at 0x90000000022b844
    thr_sigsetmask(??, ??, ??) at 0x90000000026c80c
    unlockExclusive__14NisMappedCacheFP8sigset_t(??, ??) at
    0x900000000293d6c
    lockShared__14NisMappedCacheFP8sigset_t(??, ??) at
    0x900000000293f04
    __ct__14NisMappedCacheFR9nis_errori(??, ??, ??) at
    0x900000000293630
    __ct__14NisClientCacheFR9nis_error(??, ??) at
    0x9000000002924ac
    __nis_CacheInit(??) at 0x900000000290584
    __nis_CacheRefreshAddress(??) at 0x9000000002914e4
    nis_handle(??, ??, ??, ??) at 0x9000000002b5e04
    __nis_get_server(??) at 0x9000000002b72a4
    __nis_remote_lookup(??, ??, ??, ??, ??) at 0x9000000002ba2d0
    nis_list(??, ??, ??, ??) at 0x90000000028e654
    __nis_list_localcb(??, ??, ??, ??) at 0x90000000028bb2c
    nisplus_getpwuid(??) at 0x90000000020d2e8
    _getpwuid_shadow_r(??, ??, ??, ??, ??) at 0x90000000008f1b0
    getpwuid(??) at 0x900000000092e08
    main(0x200000002, 0xffffffffffffaa0) at 0x100000468
    
    You can see lots of occurance of following message: syslog
    root@hope:/etc/> cat syslog.err | grep "syslog: clnt_dg_create
                     : out of memory" | wc -l
          56
    

Problem conclusion

  • Correction in the RPC authentication for 64bit application.
    Correction to check whether "ulmit -n" is unlimited for 64bit
    application as well.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY61508

  • Reported component name

    AIX 5L FOR POWE

  • Reported component ID

    5765E6100

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2004-09-01

  • Closed date

    2004-09-01

  • Last modified date

    2004-10-29

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

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

    IY61608

Fix information

  • Fixed component name

    AIX 5L FOR POWE

  • Fixed component ID

    5765E6100

Applicable component levels

  • R510 PSY U499130

       UP04/10/29 I 1000

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11N","label":"APARs - AIX 5.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"510","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 October 2004