Date: Fri, 25 Jan 2002 12:34:32 -0800 (PST) From: ges <gary@outloud.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/34275: high load/swap on 4.4-RELEASE Message-ID: <200201252034.g0PKYWJ19471@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 4 -> irq 2
IOAPIC #1 intpin 6 -> irq 9
pci0: <PCI bus> on pcib0
pci0: <ATI Mach64-GR graphics accelerator> at 3.0 irq 2
fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel Pro 10/100B/100+ Ethernet> irq 0 at device 6.0 on pci0
fxp1: could not map device registers
device_probe_and_attach: fxp1 attach returned 6
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0xffa0-0xffaf at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe8fe000-0xfe8fefff irq 10 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> 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: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 12 -> irq 11
pci1: <PCI bus> on pcib1
ahc0: <Adaptec aic7892 Ultra160 SCSI adapter> 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: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-0xcefff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
acd0: CDROM <MATSHITA CR-177> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
da3 at ahc0 bus 0 target 3 lun 0
da3: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da3: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
WARNING: / was not properly dismounted
ccd0-3: Concatenated disk drivers
nfs server 216.32.208.95:/usr2: not responding
1 users Load184.11183.55138.54 Fri Jan 25 15:31
Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER
Tot Share Tot Share Free in out in out
Act 1080436 716 2344136 1604 72336 count 23 30 119
All 2055040 1688 3764472 17140 pages 76 36 147
3 zfod Interrupts
Proc:r p d s w Csw Trp Sys Int Sof Flt 1 cow 6401 total
100 1 1741 6162 185 7459 6399 2374 184 223736 wire 4243 fxp0 irq9
1637752 act ata0 irq14
40.6%Sys 7.2%Intr 50.7%User 0.0%Nice 1.4%Idl 124200 inact 1120 ohci0 irq1
| | | | | | | | | | 69348 cache 810 ahc0 irq11
====================++++>>>>>>>>>>>>>>>>>>>>>>>> 3004 free fdc0 irq6
daefr atkbd0 irq
Namei Name-cache Dir-cache prcfr 100 clk irq0
Calls hits % hits % 45 react 128 rtc irq8
1873 1873 100 3 pdwake
118062 pdpgs
Disks ccd0 da0 da1 da2 da3 acd0 fd0 30 intrn
KB/t 32.05 11.63 18.64 18.60 18.15 0.00 0.00 219200 buf
tps 366 309 161 167 166 0 0 117 dirtybuf
MB/s 11.47 3.51 2.92 3.03 2.94 0.00 0.00 136839 desiredvnodes
% busy 100 100 78 82 81 0 0 8714 numvnodes
6920 freevnodes
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201252034.g0PKYWJ19471>
