From owner-freebsd-questions Tue Jan 30 12:44:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA27679 for questions-outgoing; Tue, 30 Jan 1996 12:44:45 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA27674 for ; Tue, 30 Jan 1996 12:44:38 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA07252; Tue, 30 Jan 1996 13:41:07 -0700 From: Terry Lambert Message-Id: <199601302041.NAA07252@phaeton.artisoft.com> Subject: Re: inetd/deamon To: ahill@interconnect.com.au (Anthony Hill) Date: Tue, 30 Jan 1996 13:41:07 -0700 (MST) Cc: dwhite@resnet.uoregon.edu, licau@ebs08.eb.uah.edu, questions@freebsd.org In-Reply-To: from "Anthony Hill" at Jan 30, 96 10:06:06 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > > > 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 ? Is 1004 processes significantly less efficient than 1000 processes? 8-). > 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. Inetd could decide that the httpd was "respawnging too rapidly" and choke it off, for one. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.