From owner-freebsd-questions Tue Jan 29 18: 5:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.webjockey.net (mail.webjockey.net [208.141.46.3]) by hub.freebsd.org (Postfix) with ESMTP id C03D437B404 for ; Tue, 29 Jan 2002 18:05:16 -0800 (PST) Received: from outloud.org (IDENT:nobody@home.webjockey.net [208.141.46.11]) (authenticated) by mail.webjockey.net (8.11.6/8.11.6) with ESMTP id g0U25Fx78809 for ; Tue, 29 Jan 2002 21:05:15 -0500 (EST) (envelope-from gary@outloud.org) Received: from 208.141.46.249 (proxying for 63.68.129.181) (SquirrelMail authenticated user ancient) by test.outloud.org with HTTP; Tue, 29 Jan 2002 21:05:24 -0500 (EST) Message-ID: <2369.208.141.46.249.1012356324.squirrel@test.outloud.org> Date: Tue, 29 Jan 2002 21:05:24 -0500 (EST) Subject: From: "Storms of Perfection" To: X-XheaderVersion: 1.1 X-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461) X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5 [cvs]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Maybe someone can help me with a problem. I have a pretty beefy webserver, with 3 gigs of memory. The load average on the machine is really high, when apache loads. Disk swapping is also high. Apache is almost bare with a couple of modules installed. The content I am deleving is static content. My kernel config is generic also, but I need some advice on what I can do to get the load down to < 20 (highest I've seen it was around 200) Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE #0: Tue Jan 29 17:40:38 GMT 2002 rob@rcp-2u.rcp.net:/usr/src/sys/compile/WORK Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (999.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 3221159936 (3145664K bytes) avail memory = 3130433536 (3057064K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000 io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000 Preloaded elf kernel "kernel" at 0xc0498000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f5260 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #1 intpin 4 -> irq 2 IOAPIC #1 intpin 6 -> irq 9 pci0: on pcib0 pci0: at 3.0 irq 2 fxp0: port 0xd400-0xd43f mem 0xfe600000- 0xfe6fffff,0xfe8fd000-0xfe8fdfff irq 9 at device 4.0 on pci0 fxp0: Ethernet address 00:30:48:11:d3:8b inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: irq 0 at device 6.0 on pci0 fxp1: could not map device registers device_probe_and_attach: fxp1 attach returned 6 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: mem 0xfe8fe000-0xfe8fefff irq 10 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered pcib1: on motherboard IOAPIC #1 intpin 12 -> irq 11 pci1: on pcib1 ahc0: port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 11 at device 3.0 on pci1 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs orm0: