Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Limit CPU usage of Perl for Remote Desktop Users

Posted on 2013-11-08
2
Medium Priority
?
664 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

604 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