Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 1996 10:39:39 -0500
From:      Leigh Gaffney <leigh@phoenix.net>
To:        questions@freebsd.org
Subject:   Questions Regarding FD/Kernel
Message-ID:  <31A9CCBA.2695@phoenix.net>

next in thread | raw e-mail | index | archive | help
I am running FreeBSD 2.1.0-RELEASE (not STABLE) and it's only purpose is 
for ircd for the dalnet ircd network.  I am limited however to 260 
connections total - we are a major hub for dalnet and with a Pentium 
120MHZ 64MB RAM we would like to use all 2000 available connections we 
can use with dalnet ircd under 64MB ram - here's what I've tried thus 
far

Makefile

in the Makefile, we've added CFLAGS = -D"FD_SETSIZE=1024" 

this however when compiled with a kernel of either max connections of 
10, 64, 65 200 - will run the ircd for five minutes and crash (it has 
specified in the config.h max connections of 1024)

I went to the kernel and tried a couple items such as the following:

changing max connections from 10 to 64 tried 65 and 200 - no luck

options		"CHILD_MAX=1024"
options		"OPEN_MAX=1024"

instead of the typical 128 (we tried 128 too) 

nothing works - is there ANY way we can get the file descriptors to 
accept all 1024 (preferrably the 2000 I know we can easily handle) - we 
are a major hub for the DALnet ircd network often holding half or more 
of that network together - phoenix.dal.net is also a listed DALnet 
server in the mIRC and serveral other irc client programs out there and 
is used by 230 users easily by 9 am every morning.

Any help on this issue would be greatly appreciated.  If you wish to 
test with your own servers or view the dalnet ircd code it can be 
located at ftp site ftp.dal.net/dalnet/server  the current code it the 
irc2.8.21.mu3.dal4.2 - however on FreeBSD I cannot get that to run 
period - I'm still running a later version named irc2.8.21.mu3.dal4a


-Leigh Gaffney
WebMistress, IRC System Administrator
phoenix.dal.net "Wolenczak"
http://www.dal.net/
http://www.phoenix.net/~leigh



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