[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081203124632.0ea40398@lxorguk.ukuu.org.uk>
Date: Wed, 3 Dec 2008 12:46:32 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Nick Andrew <nick@...k-andrew.net>
Cc: Geoffrey McRae <geoff@...idhost.com>, linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists