[solved] Clamav high cpu usage

Discussion in 'Installation/Configuration' started by AxelssonDesign, Jun 12, 2017.

  1. Hello,
    My server is showing high cpu usage on clamav (close to 100%):
    17973 clamav 20 0 417528 294328 13136 R 98.7 14.3 0:03.48 clamd

    How to fix ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the mail.log file, do you get a lot of mails at that time? Clamd on an ISPConfig server is used for mail scanning, so you probably get a lot of emails when there is a high ClamAV usage.
     
  3. @till - thanks for your answer.

    Not many emails coming in. I upgraded my server memory to 4Gb and cpu load is normal now.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. It might be that clamd had not enough ram so the server started to using swap space which is much slower than RAM and this caused the high load then.
     
    AxelssonDesign likes this.

Share This Page