High RAM Usage on Virtualmin

| SYSTEM INFORMATION|
|------------------------------|-------------------------------|
| OS type and version | Debian 12 |
| Webmin version | 2.202 |
| Virtualmin version | 7.20.2 |

My VPS has 6 GB RAM and 4 GB of Swap memory.

Within a week, it’s usage reach to 100% and mariadb stops because of OOM. Once, I reboot or update any package real memory usage drops to 15%
I don’t have much traffic and hosted only 5 websites. I have no idea, how to resolve this issue.

Using something like TOP should show you whats cause the high ram usage.
No one can tell you what going on without more information.

Yes, but what type of websites and what are they doing might help us.
are they simple static sites (obviously not with a db involved)

does the memory use creep up or does it coincide with particular use/time/event?

This is current TOP output sorted by memory usage.
I have 3 WordPress websites and 2 PHP sites. I have few more WordPress installations.

@iauth,

WordPress sites can utilize a lot of system resources depending on their theme, plugins, how many plugins and popularity of the site.

1 Like

I see in this screenshot the clamav usage which consuming 22.7% of the memory.
Try disabling Anti-Virus and enable SPAM defense.
Also observe the indications of the @tpnsolutions

1 Like