httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: apache and threading (was Re:
Date Mon, 07 Jul 1997 02:17:11 GMT
On Sun, 6 Jul 1997, Dean Gaudet wrote:

> Apache as it is will not benefit as much from threading as people are
> hoping.
> Consider memory usage.  After a fork(), what actually has to be
> copied/unshared?  Pretty much nothing.  We don't dink with the pconf pool
> used to hold the config info, we dink with a few globals.  We create
> new pools for each request.  So pretty much everything up to fork time
> is shared between all children.  I see this now, on a busy linux server
> I see children running with 80k unshared data, and 770k shared.

I don't see that under FreeBSD.

On a 64 meg server, I can only hit a couple of hundred children before
running out of memory.  Using your numbers, 500 shouldn't be a problem.  I
didn't think Linux was that much better than FreeBSD at sharing...

View raw message