Date: Wed, 20 Mar 2002 17:45:48 -0500 From: "Simon" <simon@optinet.com> To: "freebsd-isp@FreeBSD.ORG" <freebsd-isp@FreeBSD.ORG>, "Jamie Ostrowski" <jamie@getsetnet.net> Subject: Re: Problem with Starting httpd on FreeBSD Message-ID: <20020320223950.A9DF437B41D@hub.freebsd.org> In-Reply-To: <20020320162009.J4440-100000@floyd.getsetnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Starting apache with several hundred vhosts shouldn't take 15 seconds on 1Ghz machine. How does your vhost directives look like? most likely you made apache resolve all vhost domain name's each and everytime you restart. You should use IPs instead, how often do you change them? hope not as often... -Simon On Wed, 20 Mar 2002 16:34:03 -0600 (CST), Jamie Ostrowski wrote: > > > > I am building a new web server for an ISP, and I am having trouble >getting Apache to start up automatically when the machine comes up. >I am running FreeBSD 4.5 RELEASE on a 1GHz PIII. I have installed >apachectl in /usr/local/etc/rc.d, and set it to 755. I can start apache >from the command manually in that directory like this: > >/usr/local/etc/rc.d/apachectl start > > and it comes up just fine. > > It does take about 15 seconds for it to start as there are a couple >hundred virtual hosts it is starting up. Is init giving up after a certain >length of time, before apachectl has time to finish firing up httpd? If >so, is there a way this can be configured? I can't seem to locate any >documentation that covers this specific problem. Thanks. > > > - Jamie > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020320223950.A9DF437B41D>