Jump to content

Are Perl Script Cpu Limited Via Nice Or Otherwise


eggrock
 Share

Recommended Posts

'scripts' :)

 

I've got a couple of scripts I'm working on that can be CPU intensive. Left to itself Perl WILL suck up all available CPU resources, so I need to know whether or not I need to write in speedbumps for my scripts.

Edited by eggrock
Link to comment
Share on other sites

You are "sharing" the server with hundreds of other folks who will not like it if their pages are slow or can't be reached. I also know that TCH will shut down accounts that hog the CPU. So I would suggest you be careful and be a nice neighbor so we don't have to complain about a slowdown.

Link to comment
Share on other sites

You are "sharing" the server with hundreds of other folks who will not like it if their pages are slow or can't be reached. I also know that TCH will shut down accounts that hog the CPU. So I would suggest you be careful and be a nice neighbor so we don't have to complain about a slowdown.

 

That's why I'm asking...

Link to comment
Share on other sites

From the Acceptable Use Policy

 

Network Performance

 

TotalChoice Hosting accounts operate on shared resources. Excessive use or abuse of these shared network resources by one customer may have a negative impact on all other customers. Misuse of network resources in a manner which impairs network performance is prohibited by this policy and may result in termination or suspension of your account without notice.

 

You are prohibited from excessive consumption of resources, including CPU time, memory, disk space and session time. You may not use resource-intensive programs which negatively impact other customers or the performance of TotalChoice Hosting systems or Hosting. TotalChoice Hosting reserves the right to terminate or limit such activities.

 

Denial of Services, DDoS, Smurf and other service attacks started against your web site will effect the entire population of the Totalchoice Network, therefore your site will be subject to immediate termination of your account.

Link to comment
Share on other sites

Thanks Bruce. What is considered excessive for CPU/memory?

 

These manipulate images up to 1280x1024 ([edit: reduced to 512x512 until I put throttling in]) and can make several passes. The longest it runs is a few seconds, (7 at most) but during that time it's doing nothing but math.

Edited by eggrock
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...