Messages in this thread | | | Date | Wed, 3 Dec 2008 12:46:32 +0000 | From | Alan Cox <> | Subject | Re: New Security Features, Please Comment |
| |
> 300,000 processes each with a different uid. But if you had 300,000 > users and 200,000 different CGI scripts, you also have no choice but > to fork and exec at request time, because there are too many different > scripts.
You would normally maintain a pool then because you'd expect an uneven loading and groups of requests to a given id. The number of scripts shouldn't matter for a properly designed interpreter - you have a fastcgi interpreter instance or similar which has the interpreter state ready and just forks itself to handle the scripts (or does them threaded itself) for that user.
Alan
| |