From owner-freebsd-current Sat Apr 20 16:55:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 7207C37B417; Sat, 20 Apr 2002 16:55:38 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 41CF2AE160; Sat, 20 Apr 2002 16:55:38 -0700 (PDT) Date: Sat, 20 Apr 2002 16:55:38 -0700 From: Alfred Perlstein To: "Marc G. Fournier" Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020420235538.GM38320@elvis.mu.org> References: <20020420190408.O30724-100000@mail1.hub.org> <20020420195845.P1721-100000@mail1.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020420195845.P1721-100000@mail1.hub.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * The Hermit Hacker [020420 16:01] wrote: > > > As a quick follow-up to this, doing more searching on the web, I came > across a few suggested 'sysctl' settings, which I've added to what I had > before, for a total of: > > kern.maxfiles=65534 > jail.sysvipc_allowed=1 > vm.swap_idle_enabled=1 > vfs.vmiodirenable=1 > kern.ipc.somaxconn=4096 > > I've also just reduced my maxusers to 256 from 1024, since 1024 was > crashing worse then 512, and I ran across the 'tuning' man page that > stated that you shouldn't go above 256 :( > > Just a bit more detail on the setup ... You said you're running 5000 processes. 5000 processes of what? Are they useing SYSVSHM? If so, this sysctl might help: kern.ipc.shm_use_phys=1 It'll only work if you set it before your processes setup. Some more information about what these 5000 processes are doing would help. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message