Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: mek on November 27, 2005, 09:26:49 PM

Title: very high(frequent) disc activity
Post by: mek on November 27, 2005, 09:26:49 PM
Hi all

I experience on my System very high/frequent disc activity (2 disc access operations per second) caused by Avast itself or by the Windows Explorer concerning Avast files:

by the ashServ.exe and ashDisp.exe processes:
- to <Avast>\DATA\Avast4.ini
- to <Avast>\DATA\Avast4.mdb

by the explorer.exe process:
- to <Avast>\Aavm4h.dll

I'm using XP/SP-2 with all security patches, and (I think) the newest Avast version. All Avast providers but the "Standard Shield" are disabled. The activity starts right after a system reboot and remains active.

So what the hell is going on? And how can I stop this activities (besides by deinstalling Avast ;-))?

Thanks for any reply!
Kuno
Title: Re: very high(frequent) disc activity
Post by: galooma on November 27, 2005, 09:30:58 PM
Hi and welcome,
Can you check the sensitivity of standard sheild should be set to normal . maybe you have it set to high?
Title: Re: very high(frequent) disc activity
Post by: DavidR on November 28, 2005, 12:23:26 AM
What version of avast are you using Home or Pro?

The two processes are checking for changes to settings I believe, etc.

If home try this - Right click the avast! icon and select Program Settings, then Troubleshooting and tick the Use XML storage instead of ODBC.

I sem to remember something like this before.
Title: Re: very high(frequent) disc activity
Post by: Lisandro on November 28, 2005, 02:17:16 AM
If home try this - Right click the avast! icon and select Program Settings, then Troubleshooting and tick the Use XML storage instead of ODBC.
This could prevent the Microsoft Jet drivers from accessing the database... does it have any (positive) effect?
Title: Re: very high(frequent) disc activity
Post by: DavidR on November 28, 2005, 03:36:03 PM
Which is why I suggested it if 'mek' is using the Home version.
Title: Re: very high(frequent) disc activity
Post by: mek on November 28, 2005, 08:13:05 PM
Hi all

Many thanks for your replies. Ok, here the facts:

- I'm using Avast Home Edition 4.6.731

- Setting to XML-Storage calmed the things down:
    - file access to Avast4.mdb and Aavm4h.dll seem to be gone
    - access to Avast4.ini has been reduced to a 6s interval

- I think, the previous security level of the standard shield was normal; though I'm not sure by 100% because the switching to XML caused that all providers were running again after system boot.
Title: Re: very high(frequent) disc activity
Post by: DavidR on November 28, 2005, 10:28:47 PM
Yes as Tech mentioned the MS Jet Drivers which are used when the database used is ODBC can on occasions cause this type of activity. Changing the database to XML seems to resolve that, there is the fact that the settings may well be lost in the change of database storage method and that is what you saw.

Hopefully you are now back to were you were before but without the HDD activity.
Title: Re: very high(frequent) disc activity
Post by: alanrf on December 06, 2005, 12:08:10 PM
I have just dicovered the condition reported by mek to be occurring on my system. 

In an earlier release of avast when this "disk hammering" had been reported I had confirmed that it was definitely not happening for me.  Now I find that it is.  While the "prescribed medicine" (XML instead of ODBC) has had the same calming effect it had for mek, I wonder if there is any information on why this problem should arise when it was not present before.
Title: Re: very high(frequent) disc activity
Post by: alanrf on December 06, 2005, 10:50:31 PM
I just called another avast! user (current version) also on WinXP SP2 and asked him to check his system.  He also has exactly the same condition as reported by mek. 

I wonder how many other users are unaware that they do too.  Would it reduce the i/o overhead for avast! for Home Edition users generally if XML were the default?
Title: Re: very high(frequent) disc activity
Post by: szc on December 06, 2005, 11:22:22 PM
It's nothing new, it's just no one listened when we were alarming that something strange is happening. This thread is not quite new, and it tells much about some boot-time issues.

http://forum.avast.com/index.php?topic=16882.msg143240#msg143240

No Home Edition here, and I don't use XML data storage, I use ODBC as suggested (for Pro version) by Alwil team many times by now... still booting time went up to whole 1 and a half minute. That's unbelievable slow considering how it was before. And this is a list of my startup items (I keep it very clean):

(http://img443.imageshack.us/img443/1548/untitled15ue.jpg)

And also this is a list of my services:

(http://img387.imageshack.us/img387/8753/untitled10sl.jpg)

And this is what autoruns says:

(http://img364.imageshack.us/img364/3663/untitled17cz.jpg)

...plus, Process Explorer:

(http://img374.imageshack.us/img374/2742/untitled11tz.jpg)

On my test machine I completely uninstalled avast! (Home Edition on that one though), cleaned registry and every single trace of avast! and installed NOD32. What a decrease in boot time, that's unbelievable. System starts almost immediatelly. Oh, forgot to say, Kerio latest version is installed on both systems.

What's happening I have no clue...
Title: Re: very high(frequent) disc activity
Post by: alanrf on December 07, 2005, 06:21:09 AM
Sasha,

interesting that you connect this with boot time issues. 

I changed from ODBC to XML and it did not seem to affect me at all, other than (when I inspected my Filemon log) all the excessive accesses ceased. 

The person I called - having the identical condition as mek-  went ballistic at me for recommending a change (ODBC to XML) that dramatically increased his boot time.  The avast logo in the systray spinning "forever" before the ZoneAlarm client loaded. Reverting to ODBC restored the speedier system startup.

I tried going back as far as 4.6.655 but the "mek" excessive accesses persist. I guess I have not been monitoring too closely as each avast! update was deployed. 

To be fair to our friends in the avast! team even reverting to ODBC (with the "excessive" accesses recorded by Filemon) are, for me, not having a significant effect on CPU utilization and appear to be managed largely within memory and not incurring any recordable amount of extra physical disk activity.

       
Title: Re: very high(frequent) disc activity
Post by: szc on December 07, 2005, 02:02:08 PM
Sasha,

interesting that you connect this with boot time issues.
...
...
...

Well, what else ? I've read about those "disk hammering" issues, and same thing happens during the bootup process (after logging into Windows)... extensive disk activity for no visible (I mean so obvious) reason. As you can see, not many programs are in my startup, so I really don't see any need for ashServ.exe to use that much of a CPU time.
Title: Re: very high(frequent) disc activity
Post by: Zagor on December 07, 2005, 05:09:19 PM
Well I have to agree with Sasha,
I see no reason for this to happen.
As alarnf said "The avast logo in the systray is spinning "forever" before the ZoneAlarm client loaded".

This wasn't happening when I had Bit Defender installed before.
I use ODBC and my boot lasts for two minutes, annoying ha?!
Title: Re: very high(frequent) disc activity
Post by: szc on December 07, 2005, 05:16:01 PM
Exactly, and take a look here please (my post about Comodo firewall, but pay attention to the antivirus change story):

http://forum.avast.com/index.php?topic=17020.msg147118#msg147118
Title: Re: very high(frequent) disc activity
Post by: Lisandro on December 07, 2005, 05:54:26 PM
Prescribed medicine (XML instead of ODBC)

Remember, if you ask which is better ODBC or XML? I'll say that for the Home version, they are equal.

For the Professional version of avast!, XML is missing some functionality (compared to ODBC), so switching avast! Pro to XML storage is not a good idea: ODBC makes it possible to store the past sessions in the Professional version - which is not possible with XML. Appart from this, Enhanced User Interface behaves strange when switched to XML storage - when a task is started, another instance of it appears in the list (of the tasks, not of the corresponding sessions!). Alwil did not explore the problem deeper yet, so it could be a bug or just something caused by the inability to store additional info in the storage. Right now, XML storage is currently considered just a backup option for avast! Home.

So with Professional version, try to update the Jet drivers (MDAC package) and see if it helps (http://www.microsoft.com/data).

antivirus interacting with firewall at logon is always a problem in SP2.
For me, avast runs ok, but Kerio gives me an error: cannot connect to service  :P
Title: Re: very high(frequent) disc activity
Post by: Zagor on December 07, 2005, 06:27:54 PM
Ultimately my solution was to buy more RAM   ;D ;D ;D
Well, coldn't hurt  :)
Title: Re: very high(frequent) disc activity
Post by: szc on December 07, 2005, 06:30:37 PM
Well I'm already on 1Gb (DDRAM PC3200), running both quite fast machines. And still boot-up raised up quite significantly.
Title: Re: very high(frequent) disc activity
Post by: Zagor on December 07, 2005, 06:34:45 PM
Ultimately my solution was to buy more RAM   ;D ;D ;D
Well, coldn't hurt  :)
Title: Re: very high(frequent) disc activity
Post by: Zagor on December 07, 2005, 06:41:24 PM
If I post the same message again please don't laugh  :) :D :D,
that's because I have problems (apparently) with the forum engine!