Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: REDACTED on July 31, 2018, 05:42:06 PM

Title: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on July 31, 2018, 05:42:06 PM
Having just spent the past week or so building a new machine from parts, I started to load the software onto it. I started with Windows XP (I know, but there's a reason why I want it to run XP), followed by all of the other stuff I wanted on it.

Having ditched AVG in favour of Avast when they introduced that stupid and highly intrusive Zen thing, Avast Free was the first thing to go on after Windows. Everything seemed fine until a couple of days ago when the machine suddenly slowed to a crawl. Checking Task Manager, I saw that the CPU was maxed out at 100%, with AvastUI.exe being the main culprit at 99%.

Even letting the machine sit there idle for over an hour, it would still be maxed out at 100%, with AvastUI.exe using 90%+ (usually pegged at 99% for most of the time).

Checking things online, I saw that I'm not the only one to have this issue, so I started to work through the various things people suggest as a solution, but things like turning all of the shields off didn't help.

I tried repairing the installation, but that didn't help either. So I went into safe mode and used the utility to completely remove all traces of Avast. Rebooting without any AV loaded at all, the machine was fine, and sat there happily with CPU use at 0% while idling.

I then reinstalled Avast Free from a fresh download of the installer and, guess what? Yes, that's right, it went back to AvastUI.exe using 99% all of the time.

I've checked, and I am able to use Process Explorer to create dump files.

The version of Avast Free is 18.5.2342 (build 18.5.3931.0) and, while I do have other AV/anti-malware programs on the machine, such as Malwarebytes Anti-malware (version 3.5.1.2522), as far as I'm aware none of them are set to load at boot-up and only run when called manually by clicking on them. I certainly can't see any of them running in Task Manager or Process Explorer.

The machine is a P4 2.8GHz with 2GB RAM and a 2TB SATA HDD, running a fully-updated fresh install of XP Pro SP3 uploaded from an official genuine CD (SP1 on the disk, SP2 and SP3 from my own downloads from the Microsoft website a couple of years ago when needed for another machine).

This issue has definitely got me puzzled, as I use Avast Free on other machines with similar software (all Windows XP Pro SP3), and none of them seem to have this issue - including the one I'm using to write this now. So any help people can give in solving it will be greatly appreciated.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: Asyn on August 01, 2018, 05:29:23 AM
Regarding Avast & Malwarebytes, see: https://forums.malwarebytes.com/topic/200324-exclusions-for-avast-users/
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 01, 2018, 04:41:43 PM
Thanks for helping!

OK, tried that and rebooted, but no effect as CPU use still stuck at 100%, with AvastUI.exe still using 99%.

As I said in my original post, MBAM and the other programs are not set to run on system start-up, only when called manually, so I can't imagine it being some sort of resource clash with Avast. And, as I also pointed out in my OP, the machine I'm using to write this now has similar software on it, including both Avast and MBAM, and it doesn't have the same issue (CPU usage at about 30%, with AvastUI.exe using about 3%).
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: Dix Huit on August 01, 2018, 10:16:36 PM
I noticed that my new AvastUI.exe was using 50% CPU after booting Windows XP, but when I started other programs it would respectfully drop down to 0%.  After a few days this behavior has ceased, and it now goes to 0% a few minutes after booting.  My guess is that it was doing some sort of initial scan after being installed, and that is now complete.  I understand that your problem is far worse, but you could try just leaving it alone for several hours and see if it stops using the CPU.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 02, 2018, 12:12:47 PM
Well, I've already tried leaving it alone for four or five hours, but that doesn't seem to do any good, and AvastUI.exe is still using 99% even after all that time, so I don't think that's it.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: mchain on August 02, 2018, 12:32:49 PM
Hi lather30,

You could try uninstalling Malwarebytes Free and reboot. 

They also have a full uninstall tool here:  hxxps://support.malwarebytes.com/docs/DOC-1112

[EDIT:]  New site, old link bad:  https://www.bleepingcomputer.com/download/malwarebytes-anti-malware-cleanup-tool/ (https://www.bleepingcomputer.com/download/malwarebytes-anti-malware-cleanup-tool/)

Reboot.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 02, 2018, 06:32:38 PM
That link doesn't work - it just takes me to a dead-end at a login page with no signup option.  So I had to do a bit of searching around on Google to find the correct download link.

Malwarebytes Free uninstalled using the cleanup utility, system rebooted and left for things to settle down, CPU still pegged at 100% with AvastUI.exe still using 99%.

So I guess that confirms it wasn't Malwarebytes Free that was causing the issue.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: mchain on August 02, 2018, 08:38:47 PM
That's odd.  Tested site before I posted and got the same executable provided above at bleepingcomputer.com.  Something changed.

Sorry about that.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: Asyn on August 03, 2018, 05:16:13 AM
Follow instructions: https://forum.avast.com/index.php?topic=218231.msg1458060#msg1458060
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 03, 2018, 09:17:33 PM
Dump file created and uploaded using the filename given in the message quoted (avast_ui_exe_cpu_peak.zip) - no password as created the zip file before reading the ftp instructions at https://support.avast.com/en-gb/article/FTP-file-upload (also the Windows "send to zip folder" menu didn't give me that option).

Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: Asyn on August 04, 2018, 06:33:37 AM
OK, I'll forward it to kwiq.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: kwiq on August 06, 2018, 10:26:01 AM
Hi lather30,
I went through all threads and there was only one active thread which belongs to datascan component.
Can you try to disable this feature and let us know if it helped ! For example via ini file
C:\ProgramData\AVAST Software\Avast\avast5.ini in [DataScan] section there is option Enable=1 please change it to Enable=0

Thank you

 
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: DavidR on August 06, 2018, 02:58:34 PM
Hi lather30,
I went through all threads and there was only one active thread which belongs to datascan component.
Can you try to disable this feature and let us know if it helped ! For example via ini file
C:\ProgramData\AVAST Software\Avast\avast5.ini in [DataScan] section there is option Enable=1 please change it to Enable=0

Thank you

Note for lather30, before trying this you will (may if nothing has changed) need to disable the Avast Self-Defence Module in the AvastUI > Settings > Troubleshooting. 

For the actual edit you should also use notepad, no other text editor (even with the Avast Self-Defence Module disabled).
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 06, 2018, 05:58:38 PM
OK, tried that.

Self-protection disabled.
Setting changed in Notepad & file saved.
System rebooted and left idle for 1 hour to settle down.
CPU still at 100%, with AvastUI.exe still at 99%.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: DavidR on August 06, 2018, 08:02:37 PM
OK, tried that.

Self-protection disabled.
Setting changed in Notepad & file saved.
System rebooted and left idle for 1 hour to settle down.
CPU still at 100%, with AvastUI.exe still at 99%.

OK, we will have to wait for Avast Team member kwiq to get back to your topic.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: kwiq on August 07, 2018, 02:43:35 PM
Hi lather30,
in win7 and above I would suggest xperf logs as this is the best tool for CPU issues but XP doesnt support it :-( . 

In xp i know only about procdump from : https://docs.microsoft.com/en-us/sysinternals/downloads/procdump
Disable self defense
Please download this tool and create a set of dumps with command - cmd as admin : procdump -c 50 -s 5 -n 10 AvastUI.exe
zip them and upload them to avast ftp.

Thank you
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 07, 2018, 04:48:12 PM
OK, I downloaded, installed and ran ProcDump using the listed commands. For some reason, it was only able to get 9 dumps, as the 10th failed to write due to an error message about a device attached to the computer having failed or stopped working - although I can't see any evidence of a problem.

Zip file of the 9 dumps it did get uploaded to FTP with the filename AvastUI.exe_180807_152731.zip.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 18, 2018, 04:28:12 AM
Any progress on solving this? It's now 11 days since I uploaded the requested dumps, and I've not heard anything more about it. Is it solvable, or have I got to start looking around for a different AV program to use? Hoping for an answer one way or the other soon, as I can't afford to have the computer sat around idle for much longer.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: bob3160 on August 18, 2018, 03:15:31 PM
Any progress on solving this? It's now 11 days since I uploaded the requested dumps, and I've not heard anything more about it. Is it solvable, or have I got to start looking around for a different AV program to use? Hoping for an answer one way or the other soon, as I can't afford to have the computer sat around idle for much longer.
Reported let's see if that helps.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 22, 2018, 05:38:20 PM
Any progress on solving this? It's now 11 days since I uploaded the requested dumps, and I've not heard anything more about it. Is it solvable, or have I got to start looking around for a different AV program to use? Hoping for an answer one way or the other soon, as I can't afford to have the computer sat around idle for much longer.
Reported let's see if that helps.

Apparently not, as I'm still awaiting a response - now 2 weeks since the dumps were uploaded.

On the off-chance that it may help solve the problem, I updated to the latest version (18.6.2349), but the problem still remains the same, with AvastUI.exe using 95% to 99% of the CPU all of the time.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: Asyn on August 24, 2018, 10:24:18 AM
Please be patient, kwiq is on vacation.
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: kwiq on August 29, 2018, 10:12:56 AM
Hi bob3160,
sorry for late response as async wrote I was on vacation with limited access to internet. 
I hoped that change in avast5.ini  should have disabled it but I can still see aswdatascan enumerating files :-( .

I tried rename aswdatascan but without this dll avast UI process doesnt star.
Sorry I dont have any ideas or workarounds how to disable it. I will try to ask aswdatascan developers to advice something better than changing settings in  avast5.ini.

 
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on August 31, 2018, 01:51:12 AM
I might know it would be a difficult one to fix - whenever I get any sort of problem, it's usually something really unusual and hard to solve!  ::)
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: tlee on September 02, 2018, 12:32:12 PM
If you want to fix the problem, tried to use old version of Avast AV.

Since informed many times about that issue in a long long time ago,
I think Avast Product Manager does not care about it.
just produces a bug and bulky products continuously.
Avast team seems so happy for doing that...............   :( :( :( :( :(
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: REDACTED on September 08, 2018, 02:17:20 AM
Hi bob3160,
sorry for late response as async wrote I was on vacation with limited access to internet. 
I hoped that change in avast5.ini  should have disabled it but I can still see aswdatascan enumerating files :-( .

I tried rename aswdatascan but without this dll avast UI process doesnt star.
Sorry I dont have any ideas or workarounds how to disable it. I will try to ask aswdatascan developers to advice something better than changing settings in  avast5.ini.

 

Any more news on this, as I'm still waiting on a solution?
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: bob3160 on September 08, 2018, 02:55:39 AM
Hi bob3160,
sorry for late response as async wrote I was on vacation with limited access to internet. 
I hoped that change in avast5.ini  should have disabled it but I can still see aswdatascan enumerating files :-( .

I tried rename aswdatascan but without this dll avast UI process doesnt star.
Sorry I dont have any ideas or workarounds how to disable it. I will try to ask aswdatascan developers to advice something better than changing settings in  avast5.ini.

 

Any more news on this, as I'm still waiting on a solution?
I've alerted Avast (kwiq) but this is the weekend. :)
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: bernie durand on March 06, 2020, 04:15:21 PM
Bonjour,
J'ai parcouru la totalité des messages de votre sujet afin de trouver une solution pour que AvastUI arrêté d'utiliser en permanence mon processeur a plus de 90%.
Mon problème est identique en tout points à celui que vous décrivez.
J'ai essayé de nombreuses manipulationsont pour y remédier,  mais rien à faire.
Tout rentre dans l'ordre quand je desinstalle Avast, mais cela recommence immédiatement après réinstallation.
J'ai comme vous un autre ordinateur avec la même configuration XP ou Avast fonctionne correctement.
Depuis, Avez vous résolu votre problème?
Cordialement
Bernie
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: rocksteady on March 06, 2020, 07:14:04 PM
@bernie durand
Please post here in English language or find your own language section here:
https://forum.avast.com/index.php?board=21.0
Title: Re: AvastUI.exe using 90%+ of CPU and slowing machine to a crawl
Post by: bob3160 on March 06, 2020, 07:15:59 PM
@bernie durand
Please post here in English language or find your own language section here:
https://forum.avast.com/index.php?board=21.0 (https://forum.avast.com/index.php?board=21.0)
He's also posting in a 2 year old thread. Time to start your own thread and explain your problem.