Date: Tue, 5 Jul 2011 09:57:15 +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: <CAEL0NofKym1WZ-wodQEXT7Dg6gO0FNuozVz=y%2BnSruh1O5qtQQ@mail.gmail.com> In-Reply-To: <20110630045559.GD44024@dan.emsphone.com> References: <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@allantgroup.com >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEL0NofKym1WZ-wodQEXT7Dg6gO0FNuozVz=y%2BnSruh1O5qtQQ>