We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
High CPU/RAM usage
-
- Posts: 11
- Joined: Tue Sep 01, 2015 5:42 am
High CPU/RAM usage
Hello everyone,
I have server specifications 1TB HDD 2GB RAM, and now its using soo much RAM and cpu CentOS 7.2.1511
following statics:
CentOS 7.2.1511
(x86_64)
LoadAverage:
1.00
Uptime:
9 minutes
httpd
web server
CPU: 0
Memory: 484 mb
Uptime: 9 minutes
nginx
reverse proxy
CPU: 0
Memory: 6 mb
Uptime: 9 minutes
named
dns server
CPU: 0
Memory: 6 mb
Uptime: 9 minutes
exim
mail server
CPU: 0
Memory: 1 mb
Uptime: 9 minutes
dovecot
pop/imap server
CPU: 0
Memory: 0 mb
Uptime: 9 minutes
clamd
email antivirus
CPU: 9.0
Memory: 264 mb
Uptime: 9 minutes
spamassassin
email antispam
CPU: 9.0
Memory: 1968 mb
Uptime: 9 minutes
mariadb
database server
CPU: 0
Memory: 675 mb
Uptime: 9 minutes
vsftpd
ftp server
CPU: 0
Memory: 0 mb
Uptime: 9 minutes
crond
job scheduler
CPU: 0
Memory: 1 mb
Uptime: 9 minutes
iptables
firewall
CPU: 0
Memory: 0 mb
Uptime: 0 minutes
fail2ban
brute-force monitor
CPU: 0
Memory: 6 mb
Uptime: 9 minutes
I have total 5 vestacp's installed on various server but this server eating more resources please help me out.
Thanks in Advance.
I have server specifications 1TB HDD 2GB RAM, and now its using soo much RAM and cpu CentOS 7.2.1511
following statics:
CentOS 7.2.1511
(x86_64)
LoadAverage:
1.00
Uptime:
9 minutes
httpd
web server
CPU: 0
Memory: 484 mb
Uptime: 9 minutes
nginx
reverse proxy
CPU: 0
Memory: 6 mb
Uptime: 9 minutes
named
dns server
CPU: 0
Memory: 6 mb
Uptime: 9 minutes
exim
mail server
CPU: 0
Memory: 1 mb
Uptime: 9 minutes
dovecot
pop/imap server
CPU: 0
Memory: 0 mb
Uptime: 9 minutes
clamd
email antivirus
CPU: 9.0
Memory: 264 mb
Uptime: 9 minutes
spamassassin
email antispam
CPU: 9.0
Memory: 1968 mb
Uptime: 9 minutes
mariadb
database server
CPU: 0
Memory: 675 mb
Uptime: 9 minutes
vsftpd
ftp server
CPU: 0
Memory: 0 mb
Uptime: 9 minutes
crond
job scheduler
CPU: 0
Memory: 1 mb
Uptime: 9 minutes
iptables
firewall
CPU: 0
Memory: 0 mb
Uptime: 0 minutes
fail2ban
brute-force monitor
CPU: 0
Memory: 6 mb
Uptime: 9 minutes
I have total 5 vestacp's installed on various server but this server eating more resources please help me out.
Thanks in Advance.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: High CPU/RAM usage
Check your log files.
-
- Posts: 11
- Joined: Tue Sep 01, 2015 5:42 am
Re: High CPU/RAM usage
I checked its was due to ClamAV cpu usage but RAM is a problem
Re: High CPU/RAM usage
You can try this:
Issue already registred on bug tracker - https://bugs.vestacp.com/issues/122
Code: Select all
mkdir /var/run/clamav/
сhown clam:mail /var/run/clamav/
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: High CPU/RAM usage
I noticed that even after I created that dir and chowned "clam.clam" permissions, the CPU usage is still very high, always around 99%, sometimes drop down to 80% but then increased again. When checking with the "top" command, the most CPU usage is from clamd.skurudo wrote:You can try this:Code: Select all
mkdir /var/run/clamav/ сhown clam:mail /var/run/clamav/
My VestaCP is the latest version v0.98-16, installed on CentOS 7.
If I stop clamd, then the CPU usage will down to below 20%, often around 4%.
Why?