Date: 3 May 2002 09:33:13 -0000 From: Avleen Vig <lists-sendpr@silverwraith.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Avleen Vig <lists-sendpr@silverwraith.com> Subject: bin/37702: /usr/bin/top uses 100% cpu in 'system' Message-ID: <20020503093313.53892.qmail@mail.silverwraith.com>
next in thread | raw e-mail | index | archive | help
>Number: 37702 >Category: bin >Synopsis: /usr/bin/top uses 100% cpu in 'system' >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 03 02:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Avleen Vig >Release: FreeBSD 4.4-RELEASE i386 >Organization: Personal >Environment: System: FreeBSD apple.silverwraith.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Wed May 1 13:15:54 BST 2002 root@apple.silverwraith.com:/usr/src/sys/compile/APPLE.DEGUB i386 P166 MMX (intel), 128Mb RAM Low load: 'load averages: 0.01, 0.13, 0.14' >Description: Running 'top -s' gives the following error: top: option requires an argument -- s Top version 3.4 But running 'top -s -o size' starts top and causes it to update as fast as it can. This increases load (rate if increase depends on box specs and other running procs), while top takes up as much CPU time as it can. After 5 mins on a very load load box: load averages: 1.53, 0.85, 0.45 On a box where the initial load is: load averages: 3.16, 1.95, 1.00 After 5 minute of broken top, we get: load averages: 5.24, 3.91, 1.98 http_load also shows that requests don't always seem to complete (ok, it's not the best test) --- 60.0106 secs, 249 fetches started, 199 completed, 50 current >How-To-Repeat: Run: 'top -s -o size'. I don't recommend doing this on a heavily loaded box straight away. Try it on your desktop. You can still quit top easily with the 'q' key. >Fix: Unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020503093313.53892.qmail>