From owner-freebsd-current@FreeBSD.ORG Wed Aug 4 21:02:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D769C16A4CE for ; Wed, 4 Aug 2004 21:02:38 +0000 (GMT) Received: from smtp-gw-cl-d.dmv.com (smtp-gw-cl-d.dmv.com [216.240.97.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DDD243D41 for ; Wed, 4 Aug 2004 21:02:38 +0000 (GMT) (envelope-from sven@dmv.com) Received: from lanshark.dmv.com (lanshark.dmv.com [216.240.97.46]) i74L2bRv074919 for ; Wed, 4 Aug 2004 17:02:37 -0400 (EDT) (envelope-from sven@dmv.com) From: Sven Willenberger To: freebsd-current@freebsd.org In-Reply-To: <20040804204915.8337A5D08@ptavv.es.net> References: <20040804204915.8337A5D08@ptavv.es.net> Content-Type: text/plain Date: Wed, 04 Aug 2004 17:00:53 -0400 Message-Id: <1091653253.29492.57.camel@lanshark.dmv.com> Mime-Version: 1.0 X-Mailer: Evolution 1.5.9 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 Subject: Re: Postgresql locks up server - no response at all X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 21:02:38 -0000 On Wed, 2004-08-04 at 13:49 -0700, Kevin Oberman wrote: > > Date: Wed, 4 Aug 2004 13:34:56 -0700 > > From: Jeremy Chadwick > > Sender: owner-freebsd-current@freebsd.org > > > > I've seen this with our SuperMicro SuperServer 5013C-T, running mysqld. > > Please note that the server is "heavily loaded" (note the quotes); usually > > a load of around 0.50 to 1.00 at all times, with mysqld being the top > > process. Server runs all latest -CURRENT builds. > > > > Many people over in freebsd-threads mentioned this problem, and recommended > > all sorts-of different workarounds. I tried every one available to me, > > except mucking with PREEMPTION (as I did not feel comfortable tinkering > > with a random .h file on the box; seemed to be a kernel-related thing, > > so I'd rather have just an "options" line for it -- I'm conditionally > > lazy). > > Please note that PREEMPTION is now NOT enabled in CURRENT. scottl > changed that a day or two ago because of all of these lock-ups. He and > Julian are listed as working to isolate the problem. Scott believes it's > in the scheduler. It's not specific to either ULE or 4BSD. > > So cvsup, rebuild the kernel and you should be fine.At least for a while. Based on this and Jeremy C.'s response it would appear that I should either try to upgrade my 5.2.1-P8 system to -CURRENT (which is scary because of the vinum array - root is not mounted on a vinum device, but the data directory is - will gvinum simply read this correctly? it is a stripe+mirror array of 4 drives) or start from scratch and go back to 4.10 (STABLE) for a while. I am assuming that the lockups I am seeing were exacerbated by the PREEMPTION episodes of the past couple weeks? If I choose the upgrade to -CURRENT, are there any caveats or recommendations? (besides reading "/usr/src/UPDATING" which I do religiously anyway)