IBM Support

LI75136: DB2 LICENSE DAEMON (DB2LICD) HOLDS OPEN FILES AND SOCKETS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 environments where a per user license policy
    is enabled,  an application calling a DB2 API can
    trigger the license daemon to be started.  On Unix
    systems,  the license daemon will inherit all of the
    parent process' file handles.  The license daemon
    is a long-running process,  and so any inherited
    file handles (which include sockets) will be held
    open indefinitely.
    

Local fix

  • Modify the application so that it does not open files
    or sockets in a mode which allows them to be inherited
    by any child processes.
    
    In environments where this is not possible (such
    as a 3rd party application),  the license daemon
    can be started on the command line by typing
    'db2licd'.  This ensures it will not be spawned
    from an application process.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all Unix                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In DB2 environments where a per user license policyis        *
    * enabled,  an application calling a DB2 API cantrigger the    *
    * license daemon to be started.  On Unixsystems,  the license  *
    * daemon will inherit all of theparent process' file handles.  *
    * The license daemonis a long-running process,  and so any     *
    * inheritedfile handles (which include sockets) will be        *
    * heldopen indefinitely.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * apply DB2 v9.5 FixPack 6.                                    *
    ****************************************************************
    

Problem conclusion

  • The license daemon now closes all inherited file handles.
    
    The fix is present in DB2 v9.5 FixPack 6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75136

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-03

  • Closed date

    2010-05-25

  • Last modified date

    2010-05-25

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

    LI73804

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

    IC66289 IC66290

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
14 October 2021