Maximun ram used on virtualmin/ubuntu server


A simple ubuntu server(VPS) with 2Gb of ram.
Memory is used at 90/95 %.

I have just one domain with wordpress and mysql.

How can I check which process is using that much memory and why?


If your VPS is not secured, it might be brute force attacks on your ports that causes the high memory usage. Install LFD/CSF or any firewall software.


That could be a variety of things.

What is the output of these commands:

ps auxw uptime free -m mailq | tail -1

Those will show what all is going on in your server, and then we can troubleshoot based on what we see there.