From owner-freebsd-hackers Fri Jul 10 02:08:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA11204 for freebsd-hackers-outgoing; Fri, 10 Jul 1998 02:08:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shaman.lycaeum.org (shaman.lycaeum.org [207.66.171.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA11199; Fri, 10 Jul 1998 02:08:49 -0700 (PDT) (envelope-from edmond@shaman.lycaeum.org) Received: from localhost (edmond@localhost) by shaman.lycaeum.org (Partyon/dude!) with SMTP id CAA22992; Fri, 10 Jul 1998 02:08:46 -0700 (PDT) Date: Fri, 10 Jul 1998 02:08:46 -0700 (PDT) From: "Andrew N. Edmond (Nero)" To: questions@FreeBSD.ORG cc: hackers@FreeBSD.ORG Subject: optimizing with a heavy load... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have four Dual Pentium II 333mhz computers (DK440LX motherboards), 512MB of memory each, all running on 100Mb switched ethernet, 9 gig SCSI-2 Cheetahs, and everything is running great, until I experience heavy load. Two of the computers are running MySQL databases (one processing more than 2,000,000 transactions per day, the other processing more than 4,000,000 transactions per day). The other two computers are running Apache 1.2.5 + FastCGI, and processing upwards of 7 million hits per day combined. Obviously, I'm using a lot of file handles and sockets, and as I experience super heavy load (anything more than it is now), I start seeing a rash of errors due to, what I think, is an improperly configured kernel. FreeBSD 052098-SNAP, some of the kernel configuration: maxusers 512 options NMBCLUSTERS=4096 options "CHILD_MAX=512" options "OPEN_MAX=512" options SYSVSHM options SYSVSEM options SYSVMSG also, I do this is /etc/rc.local: /sbin/sysctl -w kern.ipc.somaxconn=4096 /sbin/sysctl -w kern.maxfiles=16384 ------------------------------------------------------------------------------ Questions: How else do I optimize this machine for more load? What the heck is an NMBCLUSTER anyhow? ------------------------------------------------------------------------------ Thanks so much for any help you can give! Andy Edmond +-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ || Andrew N. Edmond | Lycaeum Director | Nymserver Administrator || || edmond@lycaeum.org | http://www.lycaeum.org/ | http://www.nymserver.com/ || >---------------------+-------------------------+----------------------------< || Children of a future age, reading this indignant page, know that in a || || former time, a path to love was thought a crime - William Blake || +-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message