Setting process priority

From: Date: Sat, 20 Jul 2002 14:32:33 +0000
Subject: Setting process priority
Groups: php.general 
Request: Send a blank email to php-general+get-108663@lists.php.net to get a copy of this message
Hi there, here is my problem I'm using php to generate a dynamic pdf document and when ready send it with email. Since it takes few minutes to generate I start a new process with popen that makes the pdf like this popen("./pdf.php \"".$outputarray."\" > /dev/null &", "r"); pdf.php then generates it and everything is ok but this new process takes so much cpu that the site is halted for these few minutes. My question... is there a way to set pdf.php-process to a lower priority? I've searched everywere and couldn't find it. Please reply in email since I will miss it otherwise Gunnar Steinn gsm@hi.is

« previous php.general (#108663) next »