Bug#224371: marked as done (gnome-applets: System monitor: Memory constantly at 100%)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 27 Jan 2004 16:48:06 -0800


Your message dated Tue, 27 Jan 2004 19:32:03 -0500
with message-id <E1Aldch-0004O5-00@newraff.debian.org>
and subject line Bug#224371: fixed in libgtop2 2.0.8-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Dec 2003 13:40:06 +0000
>From crispin@zeus.com Thu Dec 18 07:40:03 2003
Return-path: <crispin@zeus.com>
Received: from (femailgate.zeus.co.uk) [62.254.209.71] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AWyN5-0007nD-00; Thu, 18 Dec 2003 07:39:19 -0600
Received: from donner.zeus.co.uk ([62.254.209.80] helo=cam-gw.zeus.co.uk)
	by femailgate.zeus.co.uk with esmtp (Exim 4.22)
	id 1AWyN4-0008FR-1b; Thu, 18 Dec 2003 13:39:18 +0000
Received: from styx.cam.zeus.com ([10.100.1.79])
	by cam-gw.zeus.co.uk with esmtp (Exim 3.35 #1 (Debian))
	id 1AWyMx-0001JQ-00; Thu, 18 Dec 2003 13:39:11 +0000
Received: from crispin by styx.cam.zeus.com with local (Exim 3.36 #1 (Debian))
	id 1AWyMw-0002YQ-00; Thu, 18 Dec 2003 13:39:11 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Crispin Flowerday <debian@flowerday.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnome-applets: System monitor: Memory constantly at 100%
X-Mailer: reportbug 2.37
Date: Thu, 18 Dec 2003 13:39:10 +0000
Message-Id: <E1AWyMw-0002YQ-00@styx.cam.zeus.com>
Sender: Crispin Flowerday <crispin@styx.cam.zeus.com>
X-Scanner: exiscan *1AWyMx-0001JQ-00*icDIHT4mO/E* (Zeus Technology Ltd)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Package: gnome-applets
Version: 2.4.0-3
Severity: important
Tags: patch

The multiload applet is permanently fixed at 100% memory usage (causing that applet
to be pretty much useless). I believe that this is due to the 2.6 kernel being used.

The patch (taken from http://bugzilla.gnome.org/show_bug.cgi?id=126461) fixes
the problem for me:

--- linux-proc.c        2003-12-18 13:34:39.000000000 +0000
+++ linux-proc.c.orig   2003-12-18 13:31:57.000000000 +0000
@@ -140,7 +140,7 @@

     tmp_user = mem.used - mem.buffer - mem.shared - mem.cached;

-    user    = rint (Maximum * (float)mem.user / mem.total);
+    user    = rint (Maximum * (float)tmp_user / mem.total);
     shared  = rint (Maximum * (float)mem.shared / mem.total);
     buffer  = rint (Maximum * (float)mem.buffer / mem.total);
     cached = rint (Maximum * (float)mem.cached / mem.total);

Although I haven't tested it with a 2.4 kernel.

Crispin

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux styx 2.6.0 #1 Thu Dec 18 10:09:53 GMT 2003 i686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

Versions of packages gnome-applets depends on:
ii  gnome-panel                2.4.1-4       Launch and/or dock GNOME 2 applica
ii  libapm1                    3.2.0-8       Library for interacting with APM d
ii  libart-2.0-2               2.3.16-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.4.1-1       The ATK accessibility toolkit
ii  libaudiofile0              0.2.3-4       The Audiofile Library
ii  libbonobo2-0               2.4.2-1       Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.4.0-4       The Bonobo UI library
ii  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
ii  libesd0                    0.2.29-1      Enlightened Sound Daemon - Shared 
ii  libgail-common             1.4.1-1       GNOME Accessibility Implementation
ii  libgail17                  1.4.1-1       GNOME Accessibility Implementation
ii  libgconf2-4                2.4.0.1-2     GNOME configuration database syste
ii  libgcrypt1                 1.1.12-4      LGPL Crypto library - runtime libr
ii  libglade2-0                2.0.1-6       Library to load .glade files at ru
ii  libglib2.0-0               2.2.3-1       The GLib library of C routines
ii  libgnome2-0                2.4.0-4       The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.4.0-1       A powerful object-oriented display
ii  libgnomeui-0               2.4.0.1-5     The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             2.4.1-4       The GNOME virtual file-system libr
ii  libgnomevfs2-common        2.4.1-4       The GNOME virtual file-system libr
ii  libgnutls7                 0.8.12-3      GNU TLS library - runtime library
ii  libgtk2.0-0                2.2.4-2       The GTK+ graphical user interface 
ii  libgtop2                   2.0.5-4       Libraries for gtop system monitori
ii  libjpeg62                  6b-9          The Independent JPEG Group's JPEG 
ii  liborbit2                  1:2.8.3-1     Libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0         2.4.1-4       Library for GNOME 2 Panel applets
ii  libpango1.0-0              1.2.5-2.1     Layout and rendering of internatio
ii  libpopt0                   1.7-4         lib for parsing cmdline parameters
ii  libtasn1-0                 0.1.2-1       Manage ASN.1 structures (runtime)
ii  libxml2                    2.6.3-1       GNOME XML library
ii  scrollkeeper               0.3.14-2      A free electronic cataloging syste
ii  xlibs                      4.3.0-0pre1v4 X Window System client libraries
ii  zlib1g                     1:1.2.1-2     compression library - runtime

-- no debconf information


---------------------------------------
Received: (at 224371-close) by bugs.debian.org; 28 Jan 2004 00:34:20 +0000
>From katie@ftp-master.debian.org Tue Jan 27 16:34:20 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Aldeu-0001St-00; Tue, 27 Jan 2004 16:34:20 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Aldch-0004O5-00; Tue, 27 Jan 2004 19:32:03 -0500
From: Sebastien Bacher <seb128@debian.org>
To: 224371-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#224371: fixed in libgtop2 2.0.8-5
Message-Id: <E1Aldch-0004O5-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 27 Jan 2004 19:32:03 -0500
Delivered-To: 224371-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-1.4 required=4.0 tests=FROM_ENDS_IN_NUMS,
	HAS_BUG_NUMBER,MAILTO_TO_SPAM_ADDR autolearn=no 
	version=2.60-bugs.debian.org_2004_01_25
X-Spam-Level: 

Source: libgtop2
Source-Version: 2.0.8-5

We believe that the bug you reported is fixed in the latest version of
libgtop2, which is due to be installed in the Debian FTP archive:

libgtop2-daemon_2.0.8-5_i386.deb
  to pool/main/libg/libgtop2/libgtop2-daemon_2.0.8-5_i386.deb
libgtop2-dev_2.0.8-5_i386.deb
  to pool/main/libg/libgtop2/libgtop2-dev_2.0.8-5_i386.deb
libgtop2_2.0.8-5.diff.gz
  to pool/main/libg/libgtop2/libgtop2_2.0.8-5.diff.gz
libgtop2_2.0.8-5.dsc
  to pool/main/libg/libgtop2/libgtop2_2.0.8-5.dsc
libgtop2_2.0.8-5_i386.deb
  to pool/main/libg/libgtop2/libgtop2_2.0.8-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 224371@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastien Bacher <seb128@debian.org> (supplier of updated libgtop2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 28 Jan 2004 00:39:38 +0100
Source: libgtop2
Binary: libgtop2-daemon libgtop2-dev libgtop2
Architecture: source i386
Version: 2.0.8-5
Distribution: unstable
Urgency: low
Maintainer: Sebastien Bacher <seb128@debian.org>
Changed-By: Sebastien Bacher <seb128@debian.org>
Description: 
 libgtop2   - Libraries for gtop system monitoring library (part of Gnome 2)
 libgtop2-daemon - gtop daemon for monitoring remote machines (part of Gnome 2)
 libgtop2-dev - Dev libraries for gtop system monitoring library (part of Gnome 2
Closes: 224371
Changes: 
 libgtop2 (2.0.8-5) unstable; urgency=low
 .
   * debian/patches/04_mem_values2.dpatch:
     + should really fix memory values (Closes: #224371).
Files: 
 b3a9d637edcc237bfde1cf1372fdba16 1290 libs optional libgtop2_2.0.8-5.dsc
 a67c9158ef436ce24a2f3a6ff36e1daa 16010 libs optional libgtop2_2.0.8-5.diff.gz
 a0377c4003aa1c240631eaa799760d59 343946 libs optional libgtop2_2.0.8-5_i386.deb
 36dffb6072aea32a36ed003bc59bfd13 58822 libdevel optional libgtop2-dev_2.0.8-5_i386.deb
 d7612ea17c1ac44d0905c9e1b1d0a096 12190 utils optional libgtop2-daemon_2.0.8-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAFv9XQxo87aLX0pIRAhOBAJ9ApmKPsbnbeIJnZz448ueE+MhYbQCfSQOm
V2qYFsrjotrhePKNWwGQskU=
=/S/6
-----END PGP SIGNATURE-----