From owner-freebsd-questions Mon Jan 29 15:08:00 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA19278 for questions-outgoing; Mon, 29 Jan 1996 15:08:00 -0800 (PST) Received: from tulpi.interconnect.com.au (root@tulpi.interconnect.com.au [192.189.54.18]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA19255 for ; Mon, 29 Jan 1996 15:07:48 -0800 (PST) Received: (from ahill@localhost) by tulpi.interconnect.com.au id KAA23116 (8.6.11/IDA-1.6); Tue, 30 Jan 1996 10:06:07 +1100 Date: Tue, 30 Jan 1996 10:06:06 +1100 (EST) From: Anthony Hill To: dwhite@resnet.uoregon.edu cc: Luis Verissimo , questions@freebsd.org Subject: inetd/deamon In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Sun, 28 Jan 1996, Doug White wrote: > On Sat, 27 Jan 1996, Anthony Hill wrote: > > > apache as a deamon - the docs recommend against using apache from inetd. > > (Anyone know why ?) > > Apache can manage multiple connections better than inetd can -- Apache > spawns off 4 or so instances; inetd spawns 1 for every connection, which > can get costly in terms of time and memory. Wouldnt the habit of spawning more children than is actually required mean that while running as a deamon is more efficiant time wise, but that running under inetd is more efficiant memory wise ? Also do you know if there are any other reasons for not running apache from inetd ? (The site I run is VERY lightly hit - and this is not about to change) I figure the overhead of having httpd's running all the time is not worth the small improvement in response when is actually used, unless of course, other factors are also at play here. Anthony