From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 14:20:07 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 41E9C106564A for ; Tue, 5 Jul 2011 14:20:07 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 0144B8FC16 for ; Tue, 5 Jul 2011 14:20:06 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p65EK5C0021845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Jul 2011 09:20:06 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p65EK5u3074271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Jul 2011 09:20:05 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p65EK54i074264; Tue, 5 Jul 2011 09:20:05 -0500 (CDT) (envelope-from dan) Date: Tue, 5 Jul 2011 09:20:05 -0500 From: Dan Nelson To: manish jain Message-ID: <20110705142004.GB6611@dan.emsphone.com> References: <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Tue, 05 Jul 2011 09:20:06 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: PID 11 using 400% CPU 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: Tue, 05 Jul 2011 14:20:07 -0000 In the last episode (Jul 05), manish jain said: > On 30 June 2011 10:26, Dan Nelson wrote: > > In the last episode (Jun 30), Manish Jain said: > > > > > > I have a strange problem with my 8.1 box. After booting, the hard > > > disk goes into a full-speed never-ending spin. > > > > To see what disk I/O is being done, try running "ktrace -dip 0 ; sleep > > 10 ; ktrace -C", to capture all syscalls done on the entire system (pid > > 0 plus children) for 10 seconds, then run "kdump -m64 | less" to view > > the results. Look for read or write calls. > > It looks like ppp is doing a lot of read and write operations, which keeps > the disk spinning. How do I set this right ? Is there something wrong > with my ppp.conf (see below) ? I bet that if you ran fstat or lsof on the ppp process, all the writes are actually to your serial device or a tun device, not to disk. ppp is unlikely to cause much disk I/O. You'll have to filter out the ppp process and check your kdump output again. -- Dan Nelson dnelson@allantgroup.com