Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Lisandro on October 31, 2004, 08:04:59 PM

Title: CPU usage and avast!
Post by: Lisandro on October 31, 2004, 08:04:59 PM
I'm really upset with ashServ.exe CPU usage. I described the problem bellow, using Vlk's instructions. In few words, after 1-2 hours of computer inactivity, ashServ.exe colapses and start using all CPU usage...
Only hard reset will bring me the computer again...
Each day on lauch time  :(

I need a FTP site to upload the dump file and pray to get rid of this extremely boring trouble of each day... >:(
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 08:05:41 PM
1.  I've downloaded the MS debugger
    (http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.2.13.1.exe).
2.  Install it with default settings.
3.  Tryed to simulate the problem, i.e., wait for 1-2 hours of computer inactivity.
    Start browsing and trying to 'force' the use of the brandwidth.
4.  ashServ.exe starts to freeze, i.e., using all CPU available, well, in fact, up to 90%)
5.  Disable the Standard Shield, otherwise the whole computer will fail, colapse.
6.  Start the debugger. When started, hit F6 and in the process list, select "ashServ.exe".
7.  In the Command window with a command prompt line at the bottom, type the following:
    .symfix
    This will instruct the debugger to use the Microsoft debugging symbol server.
    This command should be accepted by the debugger with a message similar to this:
    No downstream store given, using etc. etc...
    Symbol search path is: SRV**http://msdl.microsoft.com/download/symbols

8.  Tell the debugger to dump the process to a file with the .dump command:
    .dump /ma C:\avast.dmp
    This command take a lot of time to complete as the CPU usage is broked down by ashServ.exe.
    But it also depends on the speed of the Internet connection, as it will donwloade the symbols
    from the Microsoft site.
9.  The debugger just won't tell when the process is finished.
    The best way to find out is to type some garbage to the command prompt and see whether
    it's responding or not. If it's responding, i.e. coplaining about invalid command or something
    like that, the previous command has already completed and we're ready to go.
10. After that, shut everything down (both the debugger and avast).
11. Make a *.zip file with C:\avast.dmp file and upload to some HTTP/FTP site.
Title: Re:CPU usage and avast!
Post by: Vlk on October 31, 2004, 08:50:48 PM
OK so now you have the dump and can upload it?
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 08:56:23 PM
OK so now you have the dump and can upload it?

I don't know if the dump is useful as, at the time I get it, or better, the only time I can get the dump avast! does not seem to be stressing the system. Anyway, pk send me by IM the details to connect a FTP site of him but I couldn't connect.

Have you space into avast site for it?  8)
Title: Re:CPU usage and avast!
Post by: pk on October 31, 2004, 08:59:33 PM
Technical, try it now...
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 09:06:33 PM
Technical, try it now...

Wow!!! I'm uploading first your files (the jar ones)
After that I'll try the 20Mb of the dump  ;)
Sunday bloody Sunday  :P
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 09:09:06 PM
I'm not being able to upload .gif files here...
Although, I can upload in Maxthon forums.
The problem is posted there: http://forum.maxthon.com/forum/index.php?showtopic=9704&st=0&p=60693&
Title: Re:CPU usage and avast!
Post by: Vlk on October 31, 2004, 10:12:58 PM
So have you uploaded the dump to pk's ftp server?
Title: Re:CPU usage and avast!
Post by: pk on October 31, 2004, 10:14:12 PM
he's still uploading... 5-10kb/s
Title: Re:CPU usage and avast!
Post by: Vlk on October 31, 2004, 10:15:08 PM
:-[
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 10:45:33 PM
Don't give up  ;D
89% done  8)
Average now 4,7 kbps  :'(
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 11:00:09 PM
Finished  8)
Title: Re:CPU usage and avast!
Post by: pk on October 31, 2004, 11:02:33 PM
not exactly, i sent you an email
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 11:04:19 PM
not exactly, i sent you an email

Are you joking?  :P
The only possibility now I think is splitting the file into small pieces... Can we try?

I'm already trying...
But I suppose you can go to sleep because it's late...
Title: Re:CPU usage and avast!
Post by: pk on October 31, 2004, 11:27:53 PM
hehe, 11pm is not late (wintertime!) ;D
keep uploading...
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 11:35:03 PM
Thanks... Your patience makes me ashamed  :-[  :-[
Is there any possibility of the dump file is corrupt and worth nothing?

Situation now: 5/12 files of 1,423 Mb each  ;)
Title: Re:CPU usage and avast!
Post by: pk on October 31, 2004, 11:37:58 PM
better upload again, or split the archive in small ones + use WinSFV tool to generate crc values for those files.
Title: Re:CPU usage and avast!
Post by: Lisandro on October 31, 2004, 11:40:44 PM
better upload again, or split the archive in small ones + use WinSFV tool to generate crc values for those files.

Did you post wrongly?
I'm doing this and test the split/join the archive many times... it's working here!
Title: Re:CPU usage and avast!
Post by: Lisandro on November 01, 2004, 12:23:12 AM
Did you get it? Work?  8)
Title: Re:CPU usage and avast!
Post by: pk on November 01, 2004, 12:34:20 AM
yes, extracted and sent to vlk
thanks
Title: Re:CPU usage and avast!
Post by: Lisandro on November 01, 2004, 01:42:32 AM
yes, extracted and sent to vlk
thanks

Thanks. Waiting for Vlk and hopping it has some utility  8)
Title: Re:CPU usage and avast!
Post by: watchthisspace on November 01, 2004, 05:15:54 AM
wow!! that sounds like a bad problem, I wonder if anyone else gets this problem?
Title: Re:CPU usage and avast!
Post by: Vlk on November 01, 2004, 08:35:36 AM
Technical, I see no problem in the dump BUT it seems that the process is in the middle of doing a scheduled scan. Do you have a scan schedule set? If so, you shouldn't be surprised that ashServ.exe is taking up some CPU until the scan completes... :)
Title: Re:CPU usage and avast!
Post by: Eddy on November 01, 2004, 12:05:10 PM
If needed I can open my ftp server for upload. Just let me know. If not needed, pretend I never wrote this. ;D
Title: Re:CPU usage and avast!
Post by: Lisandro on November 01, 2004, 02:44:09 PM
Technical, I see no problem in the dump BUT it seems that the process is in the middle of doing a scheduled scan. Do you have a scan schedule set? If so, you shouldn't be surprised that ashServ.exe is taking up some CPU until the scan completes... :)

What the hell you're right  :o
I forgot that I scheduled a long time ago... the scanning could not finish in that time and ashServ.exe just use the CPU.
At least, I'm happy that we found it! Very thanks pk and Vlk for the 'dump' issue  8)
Title: Re:CPU usage and avast!
Post by: Vlk on November 01, 2004, 04:59:40 PM
Technical, an important question here is - does the scheduled scan ever complete?

I mean, does it run for a given time and then finishes -- or it just runs forever?

Thanks
Vlk
Title: Re:CPU usage and avast!
Post by: Lisandro on November 01, 2004, 08:12:38 PM
Vlk, as I can see by the Sections results, some of them are finished, some of them, probably because of the crash (forced boot) are shown as 'in execution'. I have the last sections results stored if there is any useful information... Do you want a log or something?

So I can't answer your question. Sure, some of them started at a given time and then finished. Others not... I can't say they're running forever... Sometimes I tried to unable the residents and then start them again. Sometimes I used RejZoR's application.

Today, it does not happen as I remove the scheduling  8)
Title: Re:CPU usage and avast!
Post by: Lisandro on November 07, 2004, 06:01:39 PM
Technical, an important question here is - does the scheduled scan ever complete?

Well, today is Sunday, it's the only day I scheduled a scan...
It does not finish anytime and the CPU was used up to 95%.

Some questions:

1) Using an on-demmand scanning, the CPU usage (even when not in background mode) is lower than the schedule task.  :-\

2) The schedule scan is taking much more time to finish than the on-demand with same settings even I'm not using the computer.

3) ashServ.exe is running like SYSTEM at High priority  :'(

4) Is the monitor and HDD power supply settings due to anything here? I mean, if the system go to stand by (if it is posible to a computer goes to this state while the scheduled tasks is running)

Seems that the scheduled action would ever posible to be started if it can't be finished before the user comes back to use the computer.

I really suggest that the user can set the task priority.