From owner-freebsd-amd64@FreeBSD.ORG Mon May 30 10:22:58 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8302316A41C; Mon, 30 May 2005 10:22:58 +0000 (GMT) (envelope-from msergeant@snsonline.net) Received: from xyzzy.snsonline.net (icarus.snsonline.net [210.18.214.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id B073C43D58; Mon, 30 May 2005 10:22:57 +0000 (GMT) (envelope-from msergeant@snsonline.net) Received: from [127.0.0.1] (localhost [127.0.0.1]) by xyzzy.local (Postfix) with ESMTP id 4D2D3114355; Mon, 30 May 2005 13:59:53 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Mark Sergeant Date: Mon, 30 May 2005 13:59:51 +1000 To: freebsd-stable@FreeBSD.ORG X-Mailer: Apple Mail (2.730) Cc: freebsd-amd64@freebsd.org Subject: Named 9.3.1 caching problem AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 10:22:58 -0000 I've got a very unusual problem running a bind caching name server on AMD64. I've tried FreeBSD-5.4-p1 and 5.4-STABLE and nothing has helped. Named goes into a "crash" state once hit hits approx 120M of memory in use, at which point it chews 100% cpu and doesn't respond to any futher queries. If anyone has any idea on how I can fix this it would be much appreciated as it's a production system. The folliowing are the relevant config details ... system details FreeBSD zeus 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri May 27 08:50:14 EST 2005 root@zeus:/usr/obj/usr/src/sys/ZEUS amd64 dmesg Copyright (c) 1992-2005 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 5.4-STABLE #0: Fri May 27 08:50:14 EST 2005 root@zeus:/usr/obj/usr/src/sys/ZEUS Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 250 (2392.55-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf5a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 real memory = 2146893824 (2047 MB) avail memory = 2062729216 (1967 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard netsmb_dev: loaded acpi0: on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0x8080-0x80ff,0x8000-0x807f, 0xcf8-0xcff iomem 0xd8000-0xdbfff on acpi0 pci0: on pcib0 pcib1: at device 6.0 on pci0 pci1: on pcib1 ohci0: mem 0xfb100000-0xfb100fff irq 19 at device 0.0 on pci1 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfb101000-0xfb101fff irq 19 at device 0.1 on pci1 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1020-0x102f, 0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.3 (no driver attached) pcib2: at device 10.0 on pci0 pci2: on pcib2 bge0: mem 0xfd000000-0xfd00ffff,0xfd010000-0xfd01ffff irq 24 at device 1.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:11:25:1e:1b:ec bge1: mem 0xfd020000-0xfd02ffff,0xfd030000-0xfd03ffff irq 25 at device 1.1 on pci2 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:11:25:1e:1b:ed pci0: at device 10.1 (no driver attached) pcib3: at device 11.0 on pci0 pci3: on pcib3 twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0x3000-0x300f mem 0xfd800000-0xfdffffff irq 28 at device 3.0 on pci3 twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048 pci0: at device 11.1 (no driver attached) sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console orm0: at iomem 0xcb000-0xcbfff,0xc9800-0xcafff, 0xc8000-0xc97ff,0xc0000-0xc7fff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 device_attach: atkbd0 attach returned 6 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: vendor 0x1267 product 0x0103, rev 1.10/1.00, addr 2, iclass 3/1 kbd0 at ukbd0 uhid0: vendor 0x1267 product 0x0103, rev 1.10/1.00, addr 2, iclass 3/1 Timecounters tick every 1.000 msec IP Filter: v3.4.35 initialized. Default = pass all, Logging = enabled acd0: CDROM at ata1-master PIO4 twed0: on twe0 twed0: 76323MB (156310528 sectors) SMP: AP CPU #1 Launched! named.conf options { directory "/etc/namedb"; pid-file "/var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; recursive-clients 2000; listen-on { 127.0.0.1; x.x.x.x; }; datasize 512M; max-cache-size 512M; }; logging { channel misc_logfile { file "/var/log/misc.log" versions 3 size 10M; severity info; print-category yes; print-severity yes; print-time yes; }; channel config_logfile { file "/var/log/config.log" versions 3 size 10M; severity info; print-category yes; print-severity yes; print-time yes; }; channel security_logfile { file "/var/log/security.log" versions 3 size 10M; severity info; print-category yes; print-severity yes; print-time yes; }; channel xfer_logfile { file "/var/log/xfer.log" versions 3 size 10M; severity info; print-category yes; print-severity yes; print-time yes; }; category default { misc_logfile; }; category config { config_logfile; }; category lame-servers { null; }; category notify { xfer_logfile; }; category queries { null; }; category security { security_logfile; }; category update { xfer_logfile; }; category xfer-in { xfer_logfile; }; category xfer-out { xfer_logfile; }; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "master/localhost.rev"; }; // RFC 3152 zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARP A" { type master; file "master/localhost-v6.rev"; }; // RFC 1886 -- deprecated zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT " { type master; file "master/localhost-v6.rev"; };