From owner-freebsd-isp Wed Mar 20 14:40:10 2002 Delivered-To: freebsd-isp@freebsd.org Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by hub.freebsd.org (Postfix) with SMTP id A9DF437B41D for ; Wed, 20 Mar 2002 14:39:50 -0800 (PST) Received: (qmail 68406 invoked by uid 106); 20 Mar 2002 22:43:14 -0000 Received: from 24-90-123-214.nyc.rr.com (HELO station1) (24.90.123.214) by cobra.acceleratedweb.net with SMTP; 20 Mar 2002 22:43:14 -0000 From: "Simon" To: "freebsd-isp@FreeBSD.ORG" , "Jamie Ostrowski" Date: Wed, 20 Mar 2002 17:45:48 -0500 Reply-To: "Simon" X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.0.2195) In-Reply-To: <20020320162009.J4440-100000@floyd.getsetnet.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Problem with Starting httpd on FreeBSD Message-Id: <20020320223950.A9DF437B41D@hub.freebsd.org> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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