From owner-freebsd-questions Wed Apr 12 9: 4:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from saturn.innovativeinternet.net (saturn.innovativeinternet.net [208.244.164.5]) by hub.freebsd.org (Postfix) with ESMTP id A728137BCCB; Wed, 12 Apr 2000 09:03:54 -0700 (PDT) (envelope-from domainmgr@innovativeinternet.com) Received: from w1.innovativeinternet.com [208.244.164.21] (HELO innovativeinternet.com) by saturn.innovativeinternet.net (8.9.3/8.9.3) via ESMTP id ; Wed, 12 Apr 2000 12:03:05 -0400 Message-ID: <38F49E37.2254588B@innovativeinternet.com> Date: Wed, 12 Apr 2000 12:03:03 -0400 From: Jack Sasportas X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: "Lester A. Mesa" Cc: isp@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: How many Virtual Hosts? References: <006801bfa4f4$e6201160$38040a0a@prontel.com> Content-Type: multipart/alternative; boundary="------------219BB53D31C0C10A96B824E3" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------219BB53D31C0C10A96B824E3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is how we did it under redhat, a little research can net you the same results with this variable, only the echo 1024 line below is needed I just wanted you to see where in the file we inserted it, which I'm not sure how important that is. We then just bound 2 class C's and we were running... Hope this gives some direction... Modify script /etc/rc.d/init.d/network In the section cut out below, after ipv4_forward add the line that re-writes the /proc/sys/net/core/net_alias_max case "$1" in start) ipv4_forward_set echo 1024 > /proc/sys/net/core/net_alias_max "Lester A. Mesa" wrote: > According to http://www.apache.org/docs-1.2/misc/FAQ.html#fdlim has anyone > found a way to run more than 128 to 250 virtual hosts on an Apache Web > Server 1.3.12 running on FreeBSD 3.4-STABLE? > Our system is a Rackmount Dual Pentium ]|[ 500, 512MB Ram, u3w SCSI HD. I > know that it all depends on how many hits per day the server will be > getting, though we do not have an approximate amount but I still need to > prepare the servers to take as many hits as possible and to handle as many > virtual host as it can. Any information will be very valuable. > > Lester A. Mesa > lmesa@prontel.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- ___________________________________________________________ Jack Sasportas Innovative Internet Solutions Phone 305.665.2500 Fax 305.665.2551 www.innovativeinternet.com www.web56.net --------------219BB53D31C0C10A96B824E3 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit This is how we did it under redhat, a little research can net you the same results with this variable, only the echo 1024 line below is needed I just wanted you to see where in the file we inserted it, which I'm not sure how important that is.
We then just bound 2 class C's and we were running...

Hope this gives some direction...
 

Modify script /etc/rc.d/init.d/network
In the section cut out below, after ipv4_forward add the line that re-writes the /proc/sys/net/core/net_alias_max

case "$1" in
  start)
        ipv4_forward_set
        echo 1024 > /proc/sys/net/core/net_alias_max
 

"Lester A. Mesa" wrote:

According to http://www.apache.org/docs-1.2/misc/FAQ.html#fdlim has anyone
found a way to run more than 128 to 250 virtual hosts on an Apache Web
Server 1.3.12 running on FreeBSD 3.4-STABLE?
Our system is a Rackmount Dual Pentium ]|[ 500, 512MB Ram, u3w SCSI HD.  I
know that it all depends on how many hits per day the server will be
getting, though we do not have an approximate amount but I still need to
prepare the servers to take as many hits as possible and to handle as many
virtual host as it can.  Any information will be very valuable.

Lester A. Mesa
lmesa@prontel.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message

--
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net
  --------------219BB53D31C0C10A96B824E3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message