alexavellaneda Posted August 25, 2005 Posted August 25, 2005 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 Quote
TCH-Bruce Posted August 25, 2005 Posted August 25, 2005 Is this the information you are looking for? Quote
alexavellaneda Posted August 25, 2005 Author Posted August 25, 2005 Yes. Apache::Resource can be used in TCH? Thanks, Alex Is this the information you are looking for? <{POST_SNAPBACK}> Quote
TweezerMan Posted August 25, 2005 Posted August 25, 2005 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.