From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 28 18:10:06 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24681065672 for ; Fri, 28 Aug 2009 18:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB85B8FC17 for ; Fri, 28 Aug 2009 18:10:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7SIA65f066949 for ; Fri, 28 Aug 2009 18:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7SIA6Oq066948; Fri, 28 Aug 2009 18:10:06 GMT (envelope-from gnats) Date: Fri, 28 Aug 2009 18:10:06 GMT Message-Id: <200908281810.n7SIA6Oq066948@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Chris St Denis Cc: Subject: Re: bin/130343: top(1): kvm_open: cannot open /proc/42997/mem corrupts screen output X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris St Denis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 18:10:06 -0000 The following reply was made to PR bin/130343; it has been noted by GNATS. From: Chris St Denis To: bug-followup@FreeBSD.org, v.haisman@sh.cvut.cz Cc: Subject: Re: bin/130343: top(1): kvm_open: cannot open /proc/42997/mem corrupts screen output Date: Fri, 28 Aug 2009 10:47:15 -0700 This is a multi-part message in MIME format. --------------020908090400030508080005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am also experiencing this bug in 7.2 carbon# uname -a FreeBSD carbon.smartt.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #9: Tue Jul 7 15:14:46 PDT 2009 cstdenis@carbon.smartt.com:/usr/obj/usr/src/sys/CARBON i386 Top header for other misc system status/info: last pid: 99255; load averages: 0.28, 0.44, 0.41 up 48+09:22:01 10:44:21 243 processes: 1 running, 242 sleeping CPU: 0.5% user, 0.0% nice, 0.6% system, 0.1% interrupt, 98.7% idle Mem: 366M Active, 2235M Inact, 261M Wired, 125M Cache, 112M Buf, 21M Free Swap: 512M Total, 297M Used, 214M Free, 58% Inuse I setup top to run every minute from crontab to diagnose an unrelated problem. carbon# crontab -l * * * * * top -a -I -j -t -n -osize >> /var/log/top.log ; echo '-----------------------------------------------------------------------------------------------------------------------------' >> /var/log/top.log and I'm getting emails containing "kvm_open: cannot open /proc//mem". The error is not generated every run. It runs every minute, and the last 3 errors I have are 10:18, 10:27, 10:32 (current time, 10:47) -- Chris St Denis Programmer SmarttNet (www.smartt.com) Ph: 604-473-9700 Ext. 200 ------------------------------------------- "Smart Internet Solutions For Businesses" --------------020908090400030508080005 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I am also experiencing this bug in 7.2
carbon# uname -a
FreeBSD carbon.smartt.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #9: Tue Jul  7 15:14:46 PDT 2009     cstdenis@carbon.smartt.com:/usr/obj/usr/src/sys/CARBON  i386
Top header for other misc system status/info:
last pid: 99255;  load averages:  0.28,  0.44, 0.41                  up 48+09:22:01  10:44:21
243 processes: 1 running, 242 sleeping
CPU:  0.5% user,  0.0% nice,  0.6% system,  0.1% interrupt, 98.7% idle
Mem: 366M Active, 2235M Inact, 261M Wired, 125M Cache, 112M Buf, 21M Free
Swap: 512M Total, 297M Used, 214M Free, 58% Inuse

I setup top to run every minute from crontab to diagnose an unrelated problem.
carbon# crontab -l
<snip>
*    * * * *   top -a -I -j -t -n -osize >> /var/log/top.log ; echo '-----------------------------------------------------------------------------------------------------------------------------' >> /var/log/top.log
and I'm getting emails containing "kvm_open: cannot open /proc/<number>/mem".

The error is not generated every run. It runs every minute, and the last 3 errors I have are 10:18, 10:27, 10:32 (current time, 10:47)
-- 
 Chris St Denis
 Programmer
 SmarttNet (www.smartt.com)
 Ph: 604-473-9700 Ext. 200
 -------------------------------------------
 "Smart Internet Solutions For Businesses" 
--------------020908090400030508080005--