FuzzyL0gic Posted March 4, 2010 Report Share Posted March 4, 2010 I've been using uTorrent for many years but have never experienced this problem before. If I open up my windows task manager and watch the CPU usage history there is a continuous pattern of random spikes every 7-10 seconds. During each spike if I switch over to the process window in T.M. and sort by CPU, uTorrent.exe always jumps up top and displays 100 for a split second under the CPU column then 55 for a second, after which it returns back to normal (CPU between 5-10) and the spike disappears.I've read through forum posts but none really address my issue. All 3 of my HDDs are set to Ultra DMA mode (not PIO of course). The only thing I have changed on my windows XPSP3 machine recently is that I removed Zonealarm and installed Outpost Pro instead. I have a feeling this could be a factor but when the spikes occur acs.exe (Outpost's process) does not move so it does not seem active thus not playing an influence. I haven't made any adjustments to my a/v Nod32 so doubt that is the problem; IMON is even disabled and uT has an exclusion as well. I should say that these spikes do not seem to cause any harm on my torrent downloads/uploads, the only downside is the cpu usage and fans increasing every 10 seconds which is annoying.I've tried the last three versions of uT and the problem is still the same. I've documented some screenshots during the spikes below. Sorry for the long post but I thought the more info/evidence the better. Hope you can help me out guys!***EDIT: I forgot to say that no spikes occur when uT is closed and only Firefox, Nod32, Outpost and windows processes are running.***Here's task manager's graph:Here's Process Explorer's uTorrent graph:Here's Process Explorer's uTorrent performance:Here's Process Explorer's uTorrent threads:Here's Process Explorer's list for uTorrent's DLLs:Process PID CPU Description Company NameSystem Idle Process 0 5.41 Interrupts n/a Hardware Interrupts DPCs n/a Deferred Procedure Calls System 4 explorer.exe 1772 Windows Explorer Microsoft Corporation nod32kui.exe 436 NOD32 Control Center GUI Eset op_mon.exe 448 Outpost User Interface Agnitum Ltd. uTorrent.exe 792 81.98 µTorrent BitTorrent, Inc. procexp.exe 2916 3.60 Sysinternals Process Explorer Sysinternals - www.sysinternals.com taskmgr.exe 2716 2.70 Windows TaskManager Microsoft Corporation notepad.exe 2464 Notepad Microsoft CorporationProcess: uTorrent.exe Pid: 792Name Description Company Name VersionACTIVEDS.dll ADs Router Layer DLL Microsoft Corporation 5.1.2600.5512adsldpc.dll ADs LDAP Provider C DLL Microsoft Corporation 5.1.2600.5512ADVAPI32.dll Advanced Windows 32 Base API Microsoft Corporation 5.1.2600.5512ATL.DLL ATL Module for Windows XP (Unicode) Microsoft Corporation 3.5.2284.1COMCTL32.dll User Experience Controls Library Microsoft Corporation 6.0.2900.5512comdlg32.dll Common Dialogs DLL Microsoft Corporation 6.0.2900.5512CRYPT32.dll Crypto API32 Microsoft Corporation 5.131.2600.5512ctype.nls DnsApi.dll DNS Client API DLL Microsoft Corporation 5.1.2600.5625GDI32.dll GDI Client DLL Microsoft Corporation 5.1.2600.5698hnetcfg.dll Home Networking Configuration Manager Microsoft Corporation 5.1.2600.5512IMM32.DLL Windows XP IMM32 API Client DLL Microsoft Corporation 5.1.2600.5512imon.dll NOD32 IMON - Internet scanning support Eset 2.70.39.0Iphlpapi.dll IP Helper API Microsoft Corporation 5.1.2600.5512kernel32.dll Windows NT BASE API Client DLL Microsoft Corporation 5.1.2600.5512locale.nls MPRAPI.dll Windows NT MP Router Administration DLL Microsoft Corporation 5.1.2600.5512MSASN1.dll ASN.1 Runtime APIs Microsoft Corporation 5.1.2600.5512msctfime.ime Microsoft Text Frame Work Service IME Microsoft Corporation 5.1.2600.5512msvcrt.dll Windows NT CRT DLL Microsoft Corporation 7.0.2600.5512mswsock.dll Microsoft Windows Sockets 2.0 Service Provider Microsoft Corporation 5.1.2600.5625netapi32.dll Net Win32 API DLL Microsoft Corporation 5.1.2600.5694ntdll.dll NT Layer DLL Microsoft Corporation 5.1.2600.5512ole32.dll Microsoft OLE for Windows Microsoft Corporation 5.1.2600.5512oleaut32.dll Microsoft Corporation 5.1.2600.5512rasadhlp.dll Remote Access AutoDial Helper Microsoft Corporation 5.1.2600.5512RPCRT4.dll Remote Procedure Call Runtime Microsoft Corporation 5.1.2600.5512rsaenh.dll Microsoft Enhanced Cryptographic Provider Microsoft Corporation 5.1.2600.5507rtutils.dll Routing Utilities Microsoft Corporation 5.1.2600.5512SAMLIB.dll SAM Library DLL Microsoft Corporation 5.1.2600.5512Secur32.dll Security Support Provider Interface Microsoft Corporation 5.1.2600.5512SETUPAPI.dll Windows Setup API Microsoft Corporation 5.1.2600.5512SHELL32.dll Windows Shell Common Dll Microsoft Corporation 6.0.2900.5512shfolder.dll Shell Folder Service Microsoft Corporation 6.0.2900.5512SHLWAPI.dll Shell Light-weight Utility Library Microsoft Corporation 6.0.2900.5512sortkey.nls sorttbls.nls unicode.nls USER32.dll Windows XP USER API Client DLL Microsoft Corporation 5.1.2600.5512USERENV.dll Userenv Microsoft Corporation 5.1.2600.5512uTorrent.exe µTorrent BitTorrent, Inc. 1.8.4.16381uxtheme.dll Microsoft UxTheme Library Microsoft Corporation 6.0.2900.5512wl_hook.dll Outpost Hooking Module Agnitum Ltd. 6.73.3063.11009WLDAP32.dll Win32 LDAP API DLL Microsoft Corporation 5.1.2600.5512WS2_32.dll Windows Socket 2.0 32-Bit DLL Microsoft Corporation 5.1.2600.5512WS2HELP.dll Windows Socket 2.0 Helper for Windows NT Microsoft Corporation 5.1.2600.5512wshtcpip.dll Windows Sockets Helper DLL Microsoft Corporation 5.1.2600.5512WSOCK32.dll Windows Socket 32-Bit DLL Microsoft Corporation 5.1.2600.5512uTorrent's handles:Process PID CPU Description Company NameSystem Idle Process 0 Interrupts n/a Hardware Interrupts DPCs n/a Deferred Procedure Calls System 4 explorer.exe 1772 0.77 Windows Explorer Microsoft Corporation nod32kui.exe 436 NOD32 Control Center GUI Eset op_mon.exe 448 0.77 Outpost User Interface Agnitum Ltd. uTorrent.exe 792 71.54 µTorrent BitTorrent, Inc. procexp.exe 2916 16.15 Sysinternals Process Explorer Sysinternals - www.sysinternals.com taskmgr.exe 2716 5.38 Windows TaskManager Microsoft Corporation notepad.exe 2464 Notepad Microsoft CorporationProcess: uTorrent.exe Pid: 792Type NameDesktop \DefaultDirectory \KnownDllsDirectory \WindowsDirectory \BaseNamedObjectsEvent \BaseNamedObjects\userenv: User Profile setup eventEvent \BaseNamedObjects\crypt32LogoffEventFile C:\Documents and Settings\UsernameFile C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83File C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83File \Device\KsecDDFile \Device\AfdFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\IpFile \Device\IpFile \Device\IpFile \Device\TcpFile \Device\AfdFile \Device\UdpFile \Device\RawIpFile \Device\AfdFile \Device\TcpFile D:\TORRENT SEED FILE [***name replaced***]File \Device\TcpFile \Device\AfdFile \Device\AfdFile \Device\TcpFile \Device\AfdFile \Device\AfdFile \Device\AfdFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\TcpFile D:\TORRENT SEED FILE [***name replaced***]File \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\TcpFile D:\TORRENT SEED FILE [***name replaced***]File \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\AfdFile \Device\AfdFile \Device\AfdFile \Device\TcpFile D:\TORRENT SEED FILE [***name replaced***]File \Device\AfdFile \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\TcpFile D:\TORRENT SEED FILE [***name replaced***]File \Device\AfdFile \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\AfdFile \Device\AfdFile \Device\AfdFile \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\UdpFile \Device\AfdFile \Device\TcpFile \Device\TcpFile \Device\TcpFile \Device\AfdFile \Device\AfdFile \Device\AfdFile D:\TORRENT SEED FILE [***name replaced***]File \Device\AfdFile \Device\AfdFile \Device\AfdFile \Device\TcpFile \Device\TcpFile D:\TORRENT SEED FILE [***name replaced***]File \Device\AfdFile H:\TORRENT SEED FILE [***name replaced***]File \Device\TcpFile \Device\TcpFile \Device\AfdFile \Device\AfdFile \Device\AfdFile \Device\TcpFile \Device\AfdFile \Device\TcpFile \Device\TcpKey HKLMKey HKCUKey HKUKey HKLM\SYSTEM\ControlSet001\Services\WinSock2\Parameters\Protocol_Catalog9Key HKLM\SYSTEM\ControlSet001\Services\WinSock2\Parameters\NameSpace_Catalog5Key HKLM\SYSTEM\ControlSet001\Services\Tcpip\LinkageKey HKLM\SYSTEM\ControlSet001\Services\Tcpip\ParametersKey HKLM\SYSTEM\ControlSet001\Services\NetBT\Parameters\InterfacesKey HKLM\SYSTEM\ControlSet001\Services\NetBT\ParametersKeyedEvent \KernelObjects\CritSecOutOfMemoryEventMutant \BaseNamedObjects\µTorrent4823DF041B09Mutant \BaseNamedObjects\ShimCacheMutexMutant \BaseNamedObjects\DBWinMutexSection \BaseNamedObjects\ShimSharedMemorySemaphore \BaseNamedObjects\shell.{A48F1A32-A340-11D1-BC6B-00A0C90312E1}Semaphore \BaseNamedObjects\shell.{210A4BA0-3AEA-1069-A2D9-08002B30309D}Thread uTorrent.exe(792): 864Thread uTorrent.exe(792): 864Thread uTorrent.exe(792): 1028Thread uTorrent.exe(792): 1092Thread uTorrent.exe(792): 1788Thread uTorrent.exe(792): 1788Thread uTorrent.exe(792): 1028Thread uTorrent.exe(792): 1028Thread uTorrent.exe(792): 1092Thread uTorrent.exe(792): 1788WindowStation \Windows\WindowStations\WinSta0WindowStation \Windows\WindowStations\WinSta0 Link to comment Share on other sites More sharing options...
Firon Posted March 8, 2010 Report Share Posted March 8, 2010 11% as a baseline CPU usage is pretty high, spikes excluded. Have you tried with NOD32 uninstalled altogether? Link to comment Share on other sites More sharing options...
FuzzyL0gic Posted March 9, 2010 Author Report Share Posted March 9, 2010 Thanks Firon for responding to my thread, I've spent ages troubleshooting trying to figure out a solution.The spikes only occur when uTorrent is open and running. I've fully closed (and tried uninstalling) Outpost AND Nod32, removed windows firewall and run uTorrent just by itself; the task manager still throws up consistent recurring spikes.This is the stack for the utorrent.exe start address that is using the most CPU at the time of each spike:ntoskrnl.exe!ExReleaseResourceLite+0x1a3ntoskrnl.exe!PsGetContextThread+0x329ntoskrnl.exe!FsRtlInitializeFileLock+0x83fhal.dll+0x6c0entdll.dll!wcsncpy+0x8d5msvcrt.dll!free+0x1aemsvcrt.dll!free+0x1ccmsvcrt.dll!malloc+0x27uTorrent.exe+0x34ab0uTorrent.exe+0x2114uTorrent.exe+0x228duTorrent.exe+0x349a6uTorrent.exe+0xd624uTorrent.exe+0x4ea54uTorrent.exe+0x3e72euTorrent.exe+0x3d0efuTorrent.exe+0x3c764USER32.dll!GetDC+0x14fUSER32.dll!GetWindowLongW+0x127USER32.dll!DispatchMessageW+0xfuTorrent.exe+0x3c6e0uTorrent.exe+0x51aa8msvcrt.dll!free+0xe5As I mentioned in the other thread (http://forum.utorrent.com/viewtopic.php?id=70480), FileMon shows uTorrent.exe doing the same open close query of resume.dat habitually during the spikes. The below sequence occurs consistently every 10 seconds when uT is open:10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\user\Application Data\uTorrent\resume.dat SUCCESS Options: Open Access: 00110080 10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS Options: Open Access: 00100080 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS FileInternalInformation 10:21:25 uTorrent.exe:2984 CLOSE C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS FileAttributeTagInformation 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS FileNameInformation 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS FileStandardInformation 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS Attributes: A 10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\User\Application Data\uTorrent\resume.dat.old SUCCESS Options: Open Access: 00100002 10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\User\Application Data\uTorrent\resume.dat.old SUCCESS Options: Open Access: 00100080 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat.old SUCCESS FileInternalInformation 10:21:25 uTorrent.exe:2984 CLOSE C:\Docs & settings\User\Application Data\uTorrent\resume.dat.old SUCCESS 10:21:25 uTorrent.exe:2984 SET INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS FileRenameInformation 10:21:25 uTorrent.exe:2984 CLOSE C:\Docs & settings\User\Application Data\uTorrent\resume.dat.old SUCCESS 10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS Options: Open Access: 00110080 10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS Options: Open Access: 00100080 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS FileInternalInformation 10:21:25 uTorrent.exe:2984 CLOSE C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS FileAttributeTagInformation 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS FileNameInformation 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS FileStandardInformation 10:21:25 uTorrent.exe:2984 QUERY INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS Attributes: A 10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESS Options: Open Access: 00100002 10:21:25 uTorrent.exe:2984 OPEN C:\Docs & settings\User\Application Data\uTorrent\resume.dat NOT FOUND Options: Open Access: 00100080 10:21:25 uTorrent.exe:2984 SET INFORMATION C:\Docs & settings\User\Application Data\uTorrent\resume.dat.new SUCCESS FileRenameInformation 10:21:25 uTorrent.exe:2984 CLOSE C:\Docs & settings\User\Application Data\uTorrent\resume.dat SUCCESSIt's the strangest thing I have experienced with uT! Do the above two pieces of info help? Link to comment Share on other sites More sharing options...
Firon Posted March 9, 2010 Report Share Posted March 9, 2010 So you uninstalled NOD32 and Outpost and you still get CPU spikes? How big is your resume file? Link to comment Share on other sites More sharing options...
FuzzyL0gic Posted March 9, 2010 Author Report Share Posted March 9, 2010 Resume.dat=2.15MBIn the Application Data\uTorrent folder, along with the above file, there are also these files:Resume.dat.1.bad=805kbResume.dat.2.bad=851kbResume.dat.3.bad=907kbResume.dat.old=2.16MB Link to comment Share on other sites More sharing options...
GTHK Posted March 11, 2010 Report Share Posted March 11, 2010 What happens when you drop a blank settings.dat and uTorrent.exe by itself ("portable install" mode)? And then maybe copy in your settings and later resume+torrents (with client closed) and see what happens (make backups of all the original appdata first). Have you changed any advanced settings? Certain advanced setting tweaks that aren't supposed to actually do anything actually increase CPU usage. Link to comment Share on other sites More sharing options...
FuzzyL0gic Posted March 24, 2010 Author Report Share Posted March 24, 2010 Ok, I've done as you indicated GTHK. There are no spikes when I 'reinstall' uTorrent, so the app data folder is new and there are no .torrent files in there either. I just started it up and let it run (without any torrents) for about 10 minutes and registered no spikes whatsoever.Then I closed it and copied over the settings.dat file from the folder that was causing the spikes and loaded up uTorrent again. No spikes again!Next, I copied over the remaining .dat files (BUT none of the ".dat.old" or "dat.1.bad" files) and added a few .torrent files from the troublesome folder. Ran this again and saw no spikes.So I finally copied over the entire troublesome folder and ran it. Within 10 seconds I started seeing the spikes again.My %appdata% uTorrent folder contains about 2,900 .torrent files. I have about 500 active torrent seeds that are actually running in uT at any given time. I like keeping old ones in my uT list so I can see what I have previously added in the past.My max. number of active torrents is set to 3000 as I don't like queue seeding. Could any of these aspects be problematic?There surely must be a reason why uT keeps accessing the resume.dat.new and resume.dat.old files? Thank you again! Link to comment Share on other sites More sharing options...
Firon Posted March 24, 2010 Report Share Posted March 24, 2010 Because it writes them to disk often when there's any activity.Have you tried deleting all the settings.dat*, then starting up like that? Keep the resume data, but start with fresh settings. Link to comment Share on other sites More sharing options...
Slider2k Posted July 2, 2010 Report Share Posted July 2, 2010 Thanks. Rebuilding resume.dat files seems to fix the problem. Link to comment Share on other sites More sharing options...
orengreen Posted November 11, 2010 Report Share Posted November 11, 2010 Hello,I seem to have a similar problem.What does "Rebuilding resume.dat files" mean and how do I do it?Thanks! Link to comment Share on other sites More sharing options...
orengreen Posted November 14, 2010 Report Share Posted November 14, 2010 Any help appreciated Link to comment Share on other sites More sharing options...
Switeck Posted November 14, 2010 Report Share Posted November 14, 2010 Starting from scratch and following the migration guide.http://www.utorrent.com/documentation/migrate...I highly suggest backing up ALL of uTorrent's settings files AND your old .torrent files before you begin. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.