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, the easiest way to probably do this is by calling 
the "setpriority" from within your perl script like this:
setpriority(WHICH,WHO,PRIORITY);
To set your current running perlscript to the lowest priority, you would call 
setpriority(0, $$, 20);
$$ is your script's process ID, and "20" denotes the priority. (as you know, 
-20 is highest priority and 20 the lowest priority). 
Cheers,
   R.


      

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to