Server always down, How to clear cache

Operating system CentOS Linux 7.9.2009
Webmin version 1.973 Usermin version 1.823
Virtualmin version 6.16

hello everyone
my server is always down, How to clear cache

What does your server error logs say?

There are different kinds of caches stored (browser cache, website cache, cdn cache, dns cache, webserver cache, etc). Which one are you referring to?

thanks for reaching out
the error message
the server cant reach sql (in browser)
in server

That can’t possibly be the only error message. Look in the error log for that domain, and tell us what the exact errors are. We can’t help you if you won’t put even a little effort into providing information people ask for.

Caches have nothing to do with it.

Can you kindly paste your error logs here. There might be something there that could help pinpoint the issue you are having.

where to find the log

Oh, wait, that image is of Webmin itself. That has nothing to do with SQL or caches.

If your server is actually down we can’t help you.

If it’s just Webmin that is down, login via ssh and check status of the webmin service and possibly restart the webmin service.

# systemctl status webmin
# systemctl restart webmin

If it fails, check /var/webmin/miniserv.error for why.

Also, note that Webmin never fails for no reason. It just does not crash. So, you’re either running out of memory, have hardware problems, or stopped the process somehow. Maybe misconfiguration. But, Webmin never crashes…so, if it stopped running, something caused it to stop running.

I always restart server from service provider portal

where to find related log please

If the server is actually crashing, it has nothing to do with Virtualmin/Webmin. Applications should never be able to crash the operating system.

Can you login to your system via ssh?

I can log to server via ssh

the status as command

● webmin.service - LSB: web-based administration interface for Unix systems
Loaded: loaded (/etc/rc.d/init.d/webmin; bad; vendor preset: disabled)
Active: active (running) since Wed 2021-05-12 20:19:30 UTC; 12min ago
Docs: man:systemd-sysv-generator(8)
Process: 1606 ExecStart=/etc/rc.d/init.d/webmin start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/webmin.service
├─1875 /usr/bin/perl /usr/libexec/webmin/ /etc/webmin/miniserv.conf
├─3813 /usr/libexec/webmin/shell/
├─3814 sh -c (systemctl status webmin) 2>&1
└─3815 systemctl status webmin

any help please

Judging by the server resources usage in your screenshot, I think your RAM is maxing out and causing processes to be killed due to Out-Of-Memory (OOM). How much RAM does your server have?

And try running top in SSH and see what exactly is eating up all your RAM.

I have 2M RAM

how to figure what exactly is eating up all my RAM.
really I am not expert , and I rent the host since I have simple site
please help a beginner

2GB RAM should be more than enough for a single simple site tbh. You need to go through your server logs and check running processes to be able to pinpoint what exactly is consuming so much RAM in your server.

Wait, you mean 2GB right? Or 2MB?

If you can’t find a solution, you may be experiencing the same issue I had. See this: Virtualmin on Low Memory Systems | Virtualmin

yes 2G memory
from dashboard

is this high cache normal?

process readings

is this normal

its about 1 month trying to figure it out
and restarting the server every day!!!

I went through the article
the Mardia server was not up in webmin so I started it

i found the boot up actions is not configured in virtualmin

is it related to this error?

also once again Maria DB stopped in webin

i found the log