Solved

Limit CPU usage of Perl for Remote Desktop Users

Posted on 2013-11-08
2
633 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 37

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
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...
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

735 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