Reply to topic
[ActiveState Perl] Throttle CPU?
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1021
Location: Felton, Delaware
Reply with quote
I know that there's no way to accomplish CPU throttling thru ActiveState, and that they've also stated they have no intentions on working that functionality into their product.

That being said, I have SpamAssassin running on a Windows 2003 Standard machine with MailEnable as the mail server app. Everytime the MTA processes an email and runs it thru SpamAssassin my processor usage shoots up to 100% and stays there for the duration of processing. This has, at times, become a problem.

So my question is... does anybody know of a way to throttle PERL.EXE's CPU usage? This can be via a script, a setting, a Windows tweak (running PERL as a service, maybe?), or whatever. I'd be interested in seeing my options if anybody knows any.
Keith


Joined: 05 Oct 2005
Posts: 17
Reply with quote
Hey Josh,

I've been doing some research on this and there simply doesn't appear to be away to accomplish this. I've seen a few reports about people creating scripts to try to accomplish this but all it really did was eat every available resource that was available on the server. And like you stated, Activestate isn't helping anyone with this.
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1021
Location: Felton, Delaware
Reply with quote
That's all the same stuff I found. Why implement some custom "throttling" script if all IT does is consume the resources not allocated to perl at that point? That's okay. The perl scripts that are causing the "problem" run locally, so I've set a few performance monitors and in the even that certain criteria is met those scripts just get disabled for a specified amount of time. Seems to be doing the trick.

Thanks for looking!
[ActiveState Perl] Throttle CPU?
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic