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-27 Thread Audio Phile
Embaby wrote: Audio, You can always start your scripts with [re]nice() syscall to lower your process (perl script in this case) priority. Regards, Tamer -Original Message- From: Audio Phile [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 8:57 PM To: users@httpd.apache.org Subject

[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