IBM Support

IZ54595: mib2 uses very high CPU calling getprocs on AIX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Issue: mib2 uses very high CPU calling getprocs on AIX
    
    AIX (5.3) SSM 4.0 FP7
    
    when mib2 subagent loaded seems to be a number of
    getprocs() calls in the truss output, roughly one per process
    running on the machine. On the sick node, seen tens out
    thousands of calls to getprocs(), stopping only when he had to
    Unix kill the agent.
    
    subagent load mib2
    Custmer had one of his Unix SAs run a 'truss' on the agent
    
    he did this, and this was what appeared over and over and over
    while the agent was showing "busy" on the console:
    
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    ...
    (thousands of identical lines)
    ...
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    getprocs(0x208F0CB8, 920, 0x00000000, 0, 0x208F0CB0, 1) = 1
    

Local fix

  • Work Around: This performance problem will be exploited if any
    rule is defined to monitor mib-2.system on the host
    
    
    This will be addressed in the scheduled release in FP8.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of SSM 4.0 on AIX
    ****************************************************************
    PROBLEM DESCRIPTION:
    In rare cases on some AIX machines, the agent spins on startup
    (in the "getprocs" function).
    ****************************************************************
    RECOMMENDATION:
    Upgrade to Fix Pack 8 for SSM 4.0.
    ****************************************************************
    

Problem conclusion

  • Completely removed the unnecessary and flawed loop which called
    getprocs in mib2 on AIX.
    
    The fix for this APAR is contained in the following maintenance
    packages:
    | fix pack | 4.0.0-TIV-SSM-FP0008
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ54595

  • Reported component name

    NETCOOL SYS SVC

  • Reported component ID

    5724P4300

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2009-07-06

  • Closed date

    2009-07-27

  • Last modified date

    2009-07-27

  • 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

    NETCOOL SYS SVC

  • Fixed component ID

    5724P4300

Applicable component levels

  • R400 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCP7NT","label":"Netcool System Service Monitor"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"400","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 July 2009