From owner-freebsd-hackers Sat Dec 18 14:29:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id F18CF14CCB for ; Sat, 18 Dec 1999 14:29:30 -0800 (PST) (envelope-from ken@bolingbroke.com) Received: from localhost (ken@localhost) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id OAA02007; Sat, 18 Dec 1999 14:29:30 -0800 (PST) Date: Sat, 18 Dec 1999 14:29:30 -0800 (PST) From: Ken Bolingbroke X-Sender: ken@fremont.bolingbroke.com To: hackers@FreeBSD.ORG Cc: "Ronald F. Guilmette" Subject: Re: Practical limit for number of TCP connections? In-Reply-To: <42829.945549667@monkeys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 18 Dec 1999, Ronald F. Guilmette wrote: > # Increase the max # of open sockets, systemwide (use only on older kernels) > #/sbin/sysctl -w kern.somaxconn=16384 Regarding the comment, "use only on older kernels", why only on older kernels? What classifies as an older kernel--pre-3.0? pre-3.3? If you don't use this on new kernels, is there an alternative or is it now dynamically allocated as I've seen rumored will happen? > If you would like to see an example of a very simple multi-connection server > that runs as a single process (written in C) as described above, let me know. I'd be very interested in seeing this, if you could post a URL perhaps? Thanks, Ken Bolingbroke hacker@bolingbroke.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message