Re: New Security Features, Please Comment

From: Alan Cox
Date: Wed Dec 03 2008 - 07:46:58 EST


> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/