help, my hdd is getting smaller and smaller!!!

Nov 10, 2001
82
0
0
I'm using windows XP pro.
I realized a serious problem with my os yesterday.
there is one file called trace.log which is located at c:\windows\system32\logfiles\wmi.
this file gradually become bigger and bigger.
yesterday when I didn't reboot my system it was as big as 4 gb...
when I reboot my system, the trace.log become small again, but it keep growing and growing. I can't even open it to see what's inside the trace.log., because it is being used all the time.
is there possibility that it is caused by virus? my system is running fine, nothing unusual as far as I know.
any help would be greatly aprreciated...

 
Nov 10, 2001
82
0
0
it can't be possible. because I've turned off a lot of useless services and There's no program running on my system tray.
btw do you think it is normal to have a file bigger than 4 Gb and keep growing?
and then every time I reboot my PC, the file is small again and then keep growing until you have 0 disk space.
anybody plz help me...


 

c0rv1d43

Senior member
Oct 1, 2001
737
0
0
Sounds like you (or the system) have enabled trace logging. To learn about the functions of the utility (tracelog.exe) just open a CMD prompt and type "tracelog /?" (no quotes) and hit the Enter key. You'll get a listing of the actions and options available for the command. It would not be operating this way by default. Either something has gone wrong which has caused this behavior to be invoked by WMI, or you may have installed or may be running something that is causing it. In any case 4 gigs is not a lot of elbow room for a Windows XP OS partition, especially when you have something like this going on. This OS likes lotsa room!

You say you've turned off a "lot" of "useless" services. There aren't a lot of useless services in WinXP. There are a few that some people may not need. It can be a good idea to turn off some services (if you truly dont' need them) as a security measure, but it's never a good idea to turn off services unless you are thoroughly aware of the consequences. There are dependencies, which means that something that appears to be unrelated may be broken when you stop a service. It also doesn't make any noticeable difference in system performance when you turn off the vast majority of services. They only run (and use CPU cycles) when they're required to do something. And the memory they use when at idle is generally miniscule by today's standards.

I'm not trying to preach here. It sounds as though you might not be really familiar with the OS just yet, and I wanted you to realize that rendering services unavailable to the OS has ramifications, not all of which are immediately apparent.

The Q number to which you've been referred probably has something to do with the "trace.log" symptom you're reporting, but I just tried to look it up and was informed by Microsoft that the article wasn't available at this time. Assuming that it will become available at some point, I'd suggest you go here and enter that Q number to read the article.

Hope you get it fixed.

- Collin
 
Nov 10, 2001
82
0
0
thnx a lot for your advice c0rv1d43, ^_^
btw,The services I turned off are the services which I'm quite sure that I won't need that. and my Windows run fine except this problem.
such as automatic updates, print spooler(because I don't have printer), etc....

this is the message I get when I stop the service. ( tracelog -x)
"Operation Status: 4201L
The instance name passed was not recognized as valid by a WMI data provider."

the trace.log stopped growing. but I wonder why wasn't it recognized as valid?
anybody knows? thnx...
 

c0rv1d43

Senior member
Oct 1, 2001
737
0
0
Hi,

The instance name passed was not recognized as valid by a WMI data provider.

I think that tracelog took note of the running trace session(s) before shutting it/them down and didn't find the "owner(s)" of the session(s) listed among the registered GUIDs. In other words, and I hope that someone who knows more than I do will correct me if I'm wrong, whatever was causing the trace log to accumulate was not registered with Windows Management Instrumentation to make use of tracelog.exe.

After a reboot, or other operations, has the logging resumed, or has it stayed dead? If it resumes you might try "tracelog -l" and "tracelog -enumguid" to gather some information about what's going on. (You can issue "tracelog -enumguid>enumguid.txt" and "tracelog-l>l.txt" in order to collect the output in text files. They should be fairly small, particularly the "l" output. You might try those commands anyway, just to see if they report anything. That could at least point you to the intermediary in the process, but very possibly not the base cause. Someone might have to go over that system with a fine-toothed comb to find that. The cause could even be malicious code, but is more likely an errant install process that didn't completely finish / left an active registry entry running a trace or whatnot. A malfunctioning driver may be able to spark something like this. The few cases of really bad drivers I've run across in WinXP didn't bear investigation because they completely whacked the systems on which they were running. Also, I seem to recall hearing something about the bootvis utility (for boot time optimization) causing this sort of behavior under certain circumstances, but I can't seem to find any info on that right now.

You might look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\GlobalLogger in the registry to see what the REG_DWORD value named "Start" (in the right-hand pane of regedit) is set to. Normally should be 0x00000000 (0). I think the "tracelog -remove" command should reset the ordinary operating system flags that might cause logging to be enabled. An expert might be able to examine the contents of the log and tell just what was causing it to run, but the contents of a log don't HAVE to have anything to do with whatever caused the data to be gathered if the cause is a registry error or malware or some other behavior on the part of an ill-natured fairy. (Excuse me for wandering into Gilbert and Sullivan mode for a moment there.)

My speculations about the possible causes are just that, speculations. With any luck this little glitch will just leave you alone now. If it doesn't, I'd strongly suggest tracking it down.

- Collin

PS: If NogginBoink can tell us about the contents of the MSKB article (Q321275) mentioned earlier, I'd appreciate it. When I search for it, I get a notification that the danged article is not available.:|
 
Nov 10, 2001
82
0
0
Hi c0rv1d43,
the logging stayed dead everytime I stopped it and it doesn't resume till I reboot my computer.
I've checked the registry u mentioned. and u're right, my "start" DwordValue is (1). after I set it to zero and reboot my computer, the logging doesn't start anymore. (it's great, I don't want to ask my system to run tracelog -x everytime I boot my computer. ) so in other word, it solved my problem.
btw, I used bootVis once, and never used it again,i've stopped it from running everytime I boot my computer.
about the (Q321275),I can't find anything about that too.
thnx a lot for solving my problem. ^^