Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-28 Thread Audio Phile
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,

Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-28 Thread Richard de Vries
"\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]&

Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread david
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

Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread Richard de Vries
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

Re: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread Audio Phile
: [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

RE: [EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-27 Thread Tamer Embaby
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

[EMAIL PROTECTED] lower cpu priority to perl scripts

2008-08-26 Thread Audio Phile
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