Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there true ulimit for windows? I'm finding ways/programs how to prevent one program eating 100% cpu.


share|improve this question
+1 for asking how do something in Windows with a *nix analogy :-) – Kyle Brandt Apr 16 '10 at 15:05
+1 for the same! – The Unix Janitor Apr 16 '10 at 15:40

windows system resource manager is the tool to set cpu limits per process, and adds process accounting interfaces. In older versions of windows this was what was on the second disk that no-one ever installed. In 2008 its a feature to be enabled. Its generally not as important on a windows system (from a resource control perspective) than a unix one as "nice" is built into the OS and process priority (with certain exceptions) can be changed on the fly in the gui, in addition under windows vist and above disk IO can also be prioritized (by default this is based off of the priority of the process). There is an API that lets you set disk IO priority explicitly but I am unaware of any utility to let you directly change just disk IO priority

share|improve this answer

You could use something like Windows System Resource Manager which has similar features to ulimit in that you can set CPU or memory limits on a process, user or session. This was available on Windows 2003 Enterprise and later.

More information is available on Technet(2008 R2 specific) or here is the Wiki article. WSRM Screenshot

A third-party option would be FasterWin which is strictly for setting CPU quotas on processes. FasterWin

share|improve this answer

One solution would be to right click the process in Task Manager and change the priority.

share|improve this answer
if you machine is idle, then the run away process will still eat 100% cpu, so this is kludge. you can't really beat unix for process accounting, unless windows 3.1 has had those tools added. – The Unix Janitor Apr 16 '10 at 15:07
@user - limiting a process that is otherwise idle to something less than 100% usage is pretty much the definition of kludge unless you are considering power management. Of course, ulimit can be used for more useful things. – Doug Luxem Apr 16 '10 at 16:01

You should take a look at:

there also is a GUI for configure it:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.