Web Hosting Talk







View Full Version : How do I set CPU usage on Win 2k3?


riverpast
11-21-2003, 09:26 AM
I am setting AWstats for Windows, which uses Perl.

I have heard it is a resource hog. I have scheduled it to run after midnight. My site get quite some traffic, and I don't want AWStats to use all the CPU when it is processing the logs. How do I limit its CPU usage?

John

John[H4Y]
11-21-2003, 12:44 PM
Not too familiar with how AWstats works with Windows, but I assume it is run from the task scheduler. You can change the command to execute the file to something like this:

start /low c:\path\to\awstats\executable.exe

networm
11-24-2003, 08:02 PM
How are the logs being stored? Are they set to create new log files daily? Try switching the IIS setting to that since you are running AWSTATS daily.

riverpast
11-27-2003, 05:29 PM
Hi John

Somehow that "start /low ..." doesn't work.

networm

Yes, the new log is created daily. The awstat update doesn't use that much CPU power, but it is not instant either. I am not sure if I should be concerned or not.

John