Avast.setup process system hog

I have been running Avast! for a couple of weeks and usually task manager (Win 2000 Pro + SP4 + all security updates to date) just shows the standard processes. Today I noticed things a little slow and a process I never saw before (avast.setup) is running and using about 30% of the CPU. Can anyone shed light on this for me?

Yep, I’d asked about this one, too. (The sys tray red and green arrows?) It slows mine right down for a minute or two while it’s doing its thing. CPU fluctuates between ~ 20-32 during this time. It’s normal.
I would like to know why some updates do it, and some don’t.

avast.setup is the auto update process downloading VPS updates, it is set to a lower than normal priority, so as not to be a system resources hog, if it is only taking 30% of CPU, what is using the rest. Unlike other AV updates, the avast VPS updates are incremental so should be smaller and take less time.

I do notice a little slowing when the update process is running, but the problem may be that it happens very close to your boot activity (once an Internet connection is detected), so that time could be quite busy for the system and to have 30% taken up would be noticeable.

I take it that this happens shortly after boot ?
If so I would suggest you delay the avast auto update check.
You could edit the avast4.ini file, [InetWD] section, add the following line if it isn’t present (or edit if present), AlwaysConnectedWaitSeconds=120 and AssumeAlwaysConnected=1 (for broadband connections) or RASWaitSeconds=120 and UseRAS=1 (for dial-up connections).

See example below, both these values wouldn’t be present at the same time obviously. The figure is in seconds and you can set your own duration to wait before checking for updates. This allows time for a connection to be fully established.

[InetWD] AssumeAlwaysConnected=1 AlwaysConnectedWaitSeconds=120 OR UseRAS=1 RASWaitSeconds=120

Thank you for the info in your reply. VERY useful! But not exactly the issue most updates are small and harmless, but once in a while my system starts acting like its running on mud instead of electricity; this can last up to 20 minutes. avast.setup is always an active process when this occurs, and when the system speeds back up to normal avast.setup is always gone from the process list. So some updates are taking as long as 20 minutes… can I arrange for the updates to take place at night, for example?

Even on dial-up it shouldn’t take more than 1-2 minutes.
On permanent connections, some seconds.
Something is crashing your update process.
Please, post the last 200-250 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log

Only in professional version.

If the update is going on for 20 minutes then avast.setup has stalled or something is most certainly wrong, exactly what is the 64,000 dollar question.

Now if avast.setup were truly a system hog it would be happening every time and not ‘once in a while,’ does this happen to coincide with the window update Patch Tuesday ?

This has been known to happen (many instances in the forums) as windows update can get in the way of many auto updates as it would appear to have a higher priority. If this is the case then delaying the avast update may stop the two getting in each others way as they try to check for updates.

As far as the Home version is concerned there is no way to schedule updates, I don’t know if there is an option to do this in the Pro version. Edit, Pro scheduled update option confirmed by Tech.

The comments about dial-up are really a red herring in this discussion.

The avast update consists of two parts, the first is the download of the update file - this is usually a few kilobytes and rarely more than a few tens of kilobytes in size. Dial up or broadband will have no problems with this.

The second and much more resource intensive phase is the integration of the update file into the main VPS file of avast. It is this that is CPU intensive and can be very time consuming. I notice on my old XP machine that I only turn on maybe one a week that the accumulated avast updates may only total say 50Kb but avast itself reports in the update summary that the download took 1 second and the total update time is often in excess of 5 minutes during which avast is consuming 30% of the CPU.

On an old laptop I have running Windows Me and only brought up say once a month or less then the total time taken for the integration of the avast updates can easily be in excess of 20 minutes.

I believe avast uses an industry standard database management method for the database and this does appear more resource intensive in the database update, presumably giving greater returns in the efficiency of normal runtime use as avast is protecting our systems realtime.

Nope, avast uses quite a low level routines for working with the diff updates.
But they’re memory intensive (and if there is not enough memory, it swaps, which is slow) and cpu intensive - compression, md5 verification, digital signature verification.

In new 4.8 this should be somewhat lighter.

SECONDS on a permanent connection? You’re joking, right?

How about HOURS!

I have a 6 Mb connection with the cable company. After installing avast Home Edition a month ago, it ALWAYS took at least ONE HOUR to update itself each day. It would download bits and pieces, do nothing for 5 minutes, download a little more, do nothing for 5 minutes and this repeats itself.

I decided to uninstall it and reinstall it to see if that would fix the problem. It would NOT uninstall normally, I had to reboot into Safe Mode (Windows XP Home) in order to uninstall it. It kept displaying some sort of face-something error.

I reinstalled it, only to see the same thing. I reinstalled it ONE HOUR AGO, the screen shows 248,000 bytes out of 1 million bytes complete.

I realize that it is free software, but for this software to take one hour to update itself every day, is unacceptable.

FWIW, the CPU is am AMD K6-2 at 500 MHz, system has 1/2 Gb of memory.

Yep, epp, something is definitely wrong with your installation. I know not what, but mine typically takes 12-14 seconds to update.
At a guess I would say you’ve had another AV (Norton) installed in the past, and it needs a bit of cleaning. If that was the case, download the Norton Removal Tool http://service1.symantec.com/SUPPORT/tsgeninfo.nsf/docid/2005033108162039, disconnect, uninstall Avast (again) (avast has a uninstall tool available,too, if required), run the Norton removal tool, reboot as prompted, but at least once now, try re-installing Avast.

Information about current update: Total time: 59:19
  • Vps: Updated
    (previous version: 080214-0, updated version: 080314-0)

Server: (removed for posting purposes)
Downloaded files: 31 (1,042.23 KB)
Download time: 12:04

It’s been a few years since I had Norton on it, you’d think uninstalling it would remove everything??? ::slight_smile:

Use the tool to get rid of the remains of Norton… files and registry left behind.

You would think so, wouldn’t you. But it doesn’t. A lot of applications tend to leave stuff behind after uninstalling (they shouldn’t, but do) it’s just that what Norton leaves behind tends to be more disruptive.

Done all this, reinstalled avast and I am no better off.

I opened the simple user interface, selected to update database and program automatically, clicked Details, program hung, non-responsive. Had to ALT-F4 to close it.

Also right-clicked the “a” globe in the systray, selected Updating/iAVS Update, it does nothing. Been running 16 minutes now.

EDIT: Opened the interface again, clicked “On” for updates, same screen as above, this time I clicked “Update now…” What happened? Nothing. Program hangs again (ALT-F4).

The only way to be safe online is not to use Windows, period.

Hmmm. Bit tricky.
Your cpu might not be up to the job, especially if you have a lot of programs running at start.
How many programs are set to run at startup under msconfig?

epp: Something in your is seriously wrong. Downloads are in kilobytes, times in tenths of seconds. Anything beyond that is wrong.

You can send us the file setup.log from avast4\setup directory for inspection. Use email setup-support at you know what dot com.

I’ve already uninstalled it permanently, so I have nothing to send.

For the benefit of Tarq57, not including any anti-virus software, 10 programs were checked to run at startup.

Thanks for that. (10 programs.)
Rather a lot, if you don’t need them. Those you don’t actually need running in the background can be disabled from starting with Windows, either in the respective program options, or by using msconfig, an exercise that might be worthwhile to get the most out of your pc.
If Avast won’t work OK on that machine, I guess you could try AVG or Avira. Don’t know if it will be any beter, though…I’ve tried all 3 and always found Avast to be the most trouble free, so sorry you’re having probs with it.

We don’t like to give up that quickly ;D
If you have to choose, Avira is better than AVG imho.

this is a reply to Tech, posted reply 4

Thanks. Here is the system.log extract (cut down from request due to message length limit):
15.03.2008 01:26:15.000 1205573175 package FilterOutExistingFiles: 145 & 145 = 0
15.03.2008 01:26:15.000 1205573175 package FilterOutExistingFiles: 145 & 145 = 0
15.03.2008 01:32:42.000 1205573562 package IsFullOkay: vps-8031400.vpu - is okay
15.03.2008 01:32:42.000 1205573562 package IsFullOkay: vpsm-8031400.vpu - is okay
15.03.2008 01:32:42.000 1205573562 package ArePartsInstallable: 1
15.03.2008 06:15:48.000 1205590548 package vps: updated [8031400]
15.03.2008 06:16:00.000 1205590560 file Fix security on: C:\Program Files\Alwil Software\Avast4*.*
15.03.2008 06:16:14.000 1205590574 file Fix security on: C:\Program Files\Alwil Software\Avast4\images*.*
15.03.2008 06:16:36.000 1205590596 file Fix security on: C:\Program Files\Alwil Software\Avast4\ENGLISH*.*
15.03.2008 06:16:45.000 1205590605 file Fix security on: C:\Program Files\Alwil Software\Avast4\ENGLISH\HtmlData*.*
15.03.2008 06:16:48.000 1205590608 file Fix security on: C:\Program Files\Alwil Software\Avast4\ENGLISH\HELP*.*
15.03.2008 06:17:24.000 1205590644 package Transferred files: 0
15.03.2008 06:17:24.000 1205590644 package Transferred bytes: 0
15.03.2008 06:17:24.000 1205590644 package Transfer time: 0 ms
15.03.2008 06:17:24.000 1205590644 package Retries total: 0
15.03.2008 06:17:24.000 1205590644 package Retried files: 0
15.03.2008 06:17:24.000 1205590644 package Tried servers: 0
15.03.2008 06:17:24.000 1205590644 file NeedReboot=false
15.03.2008 06:17:24.000 1205590644 general Return code: 0x20000000 [Something done]
15.03.2008 06:17:28.000 1205590648 general Stopped: 15.03.2008, 06:17:24

15.03.2008 06:21:16.000 1205590876 general Started: 15.03.2008, 06:21:16
15.03.2008 06:21:16.000 1205590876 general Running setup_av_pro-44a (1098)
15.03.2008 06:21:16.000 1205590876 system Operating system: Windows2000 ver 5.0, build 2195, sp 4.0 [Service Pack 4]
15.03.2008 06:21:16.000 1205590876 system Memory: 73% load. Phys:33644/126452K free, Page:207720/503680K free, Virt:2074228/2097024K free
15.03.2008 06:21:16.000 1205590876 system Computer WinName: PLAYBOX
15.03.2008 06:21:20.000 1205590880 system Windows Net User: SYSTEM
15.03.2008 06:21:24.000 1205590884 general Cmdline: /verysilent /noreboot /stopstat “C:\WINDOWS\TEMP\aswUpdSum.ini”
15.03.2008 06:21:24.000 1205590884 general Operation set to INST_OP_[16]
15.03.2008 06:21:24.000 1205590884 general Old version: 44a (1098)
15.03.2008 06:21:36.000 1205590896 system Using temp: C:\WINDOWS\TEMP_av_proI.tm~a00844 (5915M free)
15.03.2008 06:22:00.000 1205590920 general SGW32P::CheckIfInstalled set m_bAlreadyInstalled to 1
15.03.2008 06:22:00.000 1205590920 system Installed in: C:\Program Files\Alwil Software\Avast4 (5915M free)
15.03.2008 06:22:27.000 1205590947 internet SYNCER: Type: use IE settings
15.03.2008 06:22:27.000 1205590947 internet SYNCER: Auth: another authentication, use WinInet
15.03.2008 06:22:39.000 1205590959 package Part prg_av_pro-44a is installed
15.03.2008 06:22:39.000 1205590959 package Part vps-8031400 is installed
15.03.2008 06:22:39.000 1205590959 package Part news-4b is installed
15.03.2008 06:22:43.000 1205590963 package Part setup_av_pro-44a is installed
15.03.2008 06:22:47.000 1205590967 package Part jrog-2a is installed
15.03.2008 06:22:47.000 1205590967 general Old version: 44a (1098)
15.03.2008 06:22:47.000 1205590967 package Transferred files: 0
15.03.2008 06:22:47.000 1205590967 package Transferred bytes: 0
15.03.2008 06:22:47.000 1205590967 package Transfer time: 0 ms
15.03.2008 06:22:47.000 1205590967 package Retries total: 0
15.03.2008 06:22:47.000 1205590967 package Retried files: 0
15.03.2008 06:22:47.000 1205590967 package Tried servers: 0
15.03.2008 06:22:47.000 1205590967 file NeedReboot=false
15.03.2008 06:22:47.000 1205590967 general Return code: 0x20000001 [Nothing done]
15.03.2008 06:22:47.000 1205590967 general Stopped: 15.03.2008, 06:22:47

15.03.2008 06:54:23.000 1205592863 general Started: 15.03.2008, 06:54:23
15.03.2008 06:54:23.000 1205592863 general Running setup_av_pro-44a (1098)
15.03.2008 06:54:23.000 1205592863 system Operating system: Windows2000 ver 5.0, build 2195, sp 4.0 [Service Pack 4]
15.03.2008 06:54:23.000 1205592863 system Memory: 80% load. Phys:24932/126452K free, Page:207540/503680K free, Virt:2074228/2097024K free
15.03.2008 06:54:23.000 1205592863 system Computer WinName: PLAYBOX
15.03.2008 06:54:31.000 1205592871 system Windows Net User: SYSTEM
15.03.2008 06:54:36.000 1205592876 general Cmdline: /verysilent /noreboot /stopstat “C:\WINDOWS\TEMP\aswUpdSum.ini”
15.03.2008 06:54:36.000 1205592876 general Operation set to INST_OP_[16]
15.03.2008 06:54:36.000 1205592876 general Old version: 44a (1098)
15.03.2008 06:54:40.000 1205592880 system Using temp: C:\WINDOWS\TEMP_av_proI.tm~a00844 (5915M free)
15.03.2008 06:54:55.000 1205592895 general SGW32P::CheckIfInstalled set m_bAlreadyInstalled to 1
15.03.2008 06:54:55.000 1205592895 system Installed in: C:\Program Files\Alwil Software\Avast4 (5915M free)
15.03.2008 06:55:11.000 1205592911 internet SYNCER: Type: use IE settings
15.03.2008 06:55:11.000 1205592911 internet SYNCER: Auth: another authentication, use WinInet
15.03.2008 06:55:16.000 1205592916 package Part prg_av_pro-44a is installed
15.03.2008 06:55:19.000 1205592919 package Part vps-8031400 is installed
15.03.2008 06:55:20.000 1205592920 package Part news-4b is installed
15.03.2008 06:55:24.000 1205592924 package Part setup_av_pro-44a is installed
15.03.2008 06:55:24.000 1205592924 package Part jrog-2a is installed
15.03.2008 06:55:24.000 1205592924 general Old version: 44a (1098)
15.03.2008 06:55:28.000 1205592928 package Transferred files: 0
15.03.2008 06:55:28.000 1205592928 package Transferred bytes: 0
15.03.2008 06:55:28.000 1205592928 package Transfer time: 0 ms
15.03.2008 06:55:28.000 1205592928 package Retries total: 0
15.03.2008 06:55:28.000 1205592928 package Retried files: 0
15.03.2008 06:55:28.000 1205592928 package Tried servers: 0
15.03.2008 06:55:28.000 1205592928 file NeedReboot=false
15.03.2008 06:55:28.000 1205592928 general Return code: 0x20000001 [Nothing done]
15.03.2008 06:55:28.000 1205592928 general Stopped: 15.03.2008, 06:55:28