Hi,
I have network server running on OpenBSD 4.3. Kernel was patched and
recompiled with changed amount of queue for hfsc and cbq to 768.
This machine has 3 interface, two external and one internal.
On each interface i have hfsc queing active. On server i have DHCPD server,
DNS (bind), PF+queing, Postfix + sasl + postgrey + clamd for small group of
users.
Server working for 100 hosts.
My problem: In my logs i'm getting following message:
dhcpd: send_packet: No buffer space available
I tried to change my NIC, change values for sysctl, but this did not help
me... Someone had similar problem ?
Below I included additional information which can help to set the cause of
problem
Thank You!
# sysctl
net.inet.udp.sendspace=262144
net.inet.udp.recvspace=262144
net.bpf.bufsize=10485760
net.bpf.maxbufsize=10485760
# top
load averages: 0.21, 0.21, 0.18
14:55:41
55 processes: 54 idle, 1 on processor
CPU states: 2.9% user, 0.0% nice, 0.6% system, 4.4% interrupt, 92.1%
idle
Memory: Real: 135M/264M act/tot Free: 233M Swap: 0K/1026M used/tot
# netstat -m
1033 mbufs in use:
914 mbufs allocated to data
40 mbufs allocated to packet headers
79 mbufs allocated to socket names and addresses
889/1180/6144 mbuf clusters in use (current/peak/max)
2688 Kbytes allocated to network (75% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
# dmesg
Sep 7 14:44:56 roki /bsd: OpenBSD 4.3 (GENERIC) #0: Tue Aug 19 13:21:56
CEST 2008
Sep 7 14:44:56 roki /bsd: /usr/src/sys/arch/i386/compile/GENERIC
Sep 7 14:44:56 roki /bsd: cpu0: AMD Athlon(tm) XP 2400+ ("AuthenticAMD"
686-class, 512KB L2 cache) 1.82 GHz
Sep 7 14:44:56 roki /bsd: cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
Sep 7 14:44:56 roki /bsd: real mem = 536375296 (511MB)
Sep 7 14:44:56 roki /bsd: avail mem = 510599168 (486MB)
Sep 7 14:44:56 roki /bsd: mainbus0 at root
Sep 7 14:44:56 roki /bsd: bios0 at mainbus0: AT/286+ BIOS, date 07/11/03,
BIOS32 rev. 0 @ 0xfdb10, SMBIOS rev. 2.3 @ 0xf0630
Sep 7 14:44:56 roki /bsd: bios0: vendor American Megatrends Inc. version
"P1.90" date 07/11/2003
Sep 7 14:44:56 roki /bsd: bios0: American Megatrends Inc. Uknown
Sep 7 14:44:56 roki /bsd: acpi0 at bios0: rev 0
Sep 7 14:44:56 roki /bsd: acpi0: tables DSDT FACP APIC
Sep 7 14:44:56 roki /bsd: acpi0: wakeup devices PS2M(S4) PS2K(S4) UAR1(S4)
USB1(S4) USB2(S4) EHCI(S4) LAN_(S4) MDM_(S4) PCI0(
Sep 7 14:44:56 roki /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits
Sep 7 14:44:56 roki /bsd: acpiprt0 at acpi0: bus 0 (PCI0)
Sep 7 14:44:56 roki /bsd: acpicpu0 at acpi0
Sep 7 14:44:56 roki /bsd: acpibtn0 at acpi0: PWRB
Sep 7 14:44:56 roki /bsd: bios0: ROM list: 0xc0000/0xf400
Sep 7 14:44:56 roki /bsd: cpu0 at mainbus0
Sep 7 14:44:56 roki /bsd: pci0 at mainbus0 bus 0: configuration mode 1 (no
bios)
Sep 7 14:44:56 roki /bsd: pchb0 at pci0 dev 0 function 0 "SiS 746 PCI" rev
0x02
Sep 7 14:44:56 roki /bsd: agp0 at pchb0: aperture at 0xd0000000, size
0x4000000
Sep 7 14:44:56 roki /bsd: ppb0 at pci0 dev 1 function 0 "SiS 86C202 VGA"
rev 0x00
Sep 7 14:44:56 roki /bsd: pci1 at ppb0 bus 1
Sep 7 14:44:56 roki /bsd: vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX
5200" rev 0xa1
Sep 7 14:44:56 roki /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100
emulation)
Sep 7 14:44:56 roki /bsd: wsdisplay0: screen 1-5 added (80x25, vt100
emulation)
Sep 7 14:44:56 roki /bsd: pcib0 at pci0 dev 2 function 0 "SiS 85C503
System" rev 0x25
Sep 7 14:44:56 roki /bsd: pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE"
rev 0x00: 746: DMA, channel 0 wired to compatibili
Sep 7 14:44:56 roki /bsd: wd0 at pciide0 channel 0 drive 0: <ST3160815A>
Sep 7 14:44:56 roki /bsd: wd0: 16-sector PIO, LBA48, 152627MB, 312581808
sectors
Sep 7 14:44:56 roki /bsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA
mode 5
Sep 7 14:44:56 roki /bsd: pciide0: channel 1 disabled (no drives)
Sep 7 14:44:56 roki /bsd: ohci0 at pci0 dev 3 function 0 "SiS 5597/5598
USB" rev 0x0f: irq 3, version 1.0, legacy support
Sep 7 14:44:56 roki /bsd: ohci1 at pci0 dev 3 function 1 "SiS 5597/5598
USB" rev 0x0f: irq 5, version 1.0, legacy support
Sep 7 14:44:56 roki /bsd: ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev
0x00: irq 10
Sep 7 14:44:56 roki /bsd: usb0 at ehci0: USB revision 2.0
Sep 7 14:44:56 roki /bsd: uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00
addr 1
Sep 7 14:44:56 roki /bsd: re0 at pci0 dev 11 function 0 "D-Link Systems
DGE-528T" rev 0x10: RTL8169/8110SB (0x1000), irq 7, a
Sep 7 14:44:56 roki /bsd: rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
Sep 7 14:44:56 roki /bsd: em0 at pci0 dev 12 function 0 "Intel PRO/1000MT
(82545GM)" rev 0x04: irq 11, address 00:1b:21:21:e3
Sep 7 14:44:56 roki /bsd: fxp0 at pci0 dev 13 function 0 "Intel 8255x" rev
0x0c, i82550: irq 4, address 00:02:b3:8d:76:dd
Sep 7 14:44:56 roki /bsd: inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
Sep 7 14:44:56 roki /bsd: isa0 at pcib0
Sep 7 14:44:56 roki /bsd: isadma0 at isa0
Sep 7 14:44:56 roki /bsd: pckbc0 at isa0 port 0x60/5
Sep 7 14:44:56 roki /bsd: pckbd0 at pckbc0 (kbd slot)
Sep 7 14:44:56 roki /bsd: pckbc0: using irq 1 for kbd slot
Sep 7 14:44:56 roki /bsd: wskbd0 at pckbd0: console keyboard, using
wsdisplay0
Sep 7 14:44:56 roki /bsd: pcppi0 at isa0 port 0x61
Sep 7 14:44:56 roki /bsd: midi0 at pcppi0: <PC speaker>
Sep 7 14:44:56 roki /bsd: spkr0 at pcppi0
Sep 7 14:44:56 roki /bsd: wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12
Sep 7 14:44:56 roki /bsd: lm1 at wbsio0 port 0x290/8: W83697HF
Sep 7 14:44:56 roki /bsd: npx0 at isa0 port 0xf0/16: reported by CPUID;
using exception 16
Sep 7 14:44:56 roki /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
Sep 7 14:44:56 roki /bsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18
sec
Sep 7 14:44:56 roki /bsd: usb1 at ohci0: USB revision 1.0
Sep 7 14:44:56 roki /bsd: uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00
addr 1
Sep 7 14:44:56 roki /bsd: usb2 at ohci1: USB revision 1.0
Sep 7 14:44:56 roki /bsd: uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00
addr 1
Sep 7 14:44:56 roki /bsd: biomask f56d netmask fdfd ttymask ffff
Sep 7 14:44:56 roki /bsd: mtrr: Pentium Pro MTRR support
Sep 7 14:44:56 roki /bsd: softraid0 at root
Sep 7 14:44:56 roki /bsd: root on wd0a swap on wd0b dump on wd0b