Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 02:08:46 -0700 (PDT)
From:      "Andrew N. Edmond (Nero)" <edmond@shaman.lycaeum.org>
To:        questions@FreeBSD.ORG
Cc:        hackers@FreeBSD.ORG
Subject:   optimizing with a heavy load...
Message-ID:  <Pine.BSF.4.00.9807100200160.5997-100000@shaman.lycaeum.org>

next in thread | raw e-mail | index | archive | help
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-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9807100200160.5997-100000>