From owner-freebsd-questions Tue Feb 4 19:45:46 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E08137B401; Tue, 4 Feb 2003 19:45:42 -0800 (PST) Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id E08AA43F79; Tue, 4 Feb 2003 19:45:41 -0800 (PST) (envelope-from muhannad07@cogeco.ca) Received: from [192.168.1.100] (d57-117-31.home.cgocable.net [24.57.117.31]) by fep1.cogeco.net (Postfix) with ESMTP id 31224AAA3; Tue, 4 Feb 2003 22:45:35 -0500 (EST) Subject: Re: Server locking hard -- A LOT!!! From: Muhannad Asfour To: mmca@2531.org Cc: freebsd-questions@FreeBSD.org, freebsd-current@FreeBSD.org In-Reply-To: <200302050332.h153WbRC040670@one.2531.org> References: <200302050332.h153WbRC040670@one.2531.org> Content-Type: text/plain Organization: Message-Id: <1044416731.18148.8.camel@bsdbox.qubix.ca> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 04 Feb 2003 22:45:32 -0500 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2003-02-04 at 22:32, mmca@2531.org wrote: > On 4 Feb, Muhannad Asfour wrote: > > Hello. I've recently faced a rather odd issue that I've never seen > > before. I bought a new server (specs below), and I loaded it up with > > FreeBSD 5.0-RELEASE (I know, I know, not for a production environment, > > but this is a personal server). Now, whenever I get about 30 > > simultaneous connections, the box just locks hard. I tested all the > > hardware components (CPU, Memory, HD, NIC, etc.) and even bought new > > ones just to make sure and all end up with the same result. I can never > > keep a decent uptime (never went past 2 days so far). As soon as I get > > a mediocre http load (30 simul. connections), the box just locks hard. > > I built a debug kernel, I tried everything imaginable, and I have not > > found a solution whatsoever. Everyone seems to be stumped by this. I > > tried FreeBSD 4.7-RELEASE, 4.7-STABLE, 5.0-RELEASE and 5.0-CURRENT on > > this box. All give me the same result. I checked everywhere for > > relevant logs to explain what is occuring, but had no such luck. This > > is truly the million dollar question for me right now, because I have no > > idea why it would lock under such a petty load. I'm not sure what to do > > to fix this issue, I've tried many different areas for support and > > haven't come up with anything as I stated earlier. I'm not overclocking > > or anything if that's what you're wondering. If anyone could assist me > > in any way shape or form to get this working, I would appreciate it very > > very much. Also, if you e-mail back, I'm not subscribed to the lists, > > so could you please CC it to me. In the past 4 hours, it has locked > > hard about 3 times because of a 28-34 connection load. > > > > Machine Specs: > > Single Pentium IV 2.4 GHz processor > > ASUS P4S533 motherboard > > 512MB DDR333 RAM (will be 1GB next week) > > 120GB Maxtor 7200rpm (ATA133) HDD > > 40GB Maxtor 7200 rpm (ATA66) HDD > > Floppy Disk Drive > > ATI Rage 128 (32 meg) AGP 4x graphics adapter > > 52x LG CD-ROM drive > > 3Com 3C905C-TX NIC > > Currently running FreeBSD 5.0-CURRENT as of Sunday Feb. 2, 13:02:05 EST > > 2003. > > > > Thank you very much > > > > Could you post your dmesg. > > Also do you have hyperthreading enabled? No, only Pentium 4 3.06 have Hyperthreading AFAIK. And if I do have it (which I am positive I don't), it's not enabled. Here's the dmesg output: Copyright (c) 1992-2003 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.0-CURRENT #1: Sun Feb 2 13:02:05 EST 2003 root@qubix.ca:/usr/src/sys/i386/compile/QUBIX Preloaded elf kernel "/boot/kernel/kernel" at 0xc04b4000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04b40a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2394012892 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 536854528 (511 MB) avail memory = 516059136 (492 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 10 entries at 0xc00f1b20 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf4000000-0xf5ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 2.0 on pci0 isa0: on isab0 ohci0: mem 0xf3000000-0xf3000fff irq 12 at device 2.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xf2800000-0xf2800fff irq 9 at device 2.3 on pci0 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: port 0xb800-0xb80f at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 sis0: port 0xa000-0xa0ff mem 0xf2000000-0xf2000fff irq 5 at device 3.0 on pci0 sis0: Ethernet address: 00:e0:18:ab:17:b8 miibus0: on sis0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9800-0x987f mem 0xf1800000-0xf180007f irq 10 at device 9.0 on pci0 xl0: Ethernet address: 00:01:02:84:e3:7e miibus1: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f 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 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 pmtimer0 on isa0 orm0: