PID 11 using 400% CPU

Dan Nelson dnelson at allantgroup.com
Tue Jul 5 14:20:07 UTC 2011


In the last episode (Jul 05), manish jain said:
> On 30 June 2011 10:26, Dan Nelson <dnelson at 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 at allantgroup.com


More information about the freebsd-questions mailing list