Bug#404257: gnome-applets: multiload-applet-2 uses a lot of CPU
when monitoring harddisk activity of NTFS mounts
Chris Moore
dooglus at gmail.com
Fri Dec 22 21:08:14 UTC 2006
Package: gnome-applets
Version: 2.14.3-3
Severity: normal
I have turned off 'processor', 'memory', 'network', 'swap space' and
'load' graphs, leaving only 'harddisk', but 100% of one of my CPU cores
is still being used by the multiload-applet-2 process.
I have 3 partitions mounted:
/dev/sda2 on /media/sda2 type ntfs (rw,nls=utf8,umask=007,gid=46)
/dev/sda5 on /media/sda5 type ntfs (rw,nls=utf8,umask=007,gid=46)
/dev/sda8 on / type ext3 (rw,errors=remount-ro)
If I umount sda2 and sda5, leaving sda8 mounted then 0% CPU is used.
If I umount sda2, leaving sda5 and sda8 mounted then 32% CPU is used.
If I umount sda5, leaving sda2 and sda8 mounted then 84% CPU is used.
It seems there's something about having NTFS partitions mounted that
causes lots of CPU to be used.
I have the system monitor update interval set to 100ms. Increasing that
causes the CPU usage to drop.
I just noticed I have the NTFS partitions mounted readwrite. Changing
the mounted to readonly didn't change the CPU usage:
/dev/sda2 on /media/sda2 type ntfs (ro,nls=utf8,umask=007,gid=46)
Since when has it been the default to mount ntfs partitions readwrite
anyway? I don't have ntfs-3g installed. Perhaps that's part of the
standard debian unstable kernel now?
I ran an strace to see where the time was being spent and saw that
86ms are being used by a called to 'statfs' on sda2 - that ties in well
with the 84% CPU usage I was seeing with just sda2 and sda8 mounted
above:
16:14:07.467190 statfs("/media/sda2", {f_type=0x5346544e, f_bsize=4096,
f_blocks=17310037, f_bfree=12098999, f_bavail=12098999, f_files=69616,
f_ffree=20, f_fsid={-1594644699, 1587606474}, f_namelen=255,
f_frsize=4096}) = 0
16:14:07.553418 stat64("/media/sda2", {st_mode=S_IFDIR|0550,
st_size=8192, ...}) = 0
16:14:07.553610 open("/proc/mounts", O_RDONLY) = 40
Note that I'm not reading or writing anything on the NTFS partitions -
nothing at all is using them, and I can umount them at will.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages gnome-applets depends on:
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii gconf2 2.16.0-3 GNOME configuration database syste
ii gnome-applets-data 2.14.3-3 Various applets for GNOME 2 panel
ii gnome-icon-theme 2.14.2-2 GNOME Desktop icon theme
ii gnome-panel 2.14.3-4 launcher and docking facility for
ii gstreamer0.10-alsa 0.10.10-2 GStreamer plugin for ALSA
ii gstreamer0.10-plugins-good 0.10.4-3 GStreamer plugins from the "good"
ii libapm1 3.2.2-8 Library for interacting with APM d
ii libatk1.0-0 1.12.3-1 The ATK accessibility toolkit
ii libbonobo2-0 2.14.0-3 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.14.0-5 The Bonobo UI library
ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.71-3 simple interprocess messaging syst
ii libfontconfig1 2.4.2-1 generic font configuration library
ii libgconf2-4 2.16.0-3 GNOME configuration database syste
ii libglade2-0 1:2.6.0-3 library to load .glade files at ru
ii libglib2.0-0 2.12.6-1 The GLib library of C routines
ii libgnome-desktop-2 2.14.3-1 Utility library for loading .deskt
ii libgnome2-0 2.16.0-2 The GNOME 2 library - runtime file
ii libgnomeui-0 2.14.1-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.14.2-4 GNOME virtual file-system (runtime
ii libgstreamer-plugins-base0 0.10.10-2 GStreamer libraries from the "base
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.8.20-3 The GTK+ graphical user interface
ii libgtop2-7 2.14.4-2 gtop system monitoring library
ii libgucharmap4 1:1.6.0-1 Unicode browser widget library (sh
ii libhal1 0.5.8.1-4 Hardware Abstraction Layer - share
ii libnotify1 0.4.3-1 sends desktop notifications to a n
ii liborbit2 1:2.14.4-1 libraries for ORBit2 - a CORBA ORB
ii libpanel-applet2-0 2.14.3-4 library for GNOME 2 panel applets
ii libpango1.0-0 1.14.8-3 Layout and rendering of internatio
ii libwnck18 2.14.3-1 Window Navigator Construction Kit
ii libx11-6 2:1.0.3-4 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxklavier10 2.2-4 X Keyboard Extension high-level AP
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
Versions of packages gnome-applets recommends:
ii deskbar-applet 2.14.2-4.2 universal search and navigation ba
ii gnome-media 2.14.2-4 GNOME media utilities
ii gnome-netstatus-applet 2.12.0-5+b2 Network status applet for GNOME 2
ii gnome-system-monitor 2.14.5-1 Process viewer and system resource
pn imagemagick <none> (no description available)
-- debconf information:
gnome-applets/cpufreq_SUID_bit: false
More information about the pkg-gnome-maintainers
mailing list