IBM Support

IV30911: BY DEFAULT LOG FILES CAN GROW UNLIMITED IN SIZE. IN ADDITION THE DOCUMENTATION SAYS THE DEFAULT LIMIT IS 102400 BYTES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Product: Tivoli Network Manager
    Version:  3.8, 3.9
    Component: Log file rotation
    
    
    Problem: By default, there is no limit to the size logs can grow
    to. In addition the documentation needs to be updated to say
    the default limit is 1GB and add a note on estimating log space
    for planning.
    

Local fix

  • UNIX: modify  ncp_control.sh to check if NDE_LOGFILE_MAXSIZE
    and NDE_LOGFILE_ROTATION_TIME variables have been set.  If
    neither exists, then set NDE_LOGFILE_MAXSIZE to 1GB.
    
    
    No change for Windows, except the documentation should note that
    there is no default limit to the log size and users should set a
    limit using the NDE system environment variables if desired.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users in Unix Platforms                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The ncp_poller process crashes due to trace files reaching 2 *
    * GB in size. By default, there is no size limit on the log    *
    * files for Network Manager core processes. When their size    *
    * reaches 2 GB, the logs cause a core dump or stop logging     *
    * depending on the operating system.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * The following fix packs will contain the fix:                *
    * | fix pack | 3.8.0-ITNMIP-FP0007                             *
    * | fix pack | 3.9.0-ITNMIP-FP0003                             *
    * Install 3.9 fixpack 3 or 3.8 Fp3 then perform following post *
    * installation:                                                *
    *                                                              *
    * POST INSTALLATION                                            *
    * =======================                                      *
    *                                                              *
    * Please manually add the following changes in                 *
    * $NCHOME/precision/install/templates/ncp_control.sh to        *
    * $NCHOME/precision/bin/ncp_control.sh:                        *
    *                                                              *
    * # Check if NDE_LOGFILE_MAXSIZE and NDE_LOGFILE_ROTATION_TIME *
    * have been set.                                               *
    * # If neither exists, then set NDE_LOGFILE_MAXSIZE to 1GB.    *
    * if [ -z "$NDE_LOGFILE_MAXSIZE" ]  && [ -z                    *
    * "$NDE_LOGFILE_ROTATION_TIME" ]; then                         *
    *     NDE_LOGFILE_MAXSIZE=1000000000; export                   *
    * NDE_LOGFILE_MAXSIZE                                          *
    * fi                                                           *
    ****************************************************************
    

Problem conclusion

  • On UNIX systems, ncp_control.sh checks if the
    NDE_LOGFILE_MAXSIZE and the NDE_LOGFILE_ROTATION_TIME variables
    have been set. If neither of them exists, then the
    NDE_LOGFILE_MAXSIZE environment variable is set to 1GB. Note
    that setting NDE_LOGFILE_MAXSIZE to 1 GB is only done if the
    user has not set the NDE environment variables for the account
    running the Netowrk Manager core processes.
    
    On Windows systems, there is no default limit to the log size,
    if required, set a limit using these variables as system
    environment variables.
    
    The following fix packs will contain the fix:
    | fix pack | 3.8.0-ITNMIP-FP0007
    | fix pack | 3.9.0-ITNMIP-FP0003
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV30911

  • Reported component name

    TIV NETWK MGR I

  • Reported component ID

    5724S4500

  • Reported release

    390

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-10-29

  • Closed date

    2012-12-07

  • Last modified date

    2012-12-07

  • 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

    TIV NETWK MGR I

  • Fixed component ID

    5724S4500

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSHRK","label":"Tivoli Network Manager IP Edition"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.9","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 August 2023