Skip to main content

Swap memory full

Comments

10 comments

  • cPRex Jurassic Moderator
    Hey there! It really depends on the resources being used on the system. It would be best to evaluate what is causing so much swap to be used, and then you would be able to decide if increasing it will help the situation, or just lead to a bigger swap area getting full again. If you are only using 50% of your RAM, is seems odd to me that swap would be completely full already. Since this area isn't controlled by cPanel, you may need to reach out to your host to confirm the hardware is working properly on the system.
    0
  • retechpro
    Hey there! It really depends on the resources being used on the system. It would be best to evaluate what is causing so much swap to be used, and then you would be able to decide if increasing it will help the situation, or just lead to a bigger swap area getting full again. If you are only using 50% of your RAM, is seems odd to me that swap would be completely full already. Since this area isn't controlled by cPanel, you may need to reach out to your host to confirm the hardware is working properly on the system.

    How can i verify why limit has been reached. Also how can i decrease now as it has been full. which thing i need to verify to my server provider related to hardware.
    0
  • quietFinn
    Linux systems usually use swap before the RAM memory is full. This will tell what is the swappiness parameter: cat /proc/sys/vm/swappiness
    0
  • retechpro
    Linux systems usually use swap before the RAM memory is full. This will tell what is the swappiness parameter: cat /proc/sys/vm/swappiness

    my ram always free 50%. output of the command is : 10 what can i do now.
    0
  • quietFinn
    swappiness value 10 means that swap will be used when RAM is 90% full. That would indicate that in some point more than 90% of memory has been used. I found instructions how to clear swap:
    0
  • cPRex Jurassic Moderator
    We have some more details about dealing with swap here:
    0
  • retechpro
    Already checked this post. I restart the server and it goes to 0. I"m monitoring now if it happen again then will update you. Thank you
    0
  • PeteS
    We have some more details about dealing with swap here:
    0
  • retechpro
    I"m facing the issue again and again as my ram always free 50%. I did not found the reason behind it yet.
    0
  • cPRex Jurassic Moderator
    @retechpro - did you check the article I posted a few responses up? @PeteS - done!
    0

Please sign in to leave a comment.