Webmin/Virtualmin on EC2 is shutting down every n' hours (need shell restart)

Operating system: Debian
OS version:10
EC2 instance

I’ve setup 2 server the same.
On a EC2 instance (AWS) Debian 10 and virtuamin: Virtualmin shutdown every n’ hours and I have to restart it from the shell (everything else is working fine).

On an HP server I have on my desk for test, Debian 10 and virtuamin: Virtualmin is working fine.

Before I create a cronjob to check webmin is up and restart it id there something I should check ?

Seems like an Out of Memory error. Hope you have disabled ClamAV - that sometimes eats up RAM on VPSs and causes services to fail.

No need to configure cron manually, if you wish to restart webmin when it fails. You can do so via the Webmin GUI, see https://doxfer.webmin.com/Webmin/System_and_Server_Status

Thank you for your kind answer.

It make me look at the config and tight everything.
I had very little swap memory and so I increased it to 1gb and added a monitor for webmin. :sunglasses:

          total        used        free      shared  buff/cache   available
Mem:            994         329         225          63         439         436
Swap:           261         261           0