On 4/29/07, Nathan Wallis <[EMAIL PROTECTED]> wrote:
Howdy.



I have an application in windows that I am running with a PHP page using
exec  ("start......



I am wondering as to the efficiency of such a statement and how taxing it is
on the server.  If multiple people access a page with such a statement, what
toll does it take on the server and is there a better way to manage calls to
the server side executable?  When this statement is called a command prompt
window appears for the duration of the execution.  I am guessing it would be
possible to crash the server if thousands of these processes we created at
around the same time....just anyone experience would be greatly appreciated.



Thanks.



Nathan


Switch to linux.

If you still want to stick to windows. I believe it is possible to
hide the command window, that would help also (Or was it a patch in
PHP-DEV?).
Windows won't be able to handle thousands of such processes. Even if
you have a really fast server, more then hundred processes is too much
for windows. It might still continue to run, but then it would be
extremely slow. If you're really expecting 1000s of requests, you
should definitely switch to linux.

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to