Thanks to all who replied. Richard, your solution works great. I
didn't realize this was a script-specific mod. I thought there would
be a setting in an apache2.conf or something on the FS. I'm very glad
to have learned this. Thanks again!
Richard de Vries wrote:
If you are running on unix,
"\n";
$intRC = $objWMIProcess->SetPriority($intPriority);
if ($intRC == 0) {
print "Successfully set priority.\n";
}
else {
print 'Could not set priority. Error code: ' . $intRC, "\n";
}
----- Original Message ----
From: david <[EMAIL PROTECTED]&
From: Audio Phile <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Wednesday, August 27, 2008 2:18:53 PM
Subject: Re: [EMAIL PROTECTED] lower cpu priority to perl scripts
Tamer,
Thank you very much for the reply. I googled around for the proper
syntax of your suggestion as well as which conf
gust 26, 2008 8:57 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] lower cpu priority to perl scripts
I'd like to adjust the priority of /usr/bin/perl such that it will always run
with very low priority. The PC that I'm using isn't very powerful. I'm
running rrdweather
: [EMAIL PROTECTED] lower cpu priority to perl scripts
I'd like to adjust the priority of /usr/bin/perl such that it will always run
with very low priority. The PC that I'm using isn't very powerful. I'm
running rrdweather on it and when a user hits the weather.cgi about 1
PROTECTED] lower cpu priority to perl scripts
I'd like to adjust the priority of /usr/bin/perl such that it will always run
with very low priority. The PC that I'm using isn't very powerful. I'm
running rrdweather on it and when a user hits the weather.cgi about 10
processes
I'd like to adjust the priority of /usr/bin/perl such that it will always run
with very low priority. The PC that I'm using isn't very powerful. I'm
running rrdweather on it and when a user hits the weather.cgi about 10
processes of perl scripts run,
which totally throttles foreground applicat