Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

High CPU/RAM usage

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
codemasterxv
Posts: 11
Joined: Tue Sep 01, 2015 5:42 am

High CPU/RAM usage
  • Quote

Post by codemasterxv » Mon Feb 15, 2016 11:01 am

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.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: High CPU/RAM usage
  • Quote

Post by tjebbeke » Mon Feb 15, 2016 11:49 am

Check your log files.
Top

codemasterxv
Posts: 11
Joined: Tue Sep 01, 2015 5:42 am

Re: High CPU/RAM usage
  • Quote

Post by codemasterxv » Tue Feb 16, 2016 2:40 pm

I checked its was due to ClamAV cpu usage but RAM is a problem
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: High CPU/RAM usage
  • Quote

Post by skurudo » Tue Feb 16, 2016 2:54 pm

You can try this:

Code: Select all

mkdir /var/run/clamav/
сhown clam:mail /var/run/clamav/
Issue already registred on bug tracker - https://bugs.vestacp.com/issues/122
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: High CPU/RAM usage
  • Quote

Post by baijianpeng » Tue Sep 27, 2016 4:14 pm

skurudo wrote:You can try this:

Code: Select all

mkdir /var/run/clamav/
сhown clam:mail /var/run/clamav/
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.

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?
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password