From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 14:06:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74B1837B401; Wed, 9 Jul 2003 14:06:46 -0700 (PDT) Received: from handler5.mail.rice.edu (handler5.mail.rice.edu [128.42.58.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3CA843FA3; Wed, 9 Jul 2003 14:06:43 -0700 (PDT) (envelope-from tm@owlnet.rice.edu) Received: from localhost (localhost [127.0.0.1]) by handler5.mail.rice.edu (Postfix) with SMTP id 16D3F1DCBB; Wed, 9 Jul 2003 16:06:41 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by handler5.mail.rice.edu (Postfix) with ESMTP id D01921DB19; Wed, 9 Jul 2003 16:06:40 -0500 (CDT) Received: from short-eared.owlnet.rice.edu (short-eared.owlnet.rice.edu [128.42.49.101]) by handler5.mail.rice.edu (Postfix) with ESMTP id C1C921DCB9; Wed, 9 Jul 2003 16:06:39 -0500 (CDT) Received: from localhost (tm@localhost)h69L6dOS029451; Wed, 9 Jul 2003 16:06:39 -0500 (CDT) X-Authentication-Warning: short-eared.owlnet.rice.edu: tm owned process doing -bs Date: Wed, 9 Jul 2003 16:06:39 -0500 (CDT) From: Thomas Chaffic Mowad To: , Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020300 X-DCC--Metrics: handler5.mail.rice.edu 1067; Body=1 Fuz1=1 Fuz2=1 cc: tm@rice.edu Subject: kern.ipc.maxsockets limits with 4GB of memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 21:06:46 -0000 On a Tyan s2466 motherboard with 4 gigs of ram and freebsd 4.7-release-p10 we're having trouble increasing maxsockets beyond 128k. The kernel panics when we try buildworlds with any more than 128k. We were able to increase maxsockets to 192k with a system that had 2gb and 256k with a system that had 1.5gb. Does anyone know what to do in order to get a higher number for maxsockets? We need that many sockets because we're trying to run SPECweb99 with over 2000 connections and the server starts dropping connections because theres not enough sockets. vmstat -z shows that the sockets are maxed out. Someone thought that the kernel might need more memory so we tried increasing VM_KMEM_MAXSIZE too 500 megs and then that caused a panic when we booted up. So we're kinda stuck here and any help would be greatly appreciated. Thanks, --Tom Mowad