Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 1996 13:01:59 +1100 (EST)
From:      michael butler <imb@scgt.oz.au>
To:        jfesler@calweb.com (Jason Fesler)
Cc:        hackers@freebsd.org
Subject:   Re: Apache and huge numbers of IP's..
Message-ID:  <199612080202.NAA26188@asstdc.scgt.oz.au>
In-Reply-To: <3.0.32.19961207151655.007d7e90@pop.calweb.com> from Jason Fesler at "Dec 7, 96 03:16:57 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Fesler writes:

> Anyone have a suggestion?  I'm trying create a config file
> with 400+ domains, each with two IP addresses (I'm in the middle
> of relocating ip services thanks to NCIT/PAGESAT flaking and filing).

 [ .. ]
 
> One suggestion was a failure of the select(2) call failing on 
> file handles over 256.  Anyone have any suggestions on how to 
> correct the problem, or at least give a shot at raising this 
> maximum up?  I'd like to ideally put 500 domains on this box :( ..

We meet again Jason :-)

The number of file handles available is related to the maxusers config
parameter. If you wish to alter that without affecting the other table
sizes, you can add something like this to your config file ..

options		"CHILD_MAX=512"
options		"OPEN_MAX=512"

 .. numbers should be tweaked as required. However, since the sockets the
server has open in the quiescent state are only used to listen on, as
soon as a request occurs more will be needed. You have to identify the
high-water mark.

Personally, with that many domains, I'd be inclined to use multiple boxes to
divide the load,

	michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612080202.NAA26188>