Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Vauxi on November 16, 2011, 08:55:52 PM

Title: Avast tries to "kill" hdd when updating *fixed*
Post by: Vauxi on November 16, 2011, 08:55:52 PM
Hi, I recently found out that every time when Avast is updating its virus lists(whatever the word was) it is reading/writing something very hard. I have three hdd's and Avast is installed to second one. Only that drive is accessed hardly on. It stops right after avast says that virus lists are up to date. Nothing after, nothing before. This would not be an issue, but it happends every time I turn computer on after a work and sometimes later on. Whole thing takes about 1-2 minutes and of course even cpu usage is 0% at the time, computer feels sluggish. Same thing happends in my laptop too. There it takes way longer.(thus slower hdd). I saw once this windows own trusted installer thingy at resource monitor.

Win 7 home premium 64bit
I7 960
1 ssd of three hdd's.
Avast Free 6.01289
I included screencapture (https://picasaweb.google.com/lh/photo/nsTMsbBlYhj4xsy_Har_r_FKexbVPxkUZQd_Gdrdp1o?feat=directlink) from resource view. Don't mind about the language :D

Title: Re: Avast tries to "kill" hdd when updating
Post by: Lisandro on November 16, 2011, 09:17:46 PM
avast needs to save the definitions to the disk and it's optimized for full speed of scanning.
It can take resources, but not that much noticeable.
How much RAM do you have?
Title: Re: Avast tries to "kill" hdd when updating
Post by: iyogisolutions1 on November 16, 2011, 09:33:37 PM
avast needs to save the definitions to the disk and it's optimized for full speed of scanning.
It can take resources, but not that much noticeable.
How much RAM do you have?

Yes that's right.

Otherwise we can make Avast to update manually.

Avast main GUI -> Settings (on the top right hand side)  -> updates->. Change it to Manual.

thanks
Title: Re: Avast tries to "kill" hdd when updating
Post by: Lisandro on November 16, 2011, 09:54:26 PM
Please, no... There is NO sense on changing to manual what should be automatic. The user will decrease protection and increase the annoyance.
The update process is optimized to use a level of resources that does not interfere in the normal computer working.
Title: Re: Avast tries to "kill" hdd when updating
Post by: ady4um on November 16, 2011, 10:51:43 PM
I have the impression that something else is going on there. The amount of RAM might have some influence, but my guess is that it is not a "low RAM" issue in this case, considering the rest of the system info.

Being all SSD, I would tend to think even less problems should be felt by the user.

Moreover, Avast downloads between 10KB and 300 - 400 KB for each definitions update, so *that* many HDD (SDD) resources being involved doesn't "sound" logical.

The only thing I can think about is to edit the ini file to delay the first definitions update when the system boots up (sorry, I currently don't remember the adequate ini setting for this), and then to change the frequency for checking availability for updates (although, this setting should be less important for this particular case) from the current 240 minutes to something like 480 minutes for example.

One "setting" is different here: the second SSD is the one with Avast. This "should NOT" be a problem either, but maybe it is?

What security tools you have installed together / in parallel with Avast? What security tools (antivirus, firewall, others) you USED to have? I mean, running the respective removal utilities besides the normal uninstaller could help too (a partial list of the specific removal utilities of many security tools is located at http://singularlabs.com/uninstallers/security-software/ (http://singularlabs.com/uninstallers/security-software/) and it is usually better to run them under Windows Safe Mode).

The removal utilities are also valid for "pre-installed" security tools.
Title: Re: Avast tries to "kill" hdd when updating
Post by: Lisandro on November 16, 2011, 11:01:31 PM
Moreover, Avast downloads between 10KB and 300 - 400 KB for each definitions update, so *that* many HDD (SDD) resources being involved doesn't "sound" logical.
+1

The only thing I can think about is to edit the ini file to delay the first definitions update when the system boots up (sorry, I currently don't remember the adequate ini setting for this), and then to change the frequency for checking availability for updates (although, this setting should be less important for this particular case) from the current 240 minutes to something like 480 minutes for example.
But it happens in any update and not just after login ???
Title: Re: Avast tries to "kill" hdd when updating
Post by: ady4um on November 16, 2011, 11:21:07 PM
But it happens in any update and not just after login ???

Yes, but the OP mentioned that it is also having some trouble when the system starts up while definitions are being updated. So, the ini setting would *delay* the first definitions update, so the system would be already up and running for some minutes, and only *then* Avast would attempt its first definitions update. In this sense, it "may" help (just a very little bit) to also delay Avast main GUI -> troubleshooting -> "load Avast services only after other system services".

But, as Tech says, that's only for the first definitions update. For the rest, at least changing the frequency of attempts "could" help a little too.

Anyway, some "paranormal senses" are telling me that all these suggestions are not going to really solve the problem. It really "sounds" like some remnants of some other security tool is "bothering" here. But, again, this is just a guess, until the OP gives some additional feedback / info.
Title: Re: Avast tries to "kill" hdd when updating
Post by: amonra on November 17, 2011, 10:23:40 AM
.... computer feels sluggish.....


Same symptoms here. Especially my Vista sidebar loads "hesitated" and too late. It happens on every startup when a definition update is in action.
Title: Re: Avast tries to "kill" hdd when updating
Post by: ady4um on November 17, 2011, 10:36:03 AM
.... computer feels sluggish.....


Same symptoms here. Especially my Vista sidebar loads "hesitated" and too late. It happens on every startup when a definition update is in action.

Those are not exactly "the same symptoms". The problem here is different.
Title: Re: Avast tries to "kill" hdd when updating
Post by: Vauxi on November 17, 2011, 05:24:54 PM
.
The update process is optimized to use a level of resources that does not interfere in the normal computer working.
This is how it used to be.
How much RAM do you have?
6GB

I'll have to specify some more. I have 3 hdd's and from those three one is SDD. Rest are regular. Avast is therefore installed to the normal discdrive.
Delaying update is not going to fix the prob at all. I think. Windows is lets say 4 month old install. No other virus software running than windows defender. Not even windows firewall.
Title: Re: Avast tries to "kill" hdd when updating
Post by: ady4um on November 17, 2011, 09:38:35 PM
Any reason for installing Avast in the second HDD, instead of the first one?

In which disk is Windows installed?

Is Windows completely updated using Windows Update? If not, please update, reboot and check again for possible available updates (and repeat again and again, including the reboots, until no Windows Updates are offered).

Before installing Avast, did you have any security tool (antivirus, anti-phishing, antispam, firewall, ...)?

Please report back with all these answers so to try to give you better suggestions.
Title: Re: Avast tries to "kill" hdd when updating
Post by: Vauxi on November 18, 2011, 04:37:15 PM
Any reason for installing Avast in the second HDD, instead of the first one?

In which disk is Windows installed?

Is Windows completely updated using Windows Update? If not, please update, reboot and check again for possible available updates (and repeat again and again, including the reboots, until no Windows Updates are offered).

Before installing Avast, did you have any security tool (antivirus, anti-phishing, antispam, firewall, ...)?

Please report back with all these answers so to try to give you better suggestions.

Avast is at the second disc, because windows :D. Format C: is much easier to do when all software is elsewhere. Windows is fully updated via it's update and it is located at first hdd(sdd). Avast was and is first and only third party security tool at this install.
Took another screen capture (https://picasaweb.google.com/lh/photo/ON1Ofktx3jYEoDkyME9nJ_FKexbVPxkUZQd_Gdrdp1o?feat=directlink) just few minutes ago. There is clock running down bottom. Something around 6 minutes Avast screen comes up and things settles down.
Title: Re: Avast tries to "kill" hdd when updating
Post by: ady4um on November 18, 2011, 05:29:09 PM
Well, first let me tell you that depending on the type of Windows Setup disc, there is still a possibility to have security tools installed before Avast. I'm not saying this is your case (since I don't have any way to know it), but the possibility is there.

So this means that there might be some other security tool, whether "pre-installed", or that was installed "anyway" (without your knowledge, and even if it is not listed in your "Programs").

Now, besides this, are you able to say the problem is Avast itself? Wouldn't this be happening in your system, with any other antivirus, too?

Do you have any free space in your first disk? The reason I ask is so you could try running the specific removal utility for Avast (http://www.avast.com/uninstall-utility (http://www.avast.com/uninstall-utility)) under Windows Safe Mode, and then install Avast anew in the first disk.

I know this may sound at least "strange" to you, but separating the programs from your OS in 2 different partitions is not giving you any real practical advantage under MS-Windows. Using other OSs, it may. In theory, it is possible to have 2 Windows installations with dual boot, and to have only one (and the same) installation of Programs. In practice, it is not stable enough (to say the least).

So, if you could try the removal utility for Avast under Windows Safe Mode, using the correct version(s) of Avast (run it more than once if you ever had other versions of Avast), and selecting the correct current installation folder of your current Avast in the removal utility, maybe you could try installing Avast in your first disk?

After installing, please reboot immediately (before configuring or updating) and only then proceed to test, configure, definitions update, ...

Independently of that suggestion, I would double check for any "strange" driver ("Device Drivers -> "Show hidden devices") and services, so to find out any potential security tool that might have left there some remnant (coming from your installation discs, even when you might have uncheck any pre-install software).

Whatever the case, please report back.
Title: Re: Avast tries to "kill" hdd when updating
Post by: Vauxi on November 18, 2011, 08:01:27 PM
I bought OEM version of windows. Not from any pc manufacturer lenovo etc. Just regular oem. As far as I know it doesn't contain any other software than ms Defender. I can uninstall Avast and reinstall it. But it sounds somehow useless. I've been using separate OS and software partition for ages and it has not give me any trouble ever. Instead it has saved my and some friends private files from getting deleted when there were no usb at all :D And later on too.

What info i should dig out to you ?
Title: Re: Avast tries to "kill" hdd when updating
Post by: ady4um on November 18, 2011, 09:29:56 PM
Currently, until and if you have no additional behaviours, or if you don't try the removal utility for Avast, there is nothing I can think about (maybe someone else?), so no specific info you could provide until then.

About the separate disk for programs, I didn't say it will give you troubles (or at least didn't mean that, exactly).

One thing is saving your DATA or documents in a different disk. A second different thing is to install your programs in a separate partition. Under the first case, you can "format c:" and reinstall more easily. With the second case, you still need to reinstall the programs after "format c: and after reinstalling Windows", just the same.

The real advantage is on the "first" case (separate disk for DATA). Under Windows, installing the programs in whichever partition or disk you want is not going to save you from reinstalling them after "format C:", where "C:" is the partition where Windows is installed. A separate disk for data helps for backups, for Windows problems, for filesystem issues and for hardware inconveniences. For the programs themselves, when there is a problem with Windows that really would require to start all over again, the separate partition is not an advantage.

May I ask, since "when" you discovered this HDD resources problem? I mean, it was right after Avast was installed? Or maybe something else might have triggered this? Do you happen to see a similar behaviour in this same system using other tools or under other situation?
Title: Re: Avast tries to "kill" hdd when updating
Post by: Vauxi on November 18, 2011, 11:00:31 PM
May I ask, since "when" you discovered this HDD resources problem? I mean, it was right after Avast was installed? Or maybe something else might have triggered this? Do you happen to see a similar behaviour in this same system using other tools or under other situation?
Speaking of wich, Foobar 2000k music player might do the same when starting and closing it. Not when using it. But I don't know yet for sure. That is all I can think of. I don't even have much programs installed. This was not started straight away after install. I can't say excatly when this started. I've been following this only fort two weeks.
Title: Re: Avast tries to "kill" hdd when updating
Post by: Vauxi on November 19, 2011, 04:17:32 PM
Ok. Uninstalled Avast with uninstaller software. Damn it was fast boot up afterwards! Downloaded latest version from site, installed and registered straight away. So far I cannot say has anything changed at all. Installed it to C:.
Title: Re: Avast tries to "kill" hdd when updating
Post by: ady4um on November 20, 2011, 12:35:01 AM
Well, then we are almost denpending on you to find out the cause of the problem.

If you are certain there is no conflict with any other software of configuration, and you are using the latest stable version of Avast, then I am currently out of ideas (and I consulted also with others about this, with no new suggestions either).

The definitions download itself is just a few KB (between 10 and 400KB). Once it is downloaded, Avast takes the previous VPS and rebuilds it with the new differential update. That's about 65MB. Let's assume that between the old and the new VPS you have less than 140MB.

How much time the HDD is using intensive resources? Are 140MB (or less) something that "sounds about right" in your system? How much free space do you have in each HDD?

Just to be clear, we are simple users here. Maybe some Avast Team member could potentially give some tip or direction towards what could be the problem (if it is really one).
Title: Re: Avast tries to "kill" hdd when updating
Post by: Vauxi on November 20, 2011, 08:17:12 AM

The definitions download itself is just a few KB (between 10 and 400KB). Once it is downloaded, Avast takes the previous VPS and rebuilds it with the new differential update. That's about 65MB. Let's assume that between the old and the new VPS you have less than 140MB.

How much time the HDD is using intensive resources? Are 140MB (or less) something that "sounds about right" in your system? How much free space do you have in each HDD?


This sunday morning it was working as it should. Sdd didn't die at glance :D And boot up is still as fast as it was few months ago. Not that fast without Avast, but that is normal.
So far it seems to that problem is long gone. Foobar is still weirdly slow to start and close. But it is not that slow to be worried. I digged a littlebit deeper with this and found out that my both regular hdd are showing bit high level results at SMART test. #13 to be exact. To be worried? I dont think so. Time will tell :D

Every partitions have at least 50% free space. And writing ~140MB in ~6minutes is slow. Really slow. But today it took only few seconds. Of course ssd is faster, but still. I will continue this topic, if prob still is occurs. :)  Thanks so far.
Title: Re: Avast tries to "kill" hdd when updating *fixed*
Post by: ady4um on November 20, 2011, 09:03:00 AM
Glad you are having at least less problems.

About the 140MB, that's only an approximate maximum. Only some KBs are new. About 65MB are from the previous database. So the 140MB I mentioned is "read+write", and half of it could be only a simple "move to new folder" action (which doesn't require a full read + write operation, so it would be much faster than the rest).

My suggestion would be to have / make a backup of your data, and then run the relevant HDD test tools (from the respective manufacturers, but not all of them provide those type of tools). After that, perform filesystem checks (chkdsk / scandisk with fix).

Finally, if you find problems again with Avast, you may want to try the removal utility of Avast applied for each and every version you ever had installed, under Windows Safe Mode (although, if I understood correctly, the only version you have *ever* installed is Avast Free 6.0.1289). Once removed under Windows Safe Mode, you would try again installing in the second HDD, and reboot immediately. Of course all this would be relevant only if problems arise again with Avast, and if you would want to compare the situation between the installation in the first or the second disks.

If you have any other problem or comments, please don't hesitate to come back.
Title: Re: Avast tries to "kill" hdd when updating
Post by: joonamo on November 20, 2011, 08:12:14 PM
I have had the same problem on my Win 7 machine for about two months now. I have only one 1Tb HDD with plenty of free space. When Avast tries to update itself it some times almost locks the disk access. HDD indicator light just stays on when it normally flashes. The drive is quite noisy and I can hear that only a very little data is being read/written. Opening anything, even the task manager, takes ages.

I ran the repair function from Control Panel and it helped for couple of days. Tried setting Avast to start after other processes helped also for couple of days. After hhd froze again I ran the complete uninstall on safe mode and then re-installed. It worked for a week, but today after resuming from hibernate hdd locked again. This time I clocked 15 minutes for the freeze. (Or during the freeze Avast said that it haven't checked for updates in a while. After the freeze said it had checked for them 15min ago. It found no new updates.)

Specifications for the pc: Intel Core i5-2600, 8Gb of ram, 1Tb traditional HDD on sata, Win 7 Ultimate (licensed) with all the updates from WinUpdate. Avast 6.xxxx is the only security software ever installed.

I have now set updates to manual and have Process Explorer running at all time so when it freezes next time I can see what software is using the HDD. It still might be something else than Avast, but it always happens right at the same time with Avast Updates.

EDIT: During the freeze cpu usage is 0-1%. Pc is built basically by myself.
PS. The forums are loading super slow on my mac.
Title: Re: Avast tries to "kill" hdd when updating *fixed*
Post by: ady4um on November 20, 2011, 08:30:55 PM
You may try avast main GUI -> settings -> troubleshooting -> "load avast service only after other system services", but probably it won't be enough.

There are additional settings to add in the ini so to delay the first definitions update after the boot. I'll search for it and will post it here, just in case you would want to try it. But, that's going to MAYBE help only for the first update.

Other security tools that were installed in the past may have some remnants, so searching for the specific removal utilities may help (partial list at http://singularlabs.com/uninstallers/security-software/ (http://singularlabs.com/uninstallers/security-software/)).

I would repeat: HDD manufacturers have some useful tools to test hardware (HDD and cable connections to ports).
Title: Re: Avast tries to "kill" hdd when updating *fixed*
Post by: ady4um on November 20, 2011, 08:36:06 PM
I am copying this from DavidR.

Quote
- In avast6 you need to edit (using notepad) avast5.ini the [InetWD] section of the C:\Documents and Settings\All Users\Application Data\Avast Software\Avast\avast5.ini (XP file location).

- Broadband connections, add this line:
AlwaysConnectedWaitSeconds=120 and
AssumeAlwaysConnected=1 if not present (or edit AssumeAlwaysConnected=0 to AssumeAlwaysConnected=1)


Code: [Select]
[InetWD]
AssumeAlwaysConnected=1
AlwaysConnectedWaitSeconds=120


When complete save the changes, avast's self-defence module will ask for confirmation, etc. answer Yes.

The figure is seconds and the above equates to two minutes, you could try that and adjust upwards if required, 180, 240, 360,etc.

Of course the values may not be relevant for your case (permanent Internet connection is needed, for example)

@joonamo , for more troubleshooting (if necessary), please open a new separate topic.

BTW, the forum is currently slow for me too.