From owner-freebsd-questions@FreeBSD.ORG Fri May 13 17:01:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA9C4106566C for ; Fri, 13 May 2011 17:01:02 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id C32F78FC13 for ; Fri, 13 May 2011 17:01:02 +0000 (UTC) Received: (qmail 31416 invoked from network); 13 May 2011 17:01:02 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 May 2011 17:01:01 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id BC81F50822; Fri, 13 May 2011 13:00:55 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id A85FF3981F; Fri, 13 May 2011 13:00:54 -0400 (EDT) From: Lowell Gilbert To: cronfy References: Date: Fri, 13 May 2011 13:00:54 -0400 In-Reply-To: (cronfy@gmail.com's message of "Wed, 11 May 2011 18:03:13 +0400") Message-ID: <444o4yo7qx.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions Subject: Re: how to diagnose server freeze with ddb? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2011 17:01:03 -0000 cronfy writes: > I have a server that freezes under high load sometimes. It is on > FreeBSD 7.3. It does not respond neither by network nor to keyboard. > In the same time I can hit Ctrl-Alt-ESC and go to debugger - it works. > > What can I try to do in DDB to find out the reason of server freezing? There are a lot of ddb(4) commands that show the state of the system, and there isn't a lot to go on here. "show locks", "show alllocks", "show intr", "show pcpu" are some of the commands that occur to me as ones I would look at first.