From owner-freebsd-questions Sat Nov 25 3:18:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ds1.express.ru (ds1.express.ru [212.24.32.4]) by hub.freebsd.org (Postfix) with ESMTP id 0857337B479 for ; Sat, 25 Nov 2000 03:18:45 -0800 (PST) Received: from gnu.chat.ru ([212.24.32.10] helo=mail.chat.ru) by ds1.express.ru with esmtp (Exim 3.16 #1) id 13zdLt-0007gQ-00; Sat, 25 Nov 2000 14:18:41 +0300 Received: from p22.gw.lvl.ru ([194.67.189.22] helo=chat.ru) by mail.chat.ru with asmtp (Exim 3.16 #1) id 13zdLs-0000Cf-00; Sat, 25 Nov 2000 14:18:40 +0300 Message-ID: <3A1FA054.CA427648@chat.ru> Date: Sat, 25 Nov 2000 14:19:48 +0300 From: jadream X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Drew Derbyshire Cc: freebsd-questions@freebsd.org Subject: Re: max files per process and system? References: <20001121180434.1A4CF8C4A@kendra.ne.mediaone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Authorized: jadream Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Drew Derbyshire wrote: > What's the max files (TCP connections) one can configure per > (non-root) user and per system? > > I'm not looking for the defaults, I'm looking for the upper limits. > > Does it require a kernel rebuilt? > Yes. That needs kernel recompiled. In reality max socket connections (tcp or unix no matter) per process and per system are usually the same number and depend on maxusers variable in the kernel configuration. Hence you change that value from default 32 to some upper figure being a 2^n value and run consequently: config YOUR_KERNEL_NAME in /sys/i386/conf directory and make depend; make; make install - in appropriate compile directory usually mentioned in configuration utility output. If I'm not wrong approx. meanings are the following: 32 users 40?? sockets 64 users 82?? sockets etc Good luck :0) Alexander Komratov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message