Solved

Limit CPU usage of Perl for Remote Desktop Users

Posted on 2013-11-08
2
621 Views
Last Modified: 2013-12-05
Hi,

we are running Windows Server 2008 and a couple of our users who remote desktop into the server run a Perl via batch files that maxes out the CPU for a lengthy period of time.

It's not possible to slow the Perl scripts down with a sleep as there are too many of them so I'm now looking at Windows System Resource Manager.

I have it installed and have tried creating a process Matching Criteria by using user or group Matching but am running into trouble.

I can add the two users who run these scripts but when I go to add the Perl application -> Add -> Files or Command Line -> Running Process -> Add and select Perl.exe it complained that "cannot start with a hyphen (-) and cannot contain spaces or the following characters: , \ / * ; ? : " | - < or >."

My next step was to get one of our staff to run a process and this time I managed to add it ok but it's added as one of the 200 or so batch processes rather than Perl and it would take me a long time to add them individually.

How can I throttle perl for just these two users?
0
Comment
Question by:Letterpart
2 Comments
 
LVL 36

Accepted Solution

by:
ArneLovius earned 500 total points
ID: 39635540
you can set priority for a process, but not directly for an application, you could however change the invocation to start perl from just being perl.exe, to "start /wait /low perl.exe" which would start perl with the priority set to low
0
 
LVL 1

Author Closing Comment

by:Letterpart
ID: 39698313
Thanks. Sorry for the slow acceptance.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now