From owner-freebsd-questions Fri Aug 9 06:35:47 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA11903 for questions-outgoing; Fri, 9 Aug 1996 06:35:47 -0700 (PDT) Received: from stgenesis.org (stgenesis.org [199.3.232.33]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA11898 for ; Fri, 9 Aug 1996 06:35:45 -0700 (PDT) Received: (from freebsd@localhost) by stgenesis.org (8.6.12/8.6.12) id DAA28414; Fri, 9 Aug 1996 03:44:55 -0500 Date: Fri, 9 Aug 1996 03:44:55 -0500 (CDT) From: Leigh Gaffney To: "Randall D. DuCharme" cc: questions@freebsd.org Subject: Re: Kernel hacks for large number of users In-Reply-To: <199608090318.WAA23025@atlantis.nconnect.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 8 Aug 1996, Randall D. DuCharme wrote: > > I understand that a few kernel changes are necessary for FBSD to run > well with a large number of users. Can anyone tell me: 1) At what number > of users is this necessary and 2) what are the changes??? For ircd this works well, whether it works on the machine for users or not I'm not sure the machine is a dedicated irc machine that runs one of DALnet's main hubs and also services (which is 40 M loaded into memory). in the dir /sys/sys there's a file called types.h (I'm told you can add an options in the kernel too but I prefer to change it here.) Right now it reads FD_SETSIZE 256 it needs to read FD_SETSIZE 1024 also add these two lines into the kernel options "CHILD_MAX=128" options "OPEN_MAX=128" This combination works real well for my own machine connected (stgenesis.org) as it runs a mud, 20 mailing lists and about 20 users with a 486 DX4 with 16M memory and never makes it over .10 load or 15% CPU (And these are heavy lists - at least 100-500 on each with 100-200 emails from each per day) Hope this helps. -Leigh Gaffney Administrator/WebMistress phoenix.dal.net DALnet IRC Network "Wolenczak" - wolenczak@dal.net http://www.dal.net