Jump to content

Recommended Posts

Posted

Exist some Perl instructions (or Module) to include into the script to limit the use of resources (memory, cpu)? or active a warning when the script use a lot of resources?

 

This is for avoid high load on server.

 

Alex

Posted

I don't believe you would be able to use Apache::Resource on TCH servers. The directives to implement it have to be placed in the server config file (httpd.conf), which users don't have access to.

 

I'm not well-versed enough in Perl to know if there is a suitable alternative that users could implement within their own accounts. My suggestions would be:

 

1) If you're writing your own script, write it and test it so that it does not use excessive resources.

 

2) If you're using someone else's script and excessive resource usage is an issue with that script, I'd recommend looking for another script.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...