Date: Tue, 05 Sep 2006 15:04:06 +0400 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Fabian Keil <freebsd-listen@fabiankeil.de> Cc: freebsd-current@freebsd.org Subject: Re: wired top (and others) behavior - broken CPU usage reporting ? Message-ID: <1157454246.2048.53.camel@localhost> In-Reply-To: <20060905123504.07e0d5b2@localhost> References: <1157442358.2048.6.camel@localhost> <20060905123504.07e0d5b2@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D7=D4, 05/09/2006 =D7 12:35 +0200, Fabian Keil =D0=C9=DB=C5=D4: > Vladimir Grebenschikov <vova@fbsd.ru> wrote: >=20 > > I have notice that it is no more possible to find what process is eats > > all CPU time with top, vmstat and tools like that. This happens with > > current some (big) time ago. >=20 > > 99.5% CPU used in user space. > >=20 > > now top output (sorted by CPU): > > last pid: 2024; load averages: 1.03, 0.65, 0.40 up 0+01:28:34 > > 11:38:50 > > 120 processes: 4 running, 116 sleeping > > CPU states: 95.7% user, 0.0% nice, 3.5% system, 0.8% interrupt, 0.0= % > > idle > > Mem: 589M Active, 209M Inact, 146M Wired, 512K Cache, 111M Buf, 46M Fre= e > > Swap: 1200M Total, 1200M Free > >=20 > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU > > COMMAND > > 927 root 1 97 0 52084K 28172K select 1:02 2.98% Xorg > > 1128 vova 1 96 0 21172K 13676K select 0:10 0.98% > > metacity > > 1252 vova 1 96 0 38024K 29884K select 1:56 0.63% > > skype_bin > > 1386 vova 11 126 0 516M 470M RUN 3:42 0.00% > > evolution-2.6 >=20 > > No any idea who eats these 95.5% of CPU time.=20 > > Same picture on vmstat's pigs screen. > >=20 > > I know that this process is actually evolution, and if I kill it system > > load drops, but why it is not shown by top (and other). > >=20 > > Any hints about it ? >=20 > Probably evolution is using libpthread.=20 Yes % ldd /usr/X11R6/bin/evolution | fgrep thr libgthread-2.0.so.0 =3D> /usr/local/lib/libgthread-2.0.so.0 (0x28b18000) libpthread.so.2 =3D> /lib/libpthread.so.2 (0x2945f000) % > If you use libmap.conf(5) to have > evolution use libthr instead, you should see its cpu usage just fine. It looks like workaround. What about solution for that problem ? > Fabian --=20 Vladimir B. Grebenschikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1157454246.2048.53.camel>