Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: flieg on June 13, 2012, 12:16:26 AM

Title: Avast slowing down boot
Post by: flieg on June 13, 2012, 12:16:26 AM
For the past some months I have been having slow boot up and a lot of disk activity during bootup.

I had thought it was Thunderbird because I keep all my email, but I removed T-bird from the boot sequence and it was still slow.  That caused me to check System Manager and it shows that AvastSvc.exe and Avast.setup are thrashing the disk and gobbling cpu.  This is strange because my wife's installation of Avast doesn't seem to be doing this (at least to the extent of it being a noticeable delay).

What is Avast doing?  I thought it might be the rootkit scan, then I saw that that scan is done some time later.

It's really irritating and it clearly is related to my machine.

Running 7.0.1426 Avast (Paid), Definitions up to date.

WinXP Home SP3 up to date
   AMD Athlon 64 3200+
       ASUS A8N-E Motherboard
       2 GM RAM
       C:\  232GB, 100 GB used  (this is the disk being thrashed)
       F:\  700GB, 252 GB used  (this is my backup disk)

Not sure what else to put.
Title: Re: Avast slowing down boot
Post by: Asyn on June 13, 2012, 07:11:35 AM
1. avast! GUI -> Settings -> Troubleshooting -> Enable: "Load avast! services only after other system services"
2. Click OK.
3. Reboot.
Title: Re: Avast slowing down boot
Post by: flieg on June 13, 2012, 10:55:26 AM
I already did that (and it is still set that way).  However, that did not change the behavior.
Title: Re: Avast slowing down boot
Post by: bs on June 13, 2012, 11:44:11 AM
Try to find out by disabling shields, which shield is responsible for this slowing down. And write here your findings. Thanks.
Title: Re: Avast slowing down boot
Post by: CraigB on June 13, 2012, 11:57:09 AM
Any other security installed on the system ? what was the previous AV and how did you remove it ? did you run the vendors removal tool to eliminate remnants ?
Title: Re: Avast slowing down boot
Post by: swrain on June 13, 2012, 07:34:52 PM
I noticed this too, but I removed a few other anti-malware programs I had and it sped up. I don't think it's avast!'s problem, I think it's just conflicting with other programs.

If it still persists, that just might be how it is. A lot of the time anti-malware programs will slow down boot just because they are rooted in to protect your system.
Title: Re: Avast slowing down boot
Post by: flieg on June 13, 2012, 09:49:16 PM
Any other security installed on the system ? what was the previous AV and how did you remove it ? did you run the vendors removal tool to eliminate remnants ?

Previous AV was McAfee and I used  the vendor's removal tool (and then salted the drive sectors).  That was more than a year ago.

I don't have any other AV installed that I know of.  I have installed Malwarebytes, but it's set to start when I ask for it, not automagically.  I also have IObit's Advanced System Care installed, and again have it disabled as a default.

Try to find out by disabling shields, which shield is responsible for this slowing down. And write here your findings. Thanks.

Looking at my interface I see that I have all shields currently enabled and that WebShield, File System Shield, Network Shield and Behavior Shield are the only ones that indicate any activity.  I will try deactivating them, then reactivating one by one.  Report to come later.

I noticed this too, but I removed a few other anti-malware programs I had and it sped up. I don't think it's avast!'s problem, I think it's just conflicting with other programs.

If it still persists, that just might be how it is. A lot of the time anti-malware programs will slow down boot just because they are rooted in to protect your system.
All that is true, but it doesn't explain why my wife's system boots rapidly.

Title: Re: Avast slowing down boot
Post by: swrain on June 13, 2012, 09:58:40 PM
flieg,

Have you tried matching the same exact settings on your avast! with your wife's? Maybe that will work.
Title: Re: Avast slowing down boot
Post by: flieg on June 13, 2012, 10:27:49 PM
flieg,

Have you tried matching the same exact settings on your avast! with your wife's? Maybe that will work.

That was going to be the next step -- though with the number of settings it's going to be hard to verify.

Analysis of the shield settings seems to indicate that it is the File System Shield that is partially to blame, but even with all shields disabled Avast was thrashing the disk (as shown by the System Monitor, looking at reads and writes.)  Naturally I am loathe to run without the File System Shield.  I am currently rebooting my wife's computer to do comparisons of activity.

I would like to thank the various people who have responded so far.  More in just a bit.
Title: Re: Avast slowing down boot
Post by: DavidR on June 13, 2012, 10:34:31 PM
If you have made any changes to your installation of avast you could try resetting the defaults and see is that resolves it.

From the avastUI, Maintenance, Troubleshooting, Restore factory defaults, see image, click to expand.
Title: Re: Avast slowing down boot
Post by: flieg on June 13, 2012, 10:49:18 PM
Well it looks as if my wife's avast! is set up the same as mine.  She is, however on a more modern computer and running XP Pro, so results are not strictly comparable.  Her File System Shield is hitting many more files than mine on bootup, too (about 280 vs my 140).

It may just mean that my comp is getting old and slow.

I have made changes to the setup in terms of allowing certain programs to evade the sandbox, etc.  Since I haven't recorded the changes I am resistant to doing a reset.

As I said, it is an annoyance, not a critical problem.  Since there is no clear and easy (fix/correction of user error), I'll live with it.  Thanks for assistance.
Title: Re: Avast slowing down boot
Post by: swrain on June 13, 2012, 10:53:46 PM
It may just mean that my comp is getting old and slow.

Not sure if you have done this already, but lets see if your theory is correct. Why not uninstall avast!, and then restart twice, and see if it's any faster?
Title: Re: Avast slowing down boot
Post by: flieg on June 14, 2012, 12:21:37 AM
I don't need to do that, swrain.  I was following the disk and cpu usage using the System Monitor and the only thing active in the disk-thrashing cycle was Avast.  Besides, the idea of booting without AV in place gives me the screaming meemies.  :)
Title: Re: Avast slowing down boot
Post by: swrain on June 14, 2012, 12:49:06 AM
Haha, I know what you mean.

Oh well, good luck to you.
Title: Re: Avast slowing down boot
Post by: DavidR on June 14, 2012, 01:35:10 AM
I don't need to do that, swrain.  I was following the disk and cpu usage using the System Monitor and the only thing active in the disk-thrashing cycle was Avast.  Besides, the idea of booting without AV in place gives me the screaming meemies.  :)

The fact that the only thing active being avastSvc.exe (File System Shield) isn't entirely correct as the avastSvc.exe doesn't just scanning for no reason as it is an on-access scanner, so something is opening files, etc. causing avast to scan them.

The trick is trying to find what is responsible for that activity.

Some considerable time ago, my firewall also had an anti-spyware module, if that was enables that literally touched hundreds of files and that cause avast to scan the files it was opening.

In your case if the FSS is only scanning 140 files during boot, that is darn low and shouldn't be giving your hard disk a thrashing. Do you happen to have the winXP indexing service running as that can be responsible for a lot of HD activity ?

Another area is MS Office if you have that, the Fast Find is another one that can give your HD a workout.
Title: Re: Avast slowing down boot
Post by: flieg on June 15, 2012, 12:59:49 AM
Thanks for the thoughts, DavidR.

I don't have MS Office.  I did have indexing on (against my wishes) but I've turned it off now. Unfortunately it made no difference.

I'm going to Check Open Office settings and see if they have a Fast Find "feature" that I can turn off.  ((Nope, not as far as I can tell.))

Another computer mystery ... unsolved.  I  think the nascent AI's are playing with us.   ;D
Title: Re: Avast slowing down boot
Post by: DavidR on June 15, 2012, 01:17:03 AM
Yep, I hate mysteries too.

What I can't understand is the hard disk activity when there are so few files scanned.

Something I would like you to try is to set Updates to Manual (avastUI, Settings, Updates), it is possible that if you have a broadband connection available early in the boot, avast could be checking for updates. Generally this would make itself noticed in the boot being a little slower, but I don't know if hard disk activity would be great.

You will get a nag in the form of an ! exclamation mark over the avast tray icon this can be temporarily disabled, avastUI, Settings, Status Bar, unchecking the bottom three options relating to updates, see image, click to expand.

These can be reversed if it doesn't resolve it; if it does resolve it there is something that can be done to delay the update check, allowing you to set those settings back as they were.
Title: Re: Avast slowing down boot
Post by: flieg on June 15, 2012, 01:51:08 AM
I hate mysteries especially in situations that should (!) be deterministic.

I do have a good solid DSL connection that is on all the time, but I did as you suggested to set update to manual and it made no difference in the boot behavior. (Other than the fact that the first time I tried to do it it didn't take!)

When Avast does check for updates it does put a bit of a load on the system, but not too bad a one.

This is a picture of the Task Manager after opening firefox to write this message. It shows which processes have done the most disk access, I think.

Title: Re: Avast slowing down boot
Post by: DavidR on June 15, 2012, 11:27:12 AM
The problems with the task manager is that these are cumulative figures and since the FSS is going to be scanning active files it is going to rack up figures. As I said truing to pin down what is responsible for the activity is not easy and the basic tool set in the task manager isn't detailed enough.
Title: Re: Avast slowing down boot
Post by: marziano_mork on June 17, 2012, 02:48:37 PM
I solved this problem disabling Reputation services and Streaming updates, waiting for new avast program update that solves it definitively .
Title: Re: Avast slowing down boot
Post by: DavidR on June 17, 2012, 03:54:16 PM
Thanks for the update.

Though I'm surprised the streaming updates have that effect as they are pretty small, todays batch so far (and not all at once) range between 1 & 28KB, the majority being 1-2KB.