If you will search on Internet then you will find that this is not a problem of OpenBSD, but similar problems are on FreeBSD , Mac Os X and derived systems. It looks like problem in OpenVPN. Maybe here you will find workaround.
http://code.google.com/p/tunnelblick/issues/detail?id=44#c11 On Mon, Dec 28, 2009 at 1:17 AM, Conor <schro...@gmail.com> wrote: > Hi, > > Installed OpenBSD 4.6 today. > > # uname -a > OpenBSD shitforbrains.tog 4.6 GENERIC#58 i386 > > The box is doing nothing but being a VPN endpoint using OpenVPN. > > My VPN works fine but periodically the tunnel blows up with: > > Dec 27 23:31:24 shitforbrains openvpn[28217]: write UDPv4: No buffer space > available (code=55) > Dec 27 23:31:37 shitforbrains last message repeated 33287 times > > I restart OpenVPN and the problem persists. > > Below are the characteristics of the box itself. PF also in use, can show > the rules if needs be. > > I ran > > # ktrace - f /var/log/ktrace.out -tc openvpn --daemon --config > /etc/openvpn/26c3.conf --script-security 2 > > And I have uploaded the output from > > kdump -f /var/log/ktrace.out > kdump.txt > > http://konundrum.org/kdump.txt > > (OpenVPN not running) > # netstat > -m > 77 mbufs in use: > B B B B 64 mbufs allocated to data > B B B B 3 mbufs allocated to packet headers > B B B B 10 mbufs allocated to socket names and addresses > 64/332/6144 mbuf 2048 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 4096 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 8192 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 9216 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 12288 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 16384 byte clusters in use (current/peak/max) > 0/8/6144 mbuf 65536 byte clusters in use (current/peak/max) > 1012 Kbytes allocated to network (14% in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > # > dmesg > OpenBSD 4.6 (GENERIC) #58: Thu Jul B 9 21:24:42 MDT 2009 > B B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Intel(R) Pentium(R) 4 CPU 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM > real mem B = 803762176 (766MB) > avail mem = 767864832 (732MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 05/07/03, BIOS32 rev. 0 @ 0xfd760, > SMBIOS rev. 2.31 @ 0xf03d0 (76 entries) > bios0: vendor FUJITSU SIEMENS // Phoenix Technologies Ltd. version "4.06 > Rev. 1.06.1386" date 05/07/2003 > bios0: FUJITSU SIEMENS D1386 > acpi0 at bios0: rev 0 > acpi0: tables DSDT FACP APIC BOOT > acpi0: wakeup devices PCI0(S4) AGPB(S4) PCIH(S4) USB1(S4) USB2(S4) USB3(S4) > USB4(S4) AC97(S4) MC97(S4) KEYB(S4) PS2M(S4) COM1(S1) COM2(S1) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: apic clock running at 99MHz > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (AGPB) > acpiprt2 at acpi0: bus 2 (PCIH) > acpicpu0 at acpi0 > acpibtn0 at acpi0: PWRB > bios0: ROM list: 0xc0000/0xc800 0xe0000/0x4000! > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "Intel 82845G Host" rev 0x01 > intelagp0 at pchb0 > agp0 at intelagp0: aperture at 0xe0000000, size 0x4000000 > ppb0 at pci0 dev 1 function 0 "Intel 82845G AGP" rev 0x01 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 0 function 0 "NVIDIA GeForce2 MX" rev 0xb2 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: apic 1 int 16 > (irq 9) > uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: apic 1 int 19 > (irq 11) > uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: apic 1 int 18 > (irq 10) > ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: apic 1 int 23 > (irq 9) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x81 > pci2 at ppb1 bus 2 > fxp0 at pci2 dev 8 function 0 "Intel PRO/100 VE" rev 0x81, i82562: apic 1 > int 20 (irq 11), address 00:30:05:1c:43:10 > inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 > puc0 at pci2 dev 13 function 0 "VScom 200L" rev 0x00: ports: 2 com > com3 at puc0 port 0 apic 1 int 21 (irq 9): ns16550a, 16 byte fifo > com4 at puc0 port 1 apic 1 int 21 (irq 9): ns16550a, 16 byte fifo > ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x01 > pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x01: DMA, channel > 0 configured to compatibility, channel 1 configured to compatibility > wd0 at pciide0 channel 0 drive 0: <IBM-DTLA-305040> > wd0: 16-sector PIO, LBA, 39266MB, 80418240 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <E-IDE, CD-ROM 52X/AKH, A64> ATAPI 5/cdrom > removable > atapiscsi1 at pciide0 channel 1 drive 1 > scsibus1 at atapiscsi1: 2 targets > cd1 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8162B, 0015> ATAPI > 5/cdrom removable > cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 > cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 > ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x01: apic 1 int > 17 (irq 5) > iic0 at ichiic0 > spdmem0 at iic0 addr 0x54: 512MB DDR SDRAM non-parity PC2100CL2.5 > spdmem1 at iic0 addr 0x55: 256MB DDR SDRAM non-parity PC2100CL2.5 > auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: apic 1 int > 17 (irq 5), ICH4 AC97 > ac97: codec id 0x41445372 (Analog Devices AD1981A) > ac97: codec features headphone, 20 bit DAC, No 3D Stereo > audio0 at auich0 > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > isa0 at ichpcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > mtrr: Pentium Pro MTRR support > uplcom0 at uhub1 port 2 "Prolific Technology Inc. USB-Serial Controller" rev > 1.10/3.00 addr 2 > ucom0 at uplcom0 > softraid0 at root > root on wd0a swap on wd0b dump on wd0b