IBM Support

IT20450: MEMORY STATISTICS ARE NOT OK

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The values for the memory info used in the WebUI and the memory
    monitoring output are retrieved from /proc/meminfo.  On a
    non-docker
    setup that usually results in:
    
    MemoryTotalBytes derived from: MemTotal * 1024
    MemoryFreeBytes derived from:
    ( MemFree + Buffers + Cached - Shmem ) if ( Cached > Shmem ) *
    1024
    ( MemFree + Buffers ) if ( Cached < Shmem ) * 1024
    
    where MemTotal, MemFree, Buffers, Cache and Shmem are all taken
    directly from /proc/meminfo.
    
    This will be changed in order to look at available memory from
    /proc/meminfor
    

Local fix

  • run sync; echo 3 > /proc/sys/vm/drop_caches in order to free up
    more memory
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of MessaheSight V2.0 Server/WebUI
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When available memory is calculated, we add the value of
    "Buffers" and "Cache" to "MemFree" (all from /proc/meminfo), but
    we don't add "SReclaimable" so it can appear we've run out of
    memory when we haven't.
    

Problem conclusion

  • Use SReclaimable when reading /proc/meminfo and adding that to
    the count of free memory for correct output
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT20450

  • Reported component name

    MSGSIGHT VIRT E

  • Reported component ID

    5725S1700

  • Reported release

    200

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-04

  • Closed date

    2018-10-24

  • Last modified date

    2018-10-24

  • 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

    MSGSIGHT VIRT E

  • Fixed component ID

    5725S1700

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSCGGQ","label":"IBM MessageSight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 October 2018