Стояла фря 7.0-release + stargazer 2.405 + bind9 + ipfw + ipnat (ще mrtg+snmp) . (атлон2, 2 гіга ОЗУ)
>200 клієнтів 2 езернет карточки . Одна дивиться в локаль(intel pro) друга в світ(встроєна).
Ні з того ні з сього почалися ребути падать в кору.
Так як серв давно собирався і там було переставлено багато програмного забезпечення для тестів, то думав , що перевстановлення допоможе.
Взяв інший комп(феном3, 2 гіга ОЗУ)
встановив
фря 8.0-release + stargazer 2.406 + bind9 + ipfw + ipnat (ще mrtg+snmp) . Поставив 100мбітні карточки релтековські (так як ставлю тимчасово).
Після аптайму в 20 годин - ребут... і так кілька разів на день.
Привожу деякі параметри системи:
billing# top -b
last pid: 8831; load averages: 0.05, 0.03, 0.00 up 0+07:18:13 15:55:39
65 processes: 1 running, 64 sleeping
Mem: 142M Active, 29M Inact, 59M Wired, 124K Cache, 43M Buf, 3025M Free
Swap: 4096M Total, 4096M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
1048 root 11 44 -19 31088K 23588K accept 1 15:18 0.00% stargazer
794 bind 6 44 0 72988K 58904K kqread 1 1:20 0.00% named
1039 mysql 13 44 0 334M 59384K ucond 2 0:47 0.00% mysqld
1523 root 1 44 0 21656K 14384K select 1 0:01 0.00% httpd
6135 www 1 44 0 22680K 15960K accept 0 0:00 0.00% httpd
5435 www 1 44 0 22680K 15972K accept 1 0:00 0.00% httpd
7599 www 1 45 0 22680K 15968K accept 0 0:00 0.00% httpd
1440 root 1 44 0 4492K 3044K bpf 1 0:00 0.00% arpwatch
1049 root 1 73 0 5756K 2824K msgrcv 1 0:00 0.00% stargazer
725 root 1 44 0 3344K 1328K select 0 0:00 0.00% syslogd
1541 root 1 44 0 6676K 3660K select 1 0:00 0.00% sshd
1546 root 1 76 0 3372K 1380K nanslp 1 0:00 0.00% cron
7645 www 1 44 0 22680K 15668K accept 1 0:00 0.00% httpd
8056 www 1 44 0 22680K 15784K accept 0 0:00 0.00% httpd
7814 root 1 44 0 9400K 4332K sbwait 1 0:00 0.00% sshd
8821 root 1 44 0 9400K 4384K sbwait 2 0:00 0.00% sshd
7706 www 1 44 0 21656K 14540K accept 2 0:00 0.00% httpd
7985 www 1 44 0 21656K 14528K accept 1 0:00 0.00% httpd
billing# netstat -m
686/2269/2955 mbufs in use (current/cache/total)
346/976/1322/25600 mbuf clusters in use (current/cache/total/max)
346/934 mbuf+clusters out of packet secondary zone in use (current/cache)
0/77/77/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
901K/2827K/3729K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/42/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
39 requests for I/O initiated by sendfile
0 calls to protocol drain routines
billing# tail -f /var/log/messages
Feb 9 09:00:00 billing newsyslog[2191]: logfile turned over due to size>100K
Feb 9 14:56:32 billing named[794]: clients-per-query increased to 15
Feb 9 15:16:32 billing named[794]: clients-per-query decreased to 14
Feb 9 15:36:32 billing named[794]: clients-per-query decreased to 13
Feb 9 15:55:33 billing su: morfey to root on /dev/pts/1
Feb 9 15:56:32 billing named[794]: clients-per-query decreased to 12
Ще вискакує в мессагесах:
Feb 8 20:23:29 billing named[794]: client 10.10.0.46#52662: error sending response: not enough free resources
Feb 8 20:26:00 billing named[794]: client 10.10.2.12#56991: error sending response: not enough free resources
Feb 8 20:29:59 billing named[794]: client 10.10.0.52#1090: error sending response: not enough free resources
Feb 8 20:30:49 billing named[794]: client 10.10.0.48#1260: error sending response: not enough free resources
Feb 8 20:30:49 billing named[794]: client 10.10.0.48#1025: error sending response: not enough free resources
Feb 8 20:30:49 billing named[794]: client 10.10.0.48#1136: error sending response: not enough free resources
Feb 8 20:30:49 billing named[794]: client 10.10.0.48#1066: error sending response: not enough free resources
billing# dmesg
Copyright (c) 1992-2009 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 8.0-RELEASE #1: Fri Jan 22 23:19:16 UTC 2010
morfey@billing:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Phenom(tm) 8750 Triple-Core Processor (2411.11-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x100f23 Stepping = 3
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x802009<SSE3,MON,CX16,POPCNT>
AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS>
TSC: P-state invariant
real memory = 4294967296 (4096 MB)
avail memory = 3409096704 (3251 MB)
ACPI APIC Table: <082908 APIC1418>
FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs
FreeBSD/SMP: 1 package(s) x 3 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <082908 RSDT1418> on motherboard
acpi0: [iTHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of ffb80000, 80000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, cff00000 (3) failed
ACPI HPET table warning: Sequence is non-zero (2)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: HPET never increments, disabling
device_attach: acpi_hpet0 attach returned 6
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem 0xd0000000-0xdfffffff,0xfbdf0000-0xfbdfffff,0xfbc00000-0xfbcfffff irq 18 at device 5.0 on pci1
pcib2: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8168DP/8111B/8111C/8111CP/8111DP PCIe Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfbeff000-0xfbefffff,0xfaff0000-0xfaffffff irq 18 at device 0.0 on pci2
re0: Using 1 MSI messages
re0: Chip rev. 0x3c000000
re0: MAC rev. 0x00400000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:22:15:dd:4d:48
re0: [FILTER]
atapci0: <ATI IXP700/800 SATA300 controller> port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfbbff800-0xfbbffbff irq 22 at device 17.0 on pci0
atapci0: [iTHREAD]
atapci0: AHCI v1.10 controller with 4 3Gbps ports, PM supported
ata2: <ATA channel 0> on atapci0
ata2: [iTHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [iTHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [iTHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [iTHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xfbbfe000-0xfbbfefff irq 16 at device 18.0 on pci0
ohci0: [iTHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ohci1: <OHCI (generic) USB controller> mem 0xfbbfd000-0xfbbfdfff irq 16 at device 18.1 on pci0
ohci1: [iTHREAD]
usbus1: <OHCI (generic) USB controller> on ohci1
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfbbff000-0xfbbff0ff irq 17 at device 18.2 on pci0
ehci0: [iTHREAD]
usbus2: EHCI version 1.0
usbus2: <EHCI (generic) USB 2.0 controller> on ehci0
ohci2: <OHCI (generic) USB controller> mem 0xfbbfc000-0xfbbfcfff irq 18 at device 19.0 on pci0
ohci2: [iTHREAD]
usbus3: <OHCI (generic) USB controller> on ohci2
ohci3: <OHCI (generic) USB controller> mem 0xfbbfb000-0xfbbfbfff irq 18 at device 19.1 on pci0
ohci3: [iTHREAD]
usbus4: <OHCI (generic) USB controller> on ohci3
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfbbfa800-0xfbbfa8ff irq 19 at device 19.2 on pci0
ehci1: [iTHREAD]
usbus5: EHCI version 1.0
usbus5: <EHCI (generic) USB 2.0 controller> on ehci1
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci1: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [iTHREAD]
ata1: <ATA channel 1> on atapci1
ata1: [iTHREAD]
pci0: <multimedia, HDA> at device 20.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci3: <ACPI PCI bus> on pcib3
rl0: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem 0xfbfffc00-0xfbfffcff irq 20 at device 6.0 on pci3
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:a1:b0:11:dc:7d
rl0: [iTHREAD]
ohci4: <OHCI (generic) USB controller> mem 0xfbbf9000-0xfbbf9fff irq 18 at device 20.5 on pci0
ohci4: [iTHREAD]
usbus6: <OHCI (generic) USB controller> on ohci4
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
ACPI Warning: \\_SB_.PCI0.SBRG.FDC_._FDE: Return type mismatch - found Package, expected Buffer 20090521 nspredef-1051
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [iTHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [iTHREAD]
lpt0: <Printer> on ppbus0
lpt0: [iTHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [iTHREAD]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
IP Filter: v4.1.28 initialized. Default = pass all, Logging = enabled
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding enabled, default to accept, logging disabled
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
usbus6: 12Mbps Full Speed USB v1.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
ugen6.1: <ATI> at usbus6
uhub6: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
uhub6: 2 ports with 2 removable, self powered
uhub0: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
uhub3: 3 ports with 3 removable, self powered
uhub4: 3 ports with 3 removable, self powered
acd0: DVDR <NEC DVD RW ND-3540A/1.01> at ata0-master UDMA33
ad1: 38166MB <WDC WD400BB-00JHA0 05.01C05> at ata0-slave UDMA100
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus5 usbus2
Root mount waiting for: usbus5 usbus2
uhub2: 6 ports with 6 removable, self powered
uhub5: 6 ports with 6 removable, self powered
Trying to mount root from ufs:/dev/ad1s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /var was not properly dismounted
re0: link state changed to UP
re0: promiscuous mode enabled