Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

clamd using 100% on database reloading. normal?

Discussion in 'General Discussion' started by babakb, Apr 25, 2008.

  1. babakb

    babakb Well-Known Member

    Jan 20, 2007
    Likes Received:
    Trophy Points:
    I frequently notice clamd taking up 100% CPU and increasing the server load a few times per day for about 20 mins each time. So I investigated and noticed that this is happening every time clamd reloads its signature database.

    e.g. sample log from /var/log/clamd/clamd.log

    Tue Apr 22 07:19:50 2008 -> SelfCheck: Database modification detected. Forcing reload.
    Tue Apr 22 07:19:50 2008 -> Reading databases from /var/clamav
    Tue Apr 22 07:37:37 2008 -> Database correctly reloaded (266939 signatures)

    As you can see, the process of reading the database takes 20 minutes. During this 20 minutes the server load spikes up from 0.5 to 2+

    Is this normal? Can someone check their /var/log/clamd/clamd.log and tell me if it takes this long on their servers as well?


Share This Page