Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jul 2011 11:04:06 +0530
From:      Manish Jain <invalid.pointer@gmail.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PID 11 using 400% CPU
Message-ID:  <4E13F3CE.8000703@gmail.com>
In-Reply-To: <20110705142004.GB6611@dan.emsphone.com>
References:  <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> <CAEL0NofKym1WZ-wodQEXT7Dg6gO0FNuozVz=y%2BnSruh1O5qtQQ@mail.gmail.com> <20110705142004.GB6611@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help

   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]<dnelson@allantgroup.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E13F3CE.8000703>