From owner-freebsd-questions Thu Jun 4 10:17:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17653 for freebsd-questions-outgoing; Thu, 4 Jun 1998 10:17:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from devsys.jaguNET.com (devsys.jaguNET.com [206.156.208.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17645 for ; Thu, 4 Jun 1998 10:17:00 -0700 (PDT) (envelope-from jim@jaguNET.com) Received: (from jim@localhost) by devsys.jaguNET.com (8.8.8/jag-2.4) id NAA28994; Thu, 4 Jun 1998 13:16:56 -0400 (EDT) From: Jim Jagielski Message-Id: <199806041716.NAA28994@devsys.jaguNET.com> Subject: Re: Where to do resource configuration? To: wpub1@net-link.net (Matthew Hagerty) Date: Thu, 4 Jun 1998 13:16:56 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: jim@jaguNET.com In-Reply-To: <3.0.3.32.19980604120102.0072eaa4@smtp.net-link.net> from "Matthew Hagerty" at Jun 4, 98 12:01:02 pm X-Mailer: ELM [version 2.4 PL25] Content-Type: text Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Hagerty wrote: > > Greetings, > > I want to do some performance configuration for running a busy web > server. I have looked at the Apache BSD performance page and it says to > add several options to the kernel config and recompile. But I recall > someone posting a similar question on the list and responses said to make > the changes in the login.conf, not the kernel config. So which is it? > For SOMAXCONN, don't use the 'options SOMAXCONN' method since it doesn't work. Instead, use 'sysctl' to adjust kern.somaxconn to the value you want in rc.local. The Apache pages have been adjusted with this prefered method. -- =========================================================================== Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/ "That's no ordinary rabbit... that's the most foul, cruel and bad-tempered rodent you ever laid eyes on" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message