Contribs.org

Please login or register.

Login with username, password and session length

News:

Remember SME Server is currently free to download and use. But it is not free to build. You can help by making a donation of time OR money from the links below.

Pages: [1]   Go Down

Author Topic: CLAMD using 100% CPU  (Read 331 times)

edb

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 465
CLAMD using 100% CPU
« on: January 21, 2017, 04:54:25 AM »

Noticed that my test SME server 10 test server is using 100% CPU by clamd?
Is there a solution for this problem?
I tried stopping clamd and that solves it but a reboot and it is back to 100% cpu usage again.
thanks

-edb
Logged
......

Jean-Philippe Pialasse

  • Site Administrator
  • *
  • Online Online
  • Posts: 579
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: CLAMD using 100% CPU
« Reply #1 on: January 21, 2017, 06:10:00 AM »

Hi,
this should be reported to bugzilla. https://bugs.contribs.org

Please dig some relevant logs  from the situation so we can investigate.
Logged

edb

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 465
Re: CLAMD using 100% CPU
« Reply #2 on: March 24, 2017, 09:45:47 PM »

Ok after some searching I seem to have found the resolve for this issue on my server.
It appears to have been a permissions issue on the var/clamav folder.

The default install apparently had the permissions on var/clamav as follows:
Group: input [395]
Owner: saslauth [397]

I had to change this to:
Group: clamav [499]
Owner: clamav [499]

Once I changed the permissions and did a
Code: [Select]
freshclam - update virus databases then everything updated fine and the high CPU usage disappeared.
Problem solved!

-edb
Logged
......
Pages: [1]   Go Up
 

Page created in 0.04 seconds with 26 queries.