From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 05:33:37 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 5C8211065670 for ; Wed, 6 Jul 2011 05:33:37 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 31BF58FC08 for ; Wed, 6 Jul 2011 05:33:37 +0000 (UTC) Received: by pvg11 with SMTP id 11so8169381pvg.13 for ; Tue, 05 Jul 2011 22:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=uq4+ojfVQFmXgWVZwSoZ0AxXPuyUfUrlUE3Go1khsQ4=; b=OIGN+ArFxXwdT1cvoOZ1ktLDR1LgVh9iguvgOA8h3NyBNoC8xoBae4JWdJpfuxYyo0 d1v99iF/oqyLm3wtvmruRuOiEqQSDQyNF5uqAn9E2ohFAhs1TbKONokD7BoW144nfCnl qmX1dwPEOlt1mve0HE+XrYB2WRmD/QV9d2Si8= Received: by 10.68.51.162 with SMTP id l2mr5722671pbo.100.1309930416644; Tue, 05 Jul 2011 22:33:36 -0700 (PDT) Received: from [127.0.0.1] ([14.99.22.76]) by mx.google.com with ESMTPS id p7sm2949497pbn.33.2011.07.05.22.33.32 (version=SSLv3 cipher=OTHER); Tue, 05 Jul 2011 22:33:34 -0700 (PDT) Message-ID: <4E13F3CE.8000703@gmail.com> Date: Wed, 06 Jul 2011 11:04:06 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: Dan Nelson References: <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> <20110705142004.GB6611@dan.emsphone.com> In-Reply-To: <20110705142004.GB6611@dan.emsphone.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Wed, 06 Jul 2011 05:33:37 -0000 Hello Dan, I was having multiple problems with my x86 installation, apart from the disc spinning continuously. Despite tuning many sysctl parameters, X clients would not open for non-root users ("max number of clients reached"); for root, they would open, but after about 30 minutes of playing xboard (gnuchess), the computer would simply shut down (without even a proper shut down sequence; worse that DOS BSOD - power off in a flash); while up, the speed and performance of the system was abysmal. I therefore yesterday downloaded the iso for amd64, which is the architecture of my system. I am going to install it and try it out over the weekend. Hope things will be better this time around. Thanks for all your suggestions and advice though. Regards Manish Jain [1]invalid.pointer@gmail.com On 05-Jul-11 19:50, Dan Nelson wrote: In the last episode (Jul 05), manish jain said: On 30 June 2011 10:26, Dan Nelson [2] 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. References 1. mailto:invalid.pointer@gmail.com 2. mailto:dnelson@allantgroup.com