Subject: Re: Apache Question
To: synapse <synapse@gim.net>
From: The Great Mr. Kurtz [David A. Gatwood] <davagatw@Mars.utm.edU>
List: port-mac68k
Date: 04/04/1997 22:21:00
On Fri, 4 Apr 1997, synapse wrote:
> >eeeewwwwww. Don't run a web server w/ inetd. It's _much_ less efficient.
> >Apache (and NCSA beginning with 1.4 or 1.5) both prefork several copies of
> >themselves running at once to handle hits at maximum efficiency. The use
> >of inetd to control it bogs things way down (inetd has to fork for every
> >web request, http server starts, serves, quits... very ugly).
> >
>
> heh :)
> inetd is for us lazy folks who don't type httpd upon root shell and get two
> hits/month, and probably from ourselves :)
:-)
> come to think of it, you are right, and i (being fairly new to unix)
> thought the multiple httpd process idea would work, anyway, and i wasn't
> really thinking in terms of efficiency. so what should be done to get it
> run automatically as root in a nice way? use crontab, or you know of other
> ways?
best way is to put it... (switching from MkLinux to NetBSD mode) either
(tentatively) at the end of netstart, perhaps... or preferrably in
rc.local (both in /etc).
Later,
/---------------------------------------------------------------------\
|David A. Gatwood And Richard Cory, one calm summer night, |
|davagatw@mars.utm.edu Went home and put a bullet through his head.|
|dgatwood@globegate.utm.edu --Edwin Arlington Robinson |
|-----------------------------------------------------------------------|
|http://globegate.utm.edu http://www.utm.edu/~davagatw |
|http://mars.utm.edu/~davagatw http://www.nyx.net/~dgatwood |
\---------------------------------------------------------------------/