From owner-freebsd-current@FreeBSD.ORG Tue Sep 5 10:35:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A81416A4E2 for ; Tue, 5 Sep 2006 10:35:19 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50D343D45 for ; Tue, 5 Sep 2006 10:35:17 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 12011 invoked from network); 5 Sep 2006 10:35:15 -0000 Received: from unknown (HELO localhost) (775067@[217.50.128.241]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 5 Sep 2006 10:35:15 -0000 Date: Tue, 5 Sep 2006 12:35:04 +0200 From: Fabian Keil To: freebsd-current@freebsd.org Message-ID: <20060905123504.07e0d5b2@localhost> In-Reply-To: <1157442358.2048.6.camel@localhost> References: <1157442358.2048.6.camel@localhost> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd6.1) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_x.bCUnPyCiXYAthCy_dCyLE; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: vova@fbsd.ru Subject: Re: wired top (and others) behavior - broken CPU usage reporting ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 10:35:19 -0000 --Sig_x.bCUnPyCiXYAthCy_dCyLE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Vladimir Grebenschikov wrote: > 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. > 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 Free > 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 > 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 ? Probably evolution is using libpthread. If you use libmap.conf(5) to have evolution use libthr instead, you should see its cpu usage just fine. Fabian --=20 http://www.fabiankeil.de/ --Sig_x.bCUnPyCiXYAthCy_dCyLE Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE/VLgBYqIVf93VJ0RAuPJAJ0b8VHWD71PSuLo8kinuPFkTUNMngCgzcPT b1EgumrDQOBZXU88KH4ilh4= =+2BE -----END PGP SIGNATURE----- --Sig_x.bCUnPyCiXYAthCy_dCyLE--