Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 16:55:38 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        "Marc G. Fournier" <scrappy@hub.org>
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>
In-Reply-To: <20020420195845.P1721-100000@mail1.hub.org>
References:  <20020420190408.O30724-100000@mail1.hub.org> <20020420195845.P1721-100000@mail1.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* The Hermit Hacker <scrappy@hub.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020420235538.GM38320>