From owner-freebsd-hackers Sun Jan 26 11:57: 5 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3362E37B401 for ; Sun, 26 Jan 2003 11:57:04 -0800 (PST) Received: from willers.employees.org (willers.employees.org [128.107.241.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id B273B43EB2 for ; Sun, 26 Jan 2003 11:57:03 -0800 (PST) (envelope-from stannous@willers.employees.org) Received: from willers.employees.org (localhost [127.0.0.1]) by willers.employees.org (8.12.5/8.12.5) with ESMTP id h0QJuviC015740 for ; Sun, 26 Jan 2003 11:56:57 -0800 (PST) Received: (from stannous@localhost) by willers.employees.org (8.12.5/8.12.5/Submit) id h0QJuv4a015739 for freebsd-hackers@freebsd.org; Sun, 26 Jan 2003 11:56:57 -0800 (PST) Date: Sun, 26 Jan 2003 11:56:57 -0800 From: Sam Tannous To: freebsd-hackers@freebsd.org Subject: max simultaneous TCP connections (32,763)? Message-ID: <20030126195657.GA14704@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-4.6 required=8.0 tests=SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have two freebsd boxes (back to back) and I've been playing with a simple server on one machine and client on the other machine (this was simply an exercise with playing with kqueue). Both the server and the client are single processes and the client seems to stop at 32,763 connections. I've modified the port range, tcp keepalive, kern.ipc.somaxconn, maxfiles, maxsockets, nmbclusters. I even tried net.inet.tcp.tcbhashsize (up to 1024). Is there some other parameter I'm missing? Or is this a known limitation/bug? --Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message