Excessive CPU usage during Update - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

pfoltyn
Posts: 3
Joined: Fri Nov 27, 2009 12:20 pm

Excessive CPU usage during Update

Dear All,

We've recently come across a problem with Advanced Updater. When our software is restarted then an instance of SoftwareUpdater.exe (created by AI) will run and will normally close after it's checked for the latest version. But instead, it stays up and running and it's using 100% of the CPU. Another thing is that because SoftwareUpdater.exe isn't closing correctly, each time our software is restarted a new instance is created. Below is a log from machine (Win XP SP3) where two instances of SoftwareUpdater.exe were fired off, both using all the CPU - i.e. both cores are 100% used (we've managed to suspend them using Process Explorer).

This is Advanced Updater 1.09.0007.0000. The threads active are:

SoftwareUpdater.exe+0x1a3e
SoftwareUpdater.exe+0x21165
SoftwareUpdater.exe+0x20887
ntdll.dll!RtlpTimerThread


The top thread is hogging the CPU - repeated snapshots show it between two states:

ntkrnlpa.exe!KiUnlockDispatcherDatabase+0x9e
ntkrnlpa.exe!KeSetEvent+0x76
ntkrnlpa.exe!PspGetSetContextSpecialApc+0x4e
ntdll.dll!KiFastSystemCallRet
ntdll.dll!ZwWaitForSingleObject+0xc
kernel32.dll!WaitForSingleObjectEx+0xa8
kernel32.dll!WaitForSingleObject+0x12
SoftwareUpdater.exe+0x2d05
SoftwareUpdater.exe+0x2988
SoftwareUpdater.exe+0x265e
SoftwareUpdater.exe+0x2381
SoftwareUpdater.exe+0x1c2d
SoftwareUpdater.exe+0x1a47

ntkrnlpa.exe!KiSwapContext+0x2f
ntkrnlpa.exe!KiSwapThread+0x8a
ntkrnlpa.exe!KeWaitForSingleObject+0x1c2
ntkrnlpa.exe!KiSuspendThread+0x18
ntkrnlpa.exe!KiDeliverApc+0x124
hal.dll!HalpApcInterrupt+0xc6
hal.dll!HalRequestSoftwareInterrupt+0x3c
ntkrnlpa.exe!ObReferenceObjectByHandle+0x209
ntkrnlpa.exe!NtWaitForSingleObject+0x6f
ntkrnlpa.exe!KiFastCallEntry+0xfc
ntdll.dll!KiFastSystemCallRet
ntdll.dll!ZwWaitForSingleObject+0xc
kernel32.dll!WaitForSingleObjectEx+0xa8
kernel32.dll!WaitForSingleObject+0x12
SoftwareUpdater.exe+0x2d05
SoftwareUpdater.exe+0x2988
SoftwareUpdater.exe+0x265e
SoftwareUpdater.exe+0x2381
SoftwareUpdater.exe+0x1c2d
SoftwareUpdater.exe+0x1a47

Have you ever encountered such problem with Advanced Updater? Any help will be greatly appreciated.

Thank you so much,
Piotr
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Excessive CPU usage during Update

Hi Piotr,

Can you please check if the SoftwareUpdater.exe file has the "Read-only" flag set? If it's set, please uncheck it and re-test the updater.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pfoltyn
Posts: 3
Joined: Fri Nov 27, 2009 12:20 pm

Re: Excessive CPU usage during Update

Hi Cosmin,

Thank you so much for your fast response. Unfortunately "Read-only" flag isn't check and the problem still exists. Do you have any other ideas what could be the cause of such behaviour?

Kind regards,
Piotr
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Excessive CPU usage during Update

Hi Piotr,

Does this happen when using the latest version of Advanced Installer? If it does, can you please send us the INI used by the Updater to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pfoltyn
Posts: 3
Joined: Fri Nov 27, 2009 12:20 pm

Re: Excessive CPU usage during Update

Hi Cosmin,

We've tried the latest version of AI and we're unable to reproduce this issue. I assume that SoftwareUpdater.exe must have read-only flag unset. Could you please confirm that?

--
Regards,
Piotr
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Excessive CPU usage during Update

Hi,

Most likely there was a bug in the old Updater.
I assume that SoftwareUpdater.exe must have read-only flag unset. Could you please confirm that?
Yes, the Updater EXE should not be read-only.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”