|
Posted by John Nichel on 09/21/05 19:30
ernst@newdisorder.com wrote:
> timeout isn't being used on either of these machines, and as far as I
> read it, the timeout directive would make the web server fail, producing
> an apache error or some strange behaviour on the client end. Neither of
How is timeout _not_ being used? It's a core directive. If the timeout
is reached, the thread dies, along with anything running with it.
> these happens, the php script completes normally, but the exec command
> (and only these exec commands, I'm using others in the script that work
> fine) doesn't always complete. Even if timeout was set to its normal
> default of 300 seconds, this all happens way before 300 seconds have
> passed. The whole process takes about 20 or 30 seconds.
Just to make sure I'm understanding you, you're hitting the php page in
a browser, right? Like you're going to http://www.yourhost.com/page.php
where page.php contains somthing like...
<?php
exec ( '/path/myapp', $out, $res );
?>
Right?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
Navigation:
[Reply to this message]
|