LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Freshclam AV suddenly using 50-80% CPU
#1
I tried to install Freshclam AV last week. At the end of the process, I got an error regarding a config file not found, and it did not seem to finish the install.

Looking for Freshclam AV from the Whisker Menu or App Finder, it does not show, but if I type it into the search box in Whisker Menu, I see a 'gears' icon with 'Run Freshclam' text - but nothing happens when I click on it.

Suddenly today, my CPU is maxed at or near 100% and my CPU is running dangerously hot, around 90-deg C, with laptop placed 12-inches from a window AC. This laptop hits fatal temp at 94-deg C.

Checking 'show all processes' in Task Man shows Freshclam using between 50-80% CPU, but the graph shows solid 100% total CPU usage since startup.

Here is the install log from Freshclam last week - note that this just started today, after two weeks of no CPU issues in LL, and at least one week after Freshclam install attempt.


  [Image: 6zFThXdl.png]



  [Image: ORkeIjzl.png]


Here is the Freshclam Install Log:

mac@HP-dv8000:~$ sudo freshclam
ClamAV update process started at Fri Jun  2 00:53:20 2017
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 168.143.19.95)
Trying host db.local.clamav.net (208.72.56.53)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 208.72.56.53)
Trying host db.local.clamav.net (69.12.162.28)...
Downloading main.cvd [100%]
main.cvd updated (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
Downloading daily.cvd [100%]
daily.cvd updated (version: 23439, sigs: 2081810, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 301, sigs: 58, f-level: 63, builder: anvilleg)
Database updated (6300658 signatures) from db.local.clamav.net (IP: 69.12.162.28)

ERROR: NotifyClamd: Can't find or parse configuration file /etc/clamav/clamd.conf

Thanks in advance...
Reply
#2
Do yourself a favor and use the free sophos. It does not slow my computer down at all and actually prevents unlike Clam maleware. Here is a step by step guide to install


[color=rgb(17, 85, 204)]https://www.youtube.com/watch?v=QH9gRThLEag[/color]
Reply
#3
If you decide you want to use sophos after install do an update.
[color=rgb(70, 74, 79)] Sudo /opt/sophos-av/bin/savupdate[/color]
[color=rgb(70, 74, 79)][/color]
[color=rgb(70, 74, 79)]After update you can run a scan. Simply copy and paste this in your terminal. [/color]
[color=rgb(70, 74, 79)][/color]
[color=rgb(70, 74, 79)]sudo savscan -archive -suspicious -pua -remove /[/color]
[color=rgb(70, 74, 79)][/color]
[color=rgb(70, 74, 79)]Cheers[/color]
Reply
#4
Okay, will do.

FWIW: A reboot seems to have fixed it, maybe it was just a fluke - "Freshclam -d --foreground=true" process now using 0% CPU in Task Man and temps are back to normal range. But at 0%, is it even doing anything, I wonder?

I have read all about not needing AV in Linux - but I am about to set up Samba shares between 10Gb NTFS data partition on laptop and Windows box, so better safe than sorry with what has been going on in the world of Win viruses lately.

This is a single-core Turion mobile CPU, and it is the bottleneck for the system. So anything to take a load off the CPU will help the whole system run smoother.

Should I run "sudo apt-get purge xxx" of all clamav files?

Here are the entries when I run "dpkg --list"


  [Image: XcvaPCPl.png]
Reply
#5
This is what I did to completely remove clamav:

Code:
sudo apt-get purge clamav
sudo apt-get purge clamav-base
sudo apt-get purge clamav-freshcl
sudo apt autoremove
sudo rm -r /var/lib/clamav

Autoremove got rid of two unused lib entries.
The last line removed a lingering folder

Reply
#6
[member=4764]tomt[/member],  You say Sophos is easy on resources...

My system seems to be using a lot more RAM now - was around 350Mb at start and is now up to 1Gb+/ or 50% with about 46 threads in Htop.

In Htop I see tree view, but not in Task Man
Reply
#7
Sorry. That`s the only suggestion I can offer. Perhaps someone with more knowledge can help.
Reply
#8
For me, Sophos seems to be using more memory - circa 50% total.  However it is continually running in the background - screening  etc. so that is not surprising.    Needs care setting up  and did report for me one false positive  in the LL software  (Lite-info) see  forum writeup elsewhere

https://www.freecinema2022.gq/forums/secur.../#msg30913
2006 - HP DC7700p ultraslim Desktop Intel 6300 cpu  4GB Ram LL3.8 64bit.
2007 - Fujitsu Siemens V3405 Laptop  2 GB Ram LL3.6 32bit. Now 32bit Debian 9 + nonfree.
2006 - Fujitsu Siemens Si1520 Laptop Intel T720 cpu 3GB Ram   LL5.6 64 Bit
2014 - Fujitsu Siemens Lifebook E754 Intel i7 4712MQ 16GB Ram LL6.6
2003 - RETIRED Toshiba Satellite Pro A10 1 GB RAM LL2.8 32bit
Reply
#9
(06-09-2017, 12:13 PM)tomt link Wrote: Sorry. Glad you got it sorted. Sometimes it`s the obvious we overlook. The app using high resources on mine is Pulse Audio Control. Cheers.
Reply
#10
(06-09-2017, 12:13 PM)tomt link Wrote: Sorry. Glad you got it all sorted. Sometimes it`s the obvious we overlook. The only app using high resources on mine is Pulse Audio Control. Cheers.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)