From owner-freebsd-stable@FreeBSD.ORG  Mon Jun 26 20:14:03 2006
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
X-Original-To: freebsd-stable@freebsd.org
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CF10E16A59B
	for <freebsd-stable@freebsd.org>; Mon, 26 Jun 2006 20:14:03 +0000 (UTC)
	(envelope-from scrappy@hub.org)
Received: from hub.org (hub.org [200.46.204.220])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9A60444787
	for <freebsd-stable@freebsd.org>; Mon, 26 Jun 2006 18:49:43 +0000 (GMT)
	(envelope-from scrappy@hub.org)
Received: from localhost (wm.hub.org [200.46.204.128])
	by hub.org (Postfix) with ESMTP id 0970D290C37;
	Mon, 26 Jun 2006 15:49:41 -0300 (ADT)
Received: from hub.org ([200.46.204.220])
	by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024)
	with ESMTP id 01140-04; Mon, 26 Jun 2006 18:49:41 +0000 (UTC)
Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244])
	by hub.org (Postfix) with ESMTP id 3E8F0291B53;
	Mon, 26 Jun 2006 15:25:49 -0300 (ADT)
Received: by ganymede.hub.org (Postfix, from userid 1000)
	id 02B33482AA; Mon, 26 Jun 2006 15:25:50 -0300 (ADT)
Received: from localhost (localhost [127.0.0.1])
	by ganymede.hub.org (Postfix) with ESMTP id 0017448276;
	Mon, 26 Jun 2006 15:25:49 -0300 (ADT)
Date: Mon, 26 Jun 2006 15:25:49 -0300 (ADT)
From: "Marc G. Fournier" <scrappy@hub.org>
To: Kostik Belousov <kostikbel@gmail.com>
In-Reply-To: <20060626143038.GK79678@deviant.kiev.zoral.com.ua>
Message-ID: <20060626152345.M1114@ganymede.hub.org>
References: <20060624221556.O30039@woozle.rinet.ru>
	<20060624152525.D1114@ganymede.hub.org>
	<20060625164752.H52500@woozle.rinet.ru>
	<20060625105843.O1114@ganymede.hub.org>
	<20060625211510.D52500@woozle.rinet.ru>
	<20060625154247.N1114@ganymede.hub.org>
	<20060626014210.P1114@ganymede.hub.org>
	<20060626014601.E1114@ganymede.hub.org>
	<20060626045547.GI79678@deviant.kiev.zoral.com.ua>
	<20060626021616.W1114@ganymede.hub.org>
	<20060626143038.GK79678@deviant.kiev.zoral.com.ua>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: freebsd-stable@freebsd.org, Dmitry Morozovsky <marck@rinet.ru>
Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ...
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jun 2006 20:14:04 -0000


I think I might have found *at least* one of the problems, and that being 
the excessively high blocked states while ps isn't finding anything ...

MySQL

We just recently started allowing clients to run a MySQL server *within* 
their vServer ... in a drastic move, I just shut them all down on pluto, 
and blocked drop'd from ~86 down to 5 in a matter of moments ... 
restarting them all has it climbing once more, being up around 22 already 
...

I'm going to go with that theory for now, and keep an eye on things ...

Just curious as to why, even with -H, its not showing any blocked states 
within ps though ... ?

Thx


On Mon, 26 Jun 2006, Kostik Belousov wrote:

> On Mon, Jun 26, 2006 at 02:20:12AM -0300, Marc G. Fournier wrote:
>> On Mon, 26 Jun 2006, Kostik Belousov wrote:
>>
>>> Yes, this looks like a deadlock. As I understand, that's on 6.1-STABLE ?
>>
>> Yes, kernel sources, it seems, from May 25th, according to my /usr/src
>> tree ...
>>
>>> BTW, do you use snapshots ?
>>
>> Not that I've explicitly enabled ...
>>
>>> I think that without ddb access, diagnose and debug the problem would be
>>> quite hard.
>>
>> Would it be a simple matter of:
>>
>> CTL-ALT-ESC
>> panic
>>
>> to get it to dump core?  Or would more be involved?  Would a core dump
>> even work?
> Core dumps are somewhat unconvenient in this situation. Better,
> sending report to me, follow my advise in
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-deadlocks.html
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664