Forum Discussion

amintej's avatar
amintej
Icon for Cirrus rankCirrus
Sep 15, 2017

Swap memory

Hello, one of our load balancers have a high use (more than 65%) of Swap memory, however TMM memory is under 20%. Do you know how to troubleshot why swap is high ?

 

3 Replies

  • Hello Amintej,

    If you want to know which processes are swapping you can launch this command :

    for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less

    The output will show a ranking of the most consuming swap process.

    After that you can check the following doc. to know what is the function of each process in your system.

    https://support.f5.com/csp/article/K13444

    Hope it helps

    Regards

  • Hi Amintej,

    • "java" is used by tomcat that provides the BIG IP Configuration Utility
    • "errdefsd" is used by the HSL (High Speed Logging) over the management interface
    • "icrd_child" is used by the icontrol Rest API
    • "scriptd" runs application template implementation scripts when an application service is created or updated.

    How many objects do you have in your the LTM ?

    Maybe you will need to increase the allocated memory for the Management (MGMT) module from the GUI "System ›› Resource Provisioning"

    Options include Small, Medium, and Large. Use Large for configurations containing more than 2000 objects, or more specifically, for any configuration that exceeds 1000 objects per 2 GB of installed memory. Changing the Management (MGMT) size after initial provisioning causes a reprovision operation.

    You can also check the memory usage with

    tmsh show /sys memory
    

    Also check the /var/log/ltm to view if you have explicit alerts...

    If you don't find any key for you problem upload a qkview and open a case

    Hope it helps regards

  • Hi,

     

    Can you provide the version of your BigIP?

     

    one of my customer have a High Swap utilization since 13.0 upgrade. he opened a support case about it.