?
Solved

Limit CPU usage of Perl for Remote Desktop Users

Posted on 2013-11-08
2
Medium Priority
?
650 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
ArneLovius earned 2000 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…
Suggested Courses

777 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