From owner-freebsd-bugs Fri Jan 25 12:40:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E976137B404 for ; Fri, 25 Jan 2002 12:40:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0PKe0I20080; Fri, 25 Jan 2002 12:40:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 39E5A37B404 for ; Fri, 25 Jan 2002 12:34:32 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0PKYWJ19471; Fri, 25 Jan 2002 12:34:32 -0800 (PST) (envelope-from nobody) Message-Id: <200201252034.g0PKYWJ19471@freefall.freebsd.org> Date: Fri, 25 Jan 2002 12:34:32 -0800 (PST) From: ges To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/34275: high load/swap on 4.4-RELEASE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34275 >Category: kern >Synopsis: high load/swap on 4.4-RELEASE >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 25 12:40:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: ges >Release: 4.4-RELEASE >Organization: >Environment: FreeBSD rcp-2u.rcp.net 4.4-RELEASE FreeBSD 4.4-RELEASE #5: Thu Jan 24 11:58:39 GMT 2002 root@room6.adultbouncer.com:/usr/src/sys/compile/70 i386 >Description: High traffic webserver. NMBCLUSTERS is set to 32k. 2G's of memory. 2 PIII 1ghz cpu's. Stripped down kernel. 4 gigs of swap space. Some NFS drives mounted, they are not serving content to apache. I have other webservers that have MAXCLIENTS in apache set to 2048 and the load is at < 4. I don't know if this is an issue with 4.4-RELEASE, but some people at apache, and on IRC, told me it's my operating system. Here's some system stats: 3:14PM up 3:10, 1 user, load averages: 30.17, 31.15, 24.49 bash-2.05$ ps aux |grep -c httpd 959 last pid: 3265; load averages: 364.21, 306.34, 155.66 up 0+03:15:36 15:19:37 1156 processes:28 running, 1128 sleeping CPU states: 58.7% user, 0.0% nice, 32.3% system, 9.0% interrupt, 0.0% idle Mem: 1488M Active, 233M Inact, 217M Wired, 69M Cache, 214M Buf, 3004K Free Swap: 4096M Total, 958M Used, 3138M Free, 23% Inuse, 28M In, 932K Out 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 #5: Thu Jan 24 11:58:39 GMT 2002 root@room6.adultbouncer.com:/usr/src/sys/compile/70 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 = 2147418112 (2097088K bytes) avail memory = 2086076416 (2037184K 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 0xc048e000. 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: