Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2011 09:20:05 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        manish jain <invalid.pointer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PID 11 using 400% CPU
Message-ID:  <20110705142004.GB6611@dan.emsphone.com>
In-Reply-To: <CAEL0NofKym1WZ-wodQEXT7Dg6gO0FNuozVz=y%2BnSruh1O5qtQQ@mail.gmail.com>
References:  <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> <CAEL0NofKym1WZ-wodQEXT7Dg6gO0FNuozVz=y%2BnSruh1O5qtQQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 05), manish jain said:
> On 30 June 2011 10:26, Dan Nelson <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.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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