xfce-extra/xfce4-xkb-plugin-0.5.3.3-r9 tends to 'accumulate' the memory usage. It uses about 20Mb of resident memory just after start, but after some hours of work it grows up to 300Mb, for example. Maybe, it does not erase the information about keyboard layouts in already closed windows? Reproducible: Always Steps to Reproduce:
Please paste your `emerge --info' output in a comment.
Portage 2.1.9.31 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-Mobile_AMD_Sempron-tm-_Processor_3800+-with-gentoo-2.0.1 Timestamp of tree: Tue, 18 Jan 2011 00:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r1::sage-on-gentoo, 3.1.3 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86" ACCEPT_LICENSE="* -@EULA PUEL skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/home/Install/GNU-Linux/distfiles/" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS=" http://gentoo.kiev.ua/ftp/ ftp://gentoo.kiev.ua/" LANG="uk_UA.UTF-8" LC_ALL="uk_UA.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j3" PKGDIR="/home/Install/GNU-Linux/binpkg/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sage-on-gentoo /usr/local/overlays" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit 7zip X a52 aac aalib acpi alsa amd64 amrnb amrwb apm arts ass atm audiofile bash-completion bcmath bzip2 cairo calendar cdb cddb cdr cgi clamav cli cracklib crypt ctype curl curlwrappers cxx dbm dbus dbx dga djvu dri dssi dts dvd dvdr dvdread encode evo exif expat faac faad fastcgi fbcon fbcondecor festival ffmpeg fftw firefox flac flatfile freetds ftp fuse gd gdbm geoip gif gimp ginac git glut gmp gnuplot gnustep gnutls gsl hal hddtemp htmlhandbook icc iconv icq idn imlib inifile innodb irc jabber jack javascript jbig jikes jpeg krb4 lame laptop lash latex ldap leim libcaca libnotify libsamplerate libwww lm_sensors lua lzo mad maildir matroska matrox mcal mhash mikmod milter mime mmap mmx mmxext mng modplug modules motiff mozilla mp3 mpeg mplayer msn mudflap mule multilib musepack musicbrainz mysql mysqli nas ncurses nforce2 nls nptl nptlonly nsplugin nvidia ogg openal opencore-amr opengl openmp osc pam pcntl pdf plotutils pmu png posix pppd prelude profile python qt3support qt4 quicktime radius readline recode rss rtc samba sasl sdl session sharedmem shorten simplexml skins slang slp sndfile snmp soap sockets socks5 sox speex spell sqlite sqlite3 sse sse2 ssl startup-notification svg symlink sysfs syslog systray sysvipc szip taglib tcl tcpd tetex theora threads tidy tiff timidity truetype unicode usb vcd vhosts vorbis wavpack wddx webkit x264 xattr xcb xcomposite xface xine xinerama xml xml-rpc xorg xosd xpm xsl xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I confirm it. Same situation at my machine. emerge --info output: sudo emerge --info Portage 2.1.9.31 (default/linux/x86/10.0/desktop, gcc-4.3.3, glibc-2.11-r1, 2.6.36-tuxonice-r4 i686) ================================================================= System uname: Linux-2.6.36-tuxonice-r4-i686-Intel-R-_Celeron-R-_CPU_2.66GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 18 Jan 2011 21:15:01 +0000 ccache version 3.1.4 [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 1.3.7, 2.1.11-r3 dev-lang/python: 2.6.6-r1, 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6::<unknown repository>, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc: 4.2.2, 4.3.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.81-r1 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Q3AEULA skype-eula Adobe AdobeFlash-10.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles ftp://local.weirdwire.ru/distr/mirror/gentoo" LC_ALL="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/layman/games /usr/local/portage/layman/arcon /usr/local/portage/layman/sunrise /usr/local/portage/layman/zugaina /usr/local/portage/layman/rion /usr/local/portage" SYNC="rsync://mirror.yandex.ru/gentoo-portage/" USE="3dnow 3dnowext 7zip X a52 aac acl acpi adplug alsa audio audiofile bash-completion berkdb bluetooth branding bzip2 cairo ccache cdaudio cdda cddb cdio cdr cdrom chardet chm chroot cjk cleartype cli clock consolekit cracklib crypt cue cups curl cxx cyrillic dbus device-mapper dht divx djvu dri dts dvd dvdnav dvdr emboss encode exif expat extras faac faad fam fat ffmpeg firefox firefox3 flac fortran fuse gallium gdbm gdu gecko gif glib gnutls gpg gpm gtk gtk2 gtkhtml hibernate-script iconv icq id3 idn imap jabber jpeg jpeg2k key-screen keyboard lame lcms libkms libnotify linuxkeys livejournal lj mac mad matroska menu-plugin mikmod mmx mmxext mng modplug modules mouse moznopango mp2 mp3 mp4 mpd mpeg mpeg2 mplayer mpu401 mudflap musepack ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 rar rdesktop readline rpm sdl session shm slang spell srt sse sse2 ssl startup-notification subtitles svg sysfs tcpd test-programs theora threads tiff trash-plugin truetype udev udev-acl unicode usb vorbis wav wavpack wma wmf wmp x264 x86 xcb xfce xft xhtml xml xorg xosd xscreensaver xulrunner xv xvid yandexnarod zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Try xfce4-xkb-plugin-0.5.3.3-r1, if it's a problem with the libxfce4ui patch. Then see this link (third hit on google ...): http://wiki.xfce.org/howto/panel_plugin_debug And take it to upstream bugzilla instead (but add link to that one in URL here please): http://bugzilla.xfce.org Thanks
*** Bug 352159 has been marked as a duplicate of this bug. ***
Seeing this too, 2.2 GB virtual memory size: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ulm 5224 0.0 34.9 2249984 1367056 ? S Jan21 2:06 /usr/libexec/xfce4/panel-plugins/xfce4-xkb-plugin 15 18874407 xkb-plugin Keyboard Layouts Keyboard layouts setup and switch plugin
Can someone try -r1 already? Been waiting for ~10 days already for results. We can simply punt -r9 from tree if it's causing problems...
-r1 have the same problem either
I don't think that it is a very good idea to remove this package from Portage because there are no alternatives in XFCE for it, and there is still hope that this plugin will get updated by someone. It is still present in the official list of XFCE plugins, unlike the notorious Mousepad application which had been removed from XFCE project completely but nevertheless it is still present in Portage hardmasked. Maybe just hardmasking xfce4-xkb-plugin would work for now?
Upstream bug http://bugzilla.xfce.org/show_bug.cgi?id=7363 (actually, upstream is me :)).
So we're going to wait for 0.5.4 before removal? The segfault from bug 354953 seems to have vanished too.
Just a short note of how to get things (=multilingual kb) working in the meantime: Add the following to Settings/Session and Startup/Application Autostart: > setxkbmap us,cz -option "grp:alt_shift_toggle" (or grp:ctrls_toggle, grp:alts_toggle, grp:ctrl_shift_toggle, grp:lwin_toggle, grp:rwin_toggle, grp:sclk_toggle, grp:lalt_toggle) (In reply to comment #0) > xfce-extra/xfce4-xkb-plugin-0.5.3.3-r9 tends to 'accumulate' the memory usage. > It uses about 20Mb of resident memory just after start, but after some hours of > work it grows up to 300Mb, for example. > Maybe, it does not erase the information about keyboard layouts in already > closed windows? > > Reproducible: Always > > Steps to Reproduce: >
(In reply to comment #11) > So we're going to wait for 0.5.4 before removal? > The segfault from bug 354953 seems to have vanished too. Unmasked and... Snapshot from git ( 0.5.3.3_p20110308 ) in Portage and will wait for 0.5.4 to see if things improve.
A lot of leaks have been fixed already per http://git.xfce.org/panel-plugins/xfce4-xkb-plugin/ Added a snapshot of 20110501 from today to tree Please try that And file new bug if it's still leaking memory with meaningful valgrind data: http://wiki.xfce.org/howto/panel_plugin_debug#debug_with_valgrind_full_example