Excessive RAM consumption, Why?

Hi,

I hired a VPS with 4vcores and 8gb of RAM, but I saw from the monitoring panel that the RAM was too much (too much consumption). So I have expanded 8Gb more ram. Now I have 16GB of RAM, but the problem is exactly the same.

I use WHM (CPanel) + LiteSpeed. I don't understand why there is so much RAM consumption. can anyone help?

!m2|690x361

!m3|690x460

!m1|690x442

UP of this post as I have the same issue on my 2 VPS and don't understand why

Try the command htop in Linux. You can see how much RAM is being consumed. The graph on the 'Monitor' tab in the dashboard is not correct. Perhaps the RAM usage expands as more RAM is consumed. It might be a setting of the virtual machine. I noticed that the CPU graph also fluctuates similarly to the RAM graph. In htop, you can see how much RAM is being consumed and how much is available.

Let me know if I helped you solve the problem. Feedback is always appreciated! :grinning_face_with_smiling_eyes:

Beside the htop command you can have something more analytical. You can sign in to the free account at https://www.netdata.cloud/ https://www.netdata.cloud/ , install their client in your server (it's really easy) and you will get a tone of information regarding your system.

Your high RAM usage is likely due to WHM/cPanel and LiteSpeed consuming significant resources. Check:

  1. Apache & MySQL Usage – Optimize settings in WHM.
  2. LiteSpeed Cache – Ensure it's properly configured.
  3. Background Processes – Use top or htop to find heavy consumers.
  4. Swap Usage – High swap usage indicates memory issues.

Try tweaking LiteSpeed settings and optimizing MySQL to reduce RAM usage.