Layer7 API Management

Expand all | Collapse all

Memory FULL in Production

Jump to Best Answer
  • 1.  Memory FULL in Production

    Posted 06-02-2020 01:47 PM
    Hi,

    Good Morning,

    In production we are using two node Cluster. Memory utilization is almost 100% in both the nodes. how to overcome this approch..


    Thanks in Advance!

    Surya.


  • 2.  RE: Memory FULL in Production
    Best Answer

    Posted 06-03-2020 09:02 AM
    It really depends on various factors.
    1. Latency and number of calls per node.
    2. Policy code
    3. Logging
    4. Active listeners.
    Have a look at this document and try to find out the root cause.
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-3/learning-center/thinking-in-policy/policy-performance-optimization.html

    Regards
    Abhi


  • 3.  RE: Memory FULL in Production

    Posted 06-03-2020 05:23 PM
    Thanks Abhi for the Quick response..

    Regards,
    Surya


  • 4.  RE: Memory FULL in Production

    Posted 06-03-2020 10:57 AM
    Linux will use as much memory as it can for buffers and cache, so it will always appear "full" after a period of time as more things are cached. Buffers/cache can always be reclaimed for use by programs that need more memory. So, from the screenshot you provided, there is actually 19G available for use. No need to worry, all is well.

    -David Armistead
    First Citizens Bank
    Raleigh, NC


  • 5.  RE: Memory FULL in Production

    Posted 06-03-2020 05:23 PM
    Thanks David For Quick Response.

    Regards,
    Surya.


  • 6.  RE: Memory FULL in Production

    Posted 06-03-2020 04:57 PM
    That's a misunderstanding of that data. In Linux systems, all unused RAM is allocated for write buffers and read buffers.

    So your system has 1.0 G of disk IO write buffers, and 18.0 G of Disk IO read buffers. That means that the gateway process is using probably around 13 G RAM, which is perfectly normal. If the gateway process needs more RAM, the OS will shrink the read and write buffers.

    ------------------------------
    Architect
    Broadcom
    ------------------------------



  • 7.  RE: Memory FULL in Production

    Posted 06-03-2020 05:25 PM
    Thanks Jay for Quick response, so everything looks cool, so no need to take any action rite?

    Regards,
    Surya.


  • 8.  RE: Memory FULL in Production

    Posted 06-03-2020 07:27 PM
    No, if anything, this instance has too much RAM. 19G free of 32 is a bit over-provisioned.

    ------------------------------
    Architect
    Broadcom
    ------------------------------