server shutted down frequently, related to [swi1: net] process ?

dwianto rizky dwianto_rizky at yahoo.com
Tue Oct 23 06:21:09 PDT 2007


hi list,

my server is frequently shutted down by itself. I've checked all of relevant logs, but it showed nothing suspicious. Then, I realized from the output of ps -aux that [swi1: net], and some irq have consumed the cpu load.
# ps aux |more
USER     PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
root      10 42.7  0.0     0     8  ??  RL    6:26PM  26:46.85 [idle]
root      31 21.7  0.0     0     8  ??  WL    6:26PM   7:24.36 [irq18: rl0]
root      11 20.3  0.0     0     8  ??  WL    6:26PM  24:59.95 [swi1: net]
root      32  6.2  0.0     0     8  ??  WL    6:26PM   9:15.25 [irq19: rl1]
....

that was in "good" condition. usually, [swi1: net] consumed up >70% of cpu load, then  followed by irq process on rl1 and rl0 interfaces.

I've read through swi manual, and knows that this function is used to register and schedule software interrupt handlers. but I don't know what exactly "net" has made the interrupt. 

my question :
- why did the swi process eat up my cpu load?  what is the cause?
- is the rl0 and rl1 has some problems, so their irq process consume some cpu load?
- is there any relation between these problems with my server's self-shutted-down-behavior?


thanks a lot for your responses.


#######
PS : below is my dmesg output :
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #0: Sun Mar 18 00:39:02 WIT 2007
   foo at foo.com:/usr/obj/usr/src/sys/ROUTER
ACPI APIC Table: <AWARD  AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.53-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf49  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Logical CPUs per core: 2
real memory  = 2146304000 (2046 MB)
avail memory = 2095378432 (1998 MB)
ioapic0: Changing APIC ID to 4
ioapic0 <Version 0.3> irqs 0-23 on motherboard
ioapic1 <Version 0.3> irqs 24-47 on motherboard
kbd1 at kbdmux0
acpi0: <AWARD AWRDACPI> on motherboard 
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 27 at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
pci2: <display> at device 0.1 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> irq 31 at device 3.0 on pci0
pci3: <ACPI PCI bus> on pcib3
atapci0: <VIA 8237A SATA150 controller> port 0xfc00-0xfc07,0xf800-0xf803,0xf400-0xf407,0xf000-0xf003,0xec00-0xec0f,0xe800-0xe8ff irq 21 at device 15.0 on pci
0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <VIA 8237A UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe400-0xe40f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 20 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 22 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 21 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 23 at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <VIA 83C572 USB controller> on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdffff000-0xdffff0ff irq 21 at device 16.4 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <VIA VT6202 USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 19.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <multimedia> at device 1.0 (no driver attached)
pcib5: <ACPI PCI-PCI bridge> at device 19.1 on pci0
pci5: <ACPI PCI bus> on pcib5
re0: <Corega CG-LAPCIGT (RTL8169S) Gigabit Ethernet> port 0x9c00-0x9cff mem 0xdfbff000-0xdfbff0ff irq 17 at device 3.0 on pci5
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:0a:79:33:e6:9e
re0: [FAST]
rl0: <RealTek 8139 10/100BaseTX> port 0x9800-0x98ff mem 0xdfbfe000-0xdfbfe0ff irq 18 at device 4.0 on pci5
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:bf:21:89:d6
rl1: <RealTek 8139 10/100BaseTX> port 0x9400-0x94ff mem 0xdfbfd000-0xdfbfd0ff irq 19 at device 5.0 on pci5
miibus2: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus2
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:50:bf:21:8d:cf
rl2: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem 0xdfbfc000-0xdfbfc0ff irq 16 at device 6.0 on pci5
miibus3: <MII bus> on rl2
rlphy2: <RealTek internal media interface> on miibus3
rlphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl2: Ethernet address: 00:c0:26:62:54:43
re1: <RealTek 8169SC/8110SC Single-chip Gigabit Ethernet> port 0x8c00-0x8cff mem 0xdfbfb000-0xdfbfb0ff irq 20 at device 7.0 on pci5
miibus4: <MII bus> on re1
rgephy1: <RTL8169S/8110S media interface> on miibus4
rgephy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re1: Ethernet address: 00:18:f3:bf:49:23
re1: [FAST]
acpi_tz0: <Thermal Zone> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2992534995 Hz quality 800
Timecounters tick every 1.000 msec
ad4: 76319MB <Seagate ST380211AS 3.AAE> at ata2-master SATA150
Trying to mount root from ufs:/dev/ad4s1a
re0: link state changed to UP
re1: link state changed to UP
re0: link state changed to DOWN
re1: link state changed to DOWN
re1: link state changed to UP
re0: link state changed to UP
mld6_input: src :: is not link-local (grp=ff02::0001:ffd2:8804)
mld6_input: src :: is not link-local (grp=ff02::0001:ffd2:8804)
mld6_input: src :: is not link-local (grp=ff02::0001:ffef:18f4)
mld6_input: src :: is not link-local (grp=ff02::0001:ff22:dfac)
arplookup 192.168.0.10 failed: host is not on local network
re0: promiscuous mode enabled
re0: link state changed to DOWN
rl0: promiscuous mode enabled
plip0: promiscuous mode enabled
pflog0: promiscuous mode enabled
pflog0: promiscuous mode disabled
pfsync0: promiscuous mode enabled
pfsync0: promiscuous mode disabled
rl1: promiscuous mode enabled
re1: promiscuous mode enabled
re1: link state changed to DOWN
rl2: promiscuous mode enabled
lo0: promiscuous mode enabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode disabled
re0: link state changed to DOWN
rl0: promiscuous mode disabled
plip0: promiscuous mode disabled
rl1: promiscuous mode disabled
re1: promiscuous mode disabled
re1: link state changed to DOWN
rl2: promiscuous mode disabled
lo0: promiscuous mode disabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode enabled
re0: link state changed to DOWN
rl0: promiscuous mode enabled
plip0: promiscuous mode enabled
pflog0: promiscuous mode enabled
pflog0: promiscuous mode disabled
pfsync0: promiscuous mode enabled
pfsync0: promiscuous mode disabled
rl1: promiscuous mode enabled
re1: promiscuous mode enabled
re1: link state changed to DOWN
rl2: promiscuous mode enabled
lo0: promiscuous mode enabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode disabled
re0: link state changed to DOWN
rl0: promiscuous mode disabled
plip0: promiscuous mode disabled
rl1: promiscuous mode disabled
re1: promiscuous mode disabled
re1: link state changed to DOWN
rl2: promiscuous mode disabled
lo0: promiscuous mode disabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode enabled
re0: link state changed to DOWN
rl0: promiscuous mode enabled
plip0: promiscuous mode enabled
pflog0: promiscuous mode enabled
pflog0: promiscuous mode disabled
pfsync0: promiscuous mode enabled
pfsync0: promiscuous mode disabled
rl1: promiscuous mode enabled
re1: link state changed to DOWN
re1: promiscuous mode enabled
rl2: promiscuous mode enabled
lo0: promiscuous mode enabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode disabled
re0: link state changed to DOWN
rl0: promiscuous mode disabled
plip0: promiscuous mode disabled
re1: promiscuous mode enabled
re1: link state changed to DOWN
rl2: promiscuous mode enabled
lo0: promiscuous mode enabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode disabled
re0: link state changed to DOWN
rl0: promiscuous mode disabled
plip0: promiscuous mode disabled
rl1: promiscuous mode disabled
re1: promiscuous mode disabled
re1: link state changed to DOWN
rl2: promiscuous mode disabled
lo0: promiscuous mode disabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode enabled
re0: link state changed to DOWN
rl0: promiscuous mode enabled
plip0: promiscuous mode enabled
pflog0: promiscuous mode enabled
pflog0: promiscuous mode disabled
pfsync0: promiscuous mode enabled
pfsync0: promiscuous mode disabled
rl1: promiscuous mode enabled
re1: link state changed to DOWN
re1: promiscuous mode enabled
rl2: promiscuous mode enabled
lo0: promiscuous mode enabled
re1: link state changed to UP
re0: link state changed to UP
re0: promiscuous mode disabled
re0: link state changed to DOWN
rl0: promiscuous mode disabled
plip0: promiscuous mode disabled
rl1: promiscuous mode disabled
re1: promiscuous mode disabled
re1: link state changed to DOWN
rl2: promiscuous mode disabled
lo0: promiscuous mode disabled
re1: link state changed to UP
re0: link state changed to UP
 
 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list