From owner-freebsd-smp Wed Oct 2 1:24:30 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D548037B401 for ; Wed, 2 Oct 2002 01:24:24 -0700 (PDT) Received: from amur.ru (amur.ru [195.151.156.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5538843E42 for ; Wed, 2 Oct 2002 01:24:21 -0700 (PDT) (envelope-from dek@dt.amur.ru) Received: from anubis.my.domain (ns.dt.amur.ru [194.84.87.182]) by amur.ru (8.11.6/8.11.6) with ESMTP id g928OC826856 for ; Wed, 2 Oct 2002 18:24:12 +1000 Received: from there (ws-0122-01.my.domain [192.168.0.110]) by anubis.my.domain (Postfix) with SMTP id 6561115439 for ; Wed, 2 Oct 2002 18:24:11 +1000 (YAKST) Content-Type: text/plain; charset="koi8-r" From: Dmitry Krasnov Organization: DT International To: freebsd-smp@freebsd.org Subject: Machine goes into suspend mode under high network load Date: Wed, 2 Oct 2002 18:24:23 +1000 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20021002082411.6561115439@anubis.my.domain> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello! There is strange behavior of my server. If somebody is pulling very large file (2-3G) thru samba or grepping the entire ports tree over nfs, server is going into "suspend mode" (or similar) after 5-10 minutes of work and stops responding until I strike a key on its keyboard. System clock is not being updated and left in pre-suspend state. When I boot with non-SMP kernel problem disappears. --- kernel config --- machine i386 cpu I686_CPU ident HORUS maxusers 512 options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=2000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options QUOTA #Use quotas options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # System Management Bus support device smbus device smb # I2C Bus support device iicbus device iicbb device iicsmb # Intel ACPI chip device intpm # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 options SC_DISABLE_REBOOT # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) --- dmesg output --- Copyright (c) 1992-2002 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 4.6-STABLE #6: Mon Jun 17 22:09:58 YAKST 2002 dek@horus.my.domain:/usr/obj/usr/src/sys/LOCAL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (349.07-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183fbff real memory = 536805376 (524224K bytes) config> enable apm0 config> quit avail memory = 518488064 (506336K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0341000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc034109c. Preloaded elf module "cd9660.ko" at 0xc03410ec. Preloaded elf module "mfs.ko" at 0xc034118c. Preloaded elf module "msdos.ko" at 0xc0341228. Preloaded elf module "if_xl.ko" at 0xc03412c8. Preloaded elf module "miibus.ko" at 0xc0341368. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00fddf0 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 17 -> irq 2 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 intpm0: port 0x5000-0x500f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 5000 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 4000 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe400-0xe47f mem 0xe6001000-0xe600107f irq 2 at device 9.0 on pci0 xl0: Ethernet address: 00:02:1c:f3:be:8f miibus0: on xl0 xlphy0: <3c905B 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0xe800-0xe8ff mem 0xe6000000-0xe6000fff irq 16 at device 12.0 on pci0 aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0xec00-0xecff mem 0xe6002000-0xe6002fff irq 16 at device 12.1 on pci0 aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/253 SCBs orm0: