Skip to main content
GameDev.net gamedev.net
🔒 Locked

Weird Windows Problem

Started by Eleventy Mar 5, 2006 at 3:35 PM 4 replies 1.5k views
Original Post
Eleventy
Eleventy
Lately, if I leave my computer on for more than a day, my computer will start slowing down considerably. I will also get weird errors, such as if I update Steam, it'll give me a weird error during a Steam update such as "Steam.exe was deleted but file is still there". This "weird stuff" starts happening usually if I leave my computer on for more than a day. Everything works fine from boot up to one day of uptime, on average. Now, I finally found the culprit for this problem. I downloaded a copy of Sysinternals Process Explorer and did a search for Steam.exe (curious if another process was hogging handles to Steam.exe). I found hundreds (maybe thousands) of handles to Steam.exe belonging to the System Process (which has a PID of 4). Looking down the list I saw other .exe's and .dll's as well. This caused considerable slowdown as well because after leaving my computer on, the System Process would leak handles, making the system-wide handle count upwards to 20,000+. The problem is that I cannot find the source of the problem that causes the System Process to leak handles like it does. What's weird is for about the first day my computer is up, the System Process will not leak at all and everything works normally. After about a day of uptime, the System Process will randomly decide to start accumulating handles to random .exe and .dll files slowly. There is always several handles open to the same files. After about another three hours, my computer will become very slow. Usually, the System Process doesn't have handles open to any file on the computer. I managed to write a simple C++ program that controls the handle.exe program provided by Sysinternals to find and close all .exe and .dll handles in the System Process every 10 minutes. This isn't an effective solution but at least I can use my computer. I still cannot do stuff like update Steam.exe without it complaining that files are in use, unless I restart the C++ program I made to close all of the open handles really quickly. As you can see, this is very annoying. I do not have any spyware of any kind; as I am very careful of these things. I also ran spyware scans and they came up empty. I even ran Rootkit Revealer by Sysinternals and it came up empty. Has anyone else had any problem like this, and can anyone offer a solution? (besides restarting the computer of course - I need my computer on all the time because of server-related tasks). Why would Windows decide to start doing this randomly for no reason at all? I really hate the idea of reformatting because something really stupid like this started happening.
Eleventy
python_regious
python_regious
Quote:
Original post by Eleventy
I really hate the idea of reformatting because something really stupid like this started happening.


Odd, I consider it part and partial to owning a computer...
If at first you don't succeed, redefine success.
CpMan
CpMan
I'm thinking maybe a virus or worm? Trojan?
VSEDebug Visual Studio.NET Add-In. Enhances debugging in ways never thought possible.
Eleventy
Eleventy
Virus scans come up clean, so it's not that either.

Is it possible that the registry or system configuration got messed up somehow, without me doing anything to them?
Eleventy
Nemesis2k2
Nemesis2k2
It's probably driver related. The only thing that runs under the system process is the kernel and your drivers AFAIK. My first guess would be along the lines of a trojan, but if you've checked that, it could be a dodgy driver that's not doing what it should. Note that drivers aren't just for hardware devices. It could well be a virus scanner for example that's failing to release handles it opens. Try uninstalling any unusual hardware devices you might have. If you have a virtual device such as daemon tools installed, remove that too. After that, try disabling, and then uninstalling, any security programs such as firewalls or virus scanners you might have. Obviously triple-check that your system is in fact virus free before doing this. If the problem seems to disappear, add devices back in until you narrow down which one was the cause, then look for patches or newer versions for it.
Strider_Hiryu
Strider_Hiryu
What virus scans did you use? Only reason I ask is becuase I've had scans with Norton or AVG turn up clean, but then i do a web based scan and I find tons of crap. May want to give House call, or PandaScan a shot.

House Call

Panda Scan

We'll bring your children up in the classic English manner, by making them learn latin, and beating them half to death in a single sex environment.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.