If your OS supports it, you could use setpriority from BSD::Resource.
In reply to Re: "niceing" a CGI script by tomhukins in thread "niceing" a CGI script by michellem