From owner-freebsd-stable Sat Apr 20 18: 8:26 2002 Delivered-To: freebsd-stable@freebsd.org Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by hub.freebsd.org (Postfix) with ESMTP id C4C7737B405; Sat, 20 Apr 2002 18:08:20 -0700 (PDT) Received: from localhost.localdomain (earth.hub.org [64.49.215.11]) by localhost (Postfix) with ESMTP id F08B31033B6; Sat, 20 Apr 2002 22:07:59 -0300 (ADT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id 7D9A01033B5; Sat, 20 Apr 2002 22:07:59 -0300 (ADT) Date: Sat, 20 Apr 2002 22:07:59 -0300 (ADT) From: "Marc G. Fournier" To: Alfred Perlstein Cc: freebsd-current@freebsd.org, Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? In-Reply-To: <20020420235538.GM38320@elvis.mu.org> Message-ID: <20020420220410.S1721-100000@mail1.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 20 Apr 2002, Alfred Perlstein wrote: > * 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 Okay, never knew of that one before ... have it set for the next reboot, as I do have a few postgresql servers going on the 'root (non-jail)' server ... > It'll only work if you set it before your processes setup. > > Some more information about what these 5000 processes are doing > would help. Sorry ... the server is running ~210 jails ... so the '5k processes' would be when they all start up their periodic scripts ... normally, it hovers around 2700 processes ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message