miércoles, 18 de enero de 2017

Windows. How to limit cpu usage



This post explain how to limit cpu usage for one user, if you want limit the cpu usage a one process or service you can start it with one user with cpu limit.



At this moment we have one problem, because we have a service that is using 100% CPU always, and ours monitoring system always are in Warning or Critical status.

In this case the service is not critical for my.

Our service at CPU:



To configure to limit the CPU we need the user SID number. we can consult this data with the command:

Get-ADUser -Identity user01.003 -Properties *



Now we connect to the server to configure and written:


In the "regedit" we will looking for the user SID number.

We have to create a new REG_DWORD value in the SID of the user called "CpuRateLimit" and we will give the maximum consumption value that we want to limit, for example "20".



There are to restart the service to activate.



Check at W2k12R2.

REF: https://technet.microsoft.com/es-es/library/ff384148(v=ws.10).aspx




by GoN | Published: January 18, 2017 | Last Updated:

No hay comentarios: