PID 11 using 400% CPU
manish jain
invalid.pointer at gmail.com
Tue Jul 5 04:27:16 UTC 2011
Hello Dan,
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) ?
ppp.conf :
default:
set log Phase Chat LCP IPCP CCP tun command
allow users bourne
# ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaU0.0
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
huawei:
set phone "#777"
set login
set authname "internet"
set authkey ""
set timeout 180
disable ipv6cp
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
accept CHAP
On 30 June 2011 10:26, Dan Nelson <dnelson at allantgroup.com> wrote:
> In the last episode (Jun 30), Manish Jain said:
> >
> > Hello All,
> > 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.
>
> > 'ps waux' always shows pid
> > 11 as taking 400% CPU utilization :
> > /root # ps -up 11
> > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
> > root 11 400.0 0.0 0 32 ?? RL 7:22PM 166:35.46 [idle]
> > I have tried multiple tweaks to resolve this - all to no effect. The
>
> As for this, what's to resolve? The idle process is a placeholder with one
> thread per CPU that accounts for time the CPU isn't doing any work. If you
> want to reduce it's "CPU use", run other CPU-intensive processes :) BTW,
> Windows has the same thing if you look at task manager; it's called "System
> Idle Process" there.
>
> --
> Dan Nelson
> dnelson at allantgroup.com
>
More information about the freebsd-questions
mailing list