Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 07:49:06 -0400
From:      tcobb@staff.circle.net
To:        freebsd-smp@freebsd.org
Subject:   Apache process wedges one processor under load
Message-ID:  <A0CFA284C004D211B7EE0060082F32A41F281E@freya.circle.net>

next in thread | raw e-mail | index | archive | help
System is running 3.2 (tried both RELEASE and STABLE) on
a Supermicro P6DBU motherboard with two PIII 550 processors.

System has 1GB ECC RAM and a DPT RAID controller, the 
kernel config and mptable output is at the end of this
email.

The box is a heavily-used production web server, running apache
and apache-ssl.  In usually under 6 hours, one of the apache
processes (not the primary one) wedges CPU 0,
forcing all other processes to run on CPU 1.

Trying to truss the wedging process produces nothing, and the
process is unkillable.  It also causes problems if I try
to reboot, as it doesn't seem to be able to close down CPU 0.

Also, as a strange aside, mptable gives me an "Extended table HOSED"
when I run the bios at 1.4, but works fine at 1.1.  The wedging problem
happens no matter which APIC level I'm running.

Is this a known problem?  What other details can I provide
that would help?

Thanks in advance!


-Troy Cobb
 Circle Net, Inc.
 http://www.circle.net

MPTABLE and kernel config output follows:

============================================================================
===

MPTable, version 2.0.15

----------------------------------------------------------------------------
---

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000fb4f0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0x1d
  mode:				Virtual Wire

----------------------------------------------------------------------------
---

MP Config Table Header:

  physical address:		0x000f2450
  signature:			'PCMP'
  base table length:		268
  version:			1.4
  checksum:			0x63
  OEM ID:			'INTEL   '
  Product ID:			'440BX       '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			25
  local APIC address:		0xfee00000
  extended table length:	16
  extended table checksum:	234

----------------------------------------------------------------------------
---

MP Config Base Table Entries:

--
Processors:	APIC ID	Version	State		Family	Model	Step
Flags
		 0	 0x11	 BSP, usable	 6	 7	 3
0x387fbff
		 1	 0x11	 AP, usable	 6	 7	 3
0x387fbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	 conforms    conforms	     2	   0	      2	   0
		INT	 conforms    conforms	     2	   1	      2	   1
		INT	 conforms    conforms	     2	   0	      2	   2
		INT	 conforms    conforms	     2	   3	      2	   3
		INT	 conforms    conforms	     2	   4	      2	   4
		INT	 conforms    conforms	     2	   5	      2	   5
		INT	 conforms    conforms	     2	   6	      2	   6
		INT	 conforms    conforms	     2	   7	      2	   7
		INT	active-hi        edge	     2	   8	      2	   8
		INT	 conforms    conforms	     2	   9	      2	   9
		INT	 conforms    conforms	     2	  12	      2	  12
		INT	 conforms    conforms	     2	  13	      2	  13
		INT	 conforms    conforms	     2	  14	      2	  14
		INT	active-lo       level	     2	  15	      2	  16
		INT	active-lo       level	     2	  11	      2	  17
		INT	active-lo       level	     2	  10	      2	  18
		SMI	 conforms    conforms	     2	   0	      2	  23
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	 conforms    conforms	     0	 0:A	    255	   0
		NMI	 conforms    conforms	     0	 0:A	    255	   1

----------------------------------------------------------------------------
---

MP Config Extended Table Entries:

Extended Table HOSED!



machine		"i386"
cpu		"I686_CPU"
ident		"CHANDRA030"
maxusers	128

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep
this!]
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP
THIS!]
options		SCSI_DELAY=8000		#Be pessimistic about Joe SCSI
device
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
#options         PQ_LARGECACHE           # color for 512k/16k cache
options         NMBCLUSTERS=8192

# Mandatory: SMP
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O
options         NCPU=2                  # number of CPUs
options         NBUS=3                  # number of busses
options         NAPIC=1                 # number of IO APICs
options         NINTR=24                # number of INTs

config		kernel	root on da0

controller	isa0
controller	pnp0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0

#controller	ahc0
controller      dpt0
options		DPT_LOST_IRQ
controller	scbus0

device		da0

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		vga0	at isa? port ? conflicts

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty
device		npx0	at isa? port IO_NPX irq 13

device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3

device		xl0

pseudo-device	loop
pseudo-device	ether
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device   ccd     2
pseudo-device	speaker

options         "MAXDSIZ=(512*1024*1024)"
options         "DFLDSIZ=(256*1024*1024)"

options         "ICMP_BANDLIM"

options         SYSVSHM
options         SYSVSEM
options         SYSVMSG


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A0CFA284C004D211B7EE0060082F32A41F281E>