Author Topic: Avastsvc high CPU on win7 since ~25aug2021  (Read 4434 times)

0 Members and 1 Guest are viewing this topic.

Offline avast_user321654

  • Newbie
  • *
  • Posts: 14
Avastsvc high CPU on win7 since ~25aug2021
« on: August 29, 2021, 02:23:14 PM »
It seems we are at least three persons to have the following problem :
- avastsvc constantly uses 25% (on quad core CPUs) or 50% (on dual core CPUs) or more
- trigger unknown
- the machines on which this is happening are hosting windows 7 (specifically SP1?)
- concerns 9 to 17 avast versions (please confirm?)

**********************************************************
please report here if you are concerned too : give us you OS, avast version, symptoms
**********************************************************

As for today, it seems to me this is triggered after a VPS update :
- we are three win7 users experimenting the same thing around the world
- after a factory reset from my whole system (2013 image) and an avast 9 offline install nothing happens with the CPU
- then with an offline VPS update (2021.08.27 virus bases) the CPU goes up after x minutes (trigger unknown)

I do hope this problem is not a trick to push "old systems users" to upgrade.

TEMPORARY SOLUTION - STAY WITH AVAST 9 TO 17
Restart avastsvc with a file to make it use 0% CPU again (until it goes high up again...) :
- create a text file anywhere
- write inside the file EXACTLY this and save it :
net stop "avast! Antivirus"
net start "avast! Antivirus"
- rename the file "restart.bat"
-> executing the file will stop then start the avast service

DEFINITIVE SOLUTION
- update to avast 2021 : see official avast website - maybe a win7 update is necessary
- update to avast 2019 or 2020 : to download google "site:filepuma.com avast 20[number]"
- hey wait, avast 2019-2021 kills my weak old netbook...
« Last Edit: August 29, 2021, 09:38:25 PM by avast_user321654 »

Offline avast_user321654

  • Newbie
  • *
  • Posts: 14
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #1 on: August 29, 2021, 09:35:54 PM »
Updated first post according to my new tests.

Offline edialechu

  • Jr. Member
  • **
  • Posts: 56
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #2 on: August 30, 2021, 01:34:41 AM »
The same day that began the problems 25 August it was the announcement of the new version:
https://forum.avast.com/index.php?topic=299095.msg1649279#msg1649279

Offline edialechu

  • Jr. Member
  • **
  • Posts: 56
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #3 on: August 30, 2021, 03:41:07 AM »
Many thanks for all the information you sent and all the tests you made. Iam very grateful!

Offline edialechu

  • Jr. Member
  • **
  • Posts: 56
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #4 on: August 30, 2021, 04:55:34 PM »
I attach an image of the resource monitor to show the detail of the problem.

Offline edialechu

  • Jr. Member
  • **
  • Posts: 56
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #5 on: August 31, 2021, 01:46:35 PM »
 ;)I was making some investigation and it could be possible that the problem appears when avast tries to make the rootkits analysis on startup in old versions.
 turn off on troubleshooting-- rootkits analysis when start system
I will try I hope it could solve the problem. It is not an ideal solution but could be a temporary solution.

« Last Edit: August 31, 2021, 02:18:38 PM by edialechu »

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88897
  • No support PMs thanks
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #6 on: August 31, 2021, 04:59:56 PM »
If my memory is correct the anti-rootkit scan starts 8 minutes after the startup.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline avast_user321654

  • Newbie
  • *
  • Posts: 14
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #7 on: August 31, 2021, 07:50:48 PM »
I love you two, edialechu and DavidR for those informations !
I reinstalled Avast 9 without rootkit scan activated, and it works just fine for the moment.

Is it safe to do a VPS update + boot scan with sensibility at maximum + disable the rootkit scan if nothing is detected?

I guess a new rootkit would be detected by the File agent and/or the Web agent before it could infect the system?

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88897
  • No support PMs thanks
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #8 on: August 31, 2021, 08:18:20 PM »
I can't say if it is safe to do a VPS update as it isn't only virus definitions that get updated but also Engine updates.  I also don't know how the Engine and definitions update function in avast 9.

As for a new rootkit, well the reason for the anti-rootkit scan is rootkits by their nature can be well hidden and may not be found by conventional resident scanners.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline edialechu

  • Jr. Member
  • **
  • Posts: 56
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #9 on: August 31, 2021, 08:24:29 PM »
It you try to activate rootkit scan it stucks or the service hangs on avast 9?
« Last Edit: August 31, 2021, 08:39:19 PM by edialechu »

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88897
  • No support PMs thanks
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #10 on: September 01, 2021, 12:17:30 AM »
As I said (in another topic) it is unlikely that avast would be unlikely to spend time on old versions.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline jaroslav.nix

  • Avast team
  • Jr. Member
  • *
  • Posts: 71
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #11 on: September 03, 2021, 12:02:41 PM »
Hello guys, could you please reproduce the issue, collect and share with us the performance logs?
The description how to get those performance logs is available on this forum post:
https://forum.avast.com/index.php?topic=237567.0
Thank you.

Offline franstam

  • Newbie
  • *
  • Posts: 1
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #12 on: September 03, 2021, 05:38:04 PM »
It seems we are at least three persons to have the following problem :
- avastsvc constantly uses 25% (on quad core CPUs) or 50% (on dual core CPUs) or more
- trigger unknown
- the machines on which this is happening are hosting windows 7 (specifically SP1?)
- concerns 9 to 17 avast versions (please confirm?)

**********************************************************
please report here if you are concerned too : give us you OS, avast version, symptoms
**********************************************************

As for today, it seems to me this is triggered after a VPS update :
- we are three win7 users experimenting the same thing around the world
- after a factory reset from my whole system (2013 image) and an avast 9 offline install nothing happens with the CPU
- then with an offline VPS update (2021.08.27 virus bases) the CPU goes up after x minutes (trigger unknown)

I do hope this problem is not a trick to push "old systems users" to upgrade.

TEMPORARY SOLUTION - STAY WITH AVAST 9 TO 17
Restart avastsvc with a file to make it use 0% CPU again (until it goes high up again...) :
- create a text file anywhere
- write inside the file EXACTLY this and save it :
net stop "avast! Antivirus"
net start "avast! Antivirus"
- rename the file "restart.bat"
-> executing the file will stop then start the avast service

DEFINITIVE SOLUTION
- update to avast 2021 : see official avast website - maybe a win7 update is necessary
- update to avast 2019 or 2020 : to download google "site:filepuma.com avast 20[number]"
- hey wait, avast 2019-2021 kills my weak old netbook...

hi thanks i created an account just to say i was trying hard to figure out why my cpu fan was working so hard constantly 100% cpu utilization on 1 core. thanks for creating this post making me feel that im not the only user that is facing this weird issue.

Windows 7 sp1 with avast 9.0.2021 and 10.4.2233

even after using avastclear and reinstall avast 9.0, upgraded to avast 10.0 didnt fix the issue.
disable rootkit scan fixed it thanks! most likely something in that 25AUG update triggered something else why have we been using it no issue for years?

couple of days ago i disabled rootkit scan, now i tried to enable rootkit scan again on my desktop, i cant seem to reproduce the issue!

i have a laptop my dad uses that has rootkit enabled all along and does not have cpu hog issue, not sure why?

Offline gmer

  • Avast team
  • Jr. Member
  • *
  • Posts: 35
  • The rootkit guy
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #13 on: September 03, 2021, 07:55:06 PM »
Please update VPS to version 210903.8 . Let us know if the new version solved the problem.
Thank you.

Offline avast_user321654

  • Newbie
  • *
  • Posts: 14
Re: Avastsvc high CPU on win7 since ~25aug2021
« Reply #14 on: September 03, 2021, 10:41:34 PM »
Hey there.
First of all, thanks for having considered our problem on "old machines" and ancient Avast versions.

I'm using Avast 2014.9.0.2016 on Win7 SP1 with rootkit scan disabled for 3 days and it went ok.
I just updated to VPS version 210903.8 and rebooted : CPU goes up to 50% (= 1 core) after ~10 minutes like the initial problem i had but now it peaks at 99% from time to times. A full scan with everything maxed out (sensibility, whole file testing etc) still hangs at 0%.