When using Amarok, clicking "Edit Track Information", and then "Fill in tags with MusicBrainz" leaves me with 4-6 more amarokapp processes that aren't removed after the success or failure of Musicbrainz to get the tags. (The result of the tag update doesn't have any relevance to this). Eventually, the machine bogs down, and becomes unusable. Relevant USE settings? [ebuild R ] media-libs/tunepimp-0.3.0-r1 USE="flac mp3 perl readline vorbis -minimal -python" 0 kB [ebuild R ] media-sound/amarok-1.3.8 USE="flac kde mp3 musicbrainz noamazon opengl postgres vorbis xine xmms -arts -debug -gstreamer -mysql -visualization -xinerama" LINGUAS="en_GB -az -be -bg -br -ca -cs -cy -da -de -el -eo -es -et -fi -fr -ga -gl -he -hi -hr -hu -id -is -it -ja -ko -ku -lo -lt -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -se -sl -sq -sr -sr@Latn -ss -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW" 0 kB [ebuild R ] media-libs/xine-lib-1.1.2_pre20060328-r9 USE="a52 aac alsa asf directfb dvd ffmpeg flac ipv6 mad opengl samba sdl theora v4l vorbis xv xvmc -X -aalib -arts -debug -dts -dxr3 -esd -fbcon -gnome -imagemagick -libcaca -mng -modplug -oss -speex -vcd -xinerama" VIDEO_CARDS="-i810 -nvidia -via" 0 kB Portage 2.1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.16.20-vs2.1.1-rc22IPv6 x86_64) ================================================================= System uname: 2.6.16.20-vs2.1.1-rc22IPv6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/gcc-config: 1.3.12-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://gentoo.osuosl.org http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 acl aim alsa apache2 aper avi berkdb bzip2 bzlib cdparanoia crypt dga directfb divx4linux dlloader dv dvd dvdr dvdread encode faac faad ffmpeg fla flash gd-external gdbm gif gmp gphoto2 gtk2 hardened ieee1394 imlib ipv6 jabber jack java jpeg kde linguas_en_GB live lm_sensors lzo mad maildir matroska mozsvg mp3 mpeg mpeg4 mplayer msn network nls nodrm nsplugin ntlm ogg oggvorbis opengl oscar pcre perl php png postgres quotas readline rrdtool rtc samba sdl session sftplogging ssl svg tga theora tiff truetype truetype-fonts underscores v4l v4l2 voodoo3 vorbis xanim xfs xml2 xmms xv xvid xvmc yahoo yv12 zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
which version?
They're listed just under "Relevant USE settings" media-sound/amarok-1.3.8 media-libs/tunepimp-0.3.0-r1 media-libs/xine-lib-1.1.2_pre20060328-r9 with the USE flags I used to build them with.
Before running Amarok: calum@torro ~ $ ps auxw | grep amarok calum 22727 0.0 0.0 2688 536 pts/0 R+ 21:28 0:00 grep amarok calum@torro ~ $ Amarok playing a track: calum@torro ~ $ ps auxw | grep amarok calum 22730 5.9 5.3 254400 55244 ? S 21:29 0:02 amarokapp postgres 22731 0.3 0.8 125196 8260 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22732 0.2 0.8 125184 8456 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22733 0.2 0.7 125088 8188 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22734 0.1 0.7 125220 8188 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22735 0.2 0.8 125176 8480 ? S 21:29 0:00 postgres: amarok amarok [local] idle calum 22736 0.0 5.3 254400 55244 ? S 21:29 0:00 amarokapp calum 22738 0.0 5.3 254400 55244 ? S 21:29 0:00 amarokapp calum 22739 0.0 5.3 254400 55244 ? S 21:29 0:00 amarokapp calum 22740 0.0 5.3 254400 55244 ? S 21:29 0:00 amarokapp calum 22741 0.1 5.3 254400 55244 ? S 21:29 0:00 amarokapp calum 22742 0.0 5.3 254400 55244 ? S 21:29 0:00 amarokapp calum 22743 0.0 0.9 81204 9500 ? S 21:29 0:00 kio_file [kdeinit] file /tmp/ksocket-calum/klauncherhTaMIa.slave-socket /tmp/ksocket-calum/amarokJMG30a.slave-socket calum 22744 0.0 0.9 80996 9260 ? S 21:29 0:00 kio_file [kdeinit] file /tmp/ksocket-calum/klauncherhTaMIa.slave-socket /tmp/ksocket-calum/amarokUWtTqb.slave-socket calum 22745 0.0 0.8 76556 8700 ? S 21:29 0:00 kio_file [kdeinit] file /tmp/ksocket-calum/klauncherhTaMIa.slave-socket /tmp/ksocket-calum/amarokqpSl3a.slave-socket calum 22772 0.0 5.3 254400 55244 ? S 21:30 0:00 amarokapp calum 22893 0.0 0.0 2692 532 pts/0 R+ 21:30 0:00 grep amarok calum@torro ~ $ After doing a lookup (which I clicked Cancel to after about 20 seconds: calum@torro ~ $ ps auxw | grep amarok calum 22730 3.2 5.7 299600 59384 ? R 21:29 0:04 amarokapp postgres 22731 0.1 0.8 125196 8324 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22732 0.2 1.1 125184 11384 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22733 0.1 1.0 125088 10684 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22734 0.1 0.8 125220 8328 ? S 21:29 0:00 postgres: amarok amarok [local] idle postgres 22735 0.1 0.8 125176 8552 ? S 21:29 0:00 postgres: amarok amarok [local] idle calum 22736 0.0 5.7 299600 59384 ? S 21:29 0:00 amarokapp calum 22738 0.0 5.7 299600 59384 ? S 21:29 0:00 amarokapp calum 22739 0.0 5.7 299600 59384 ? S 21:29 0:00 amarokapp calum 22740 0.1 5.7 299600 59384 ? S 21:29 0:00 amarokapp calum 22741 0.9 5.7 299600 59384 ? S 21:29 0:01 amarokapp calum 22742 0.0 5.7 299600 59384 ? S 21:29 0:00 amarokapp calum 22743 0.0 0.9 81204 9500 ? S 21:29 0:00 kio_file [kdeinit] file /tmp/ksocket-calum/klauncherhTaMIa.slave-socket /tmp/ksocket-calum/amarokJMG30a.slave-socket calum 22744 0.0 0.9 80996 9260 ? S 21:29 0:00 kio_file [kdeinit] file /tmp/ksocket-calum/klauncherhTaMIa.slave-socket /tmp/ksocket-calum/amarokUWtTqb.slave-socket calum 22745 0.0 0.8 76556 8700 ? S 21:29 0:00 kio_file [kdeinit] file /tmp/ksocket-calum/klauncherhTaMIa.slave-socket /tmp/ksocket-calum/amarokqpSl3a.slave-socket calum 22772 0.0 5.7 299600 59384 ? S 21:30 0:00 amarokapp calum 23062 1.1 5.7 299600 59384 ? S 21:30 0:00 amarokapp calum 23063 0.0 5.7 299600 59384 ? S 21:30 0:00 amarokapp calum 23064 0.0 5.7 299600 59384 ? S 21:30 0:00 amarokapp calum 23065 0.0 5.7 299600 59384 ? S 21:30 0:00 amarokapp calum 23066 0.0 5.7 299600 59384 ? S 21:30 0:00 amarokapp calum 23070 0.0 0.0 2692 532 pts/0 R+ 21:31 0:00 grep amarok calum@torro ~ $ However, just trying a few more lookups, and the stray processes aren't appearing. Perhaps it only happens when the lookup is cancelled (due to it never finishing)? I'll try a load more lookups tonight, and post here with more info.
Current top output PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22201 calum 25 0 1817m 752m 11m R 93.3 75.0 10:56.67 amarokapp Which is strange, as it's an AMD64 with 1GB ram. There's definitely some sort of leak, or problem somewhere.
Also, just choosing File, Quit from the menu has left these processes running (after about 5 minutes): calum@torro ~ $ ps auxw | grep amarok calum 21872 2.7 81.3 2377008 836012 ? S 20:22 0:59 amarokapp postgres 21873 0.1 0.0 125344 380 ? S 20:22 0:03 postgres: amarok amarok [local] idle postgres 21874 0.1 0.0 126456 376 ? S 20:22 0:03 postgres: amarok amarok [local] idle postgres 21875 0.1 0.0 125452 380 ? S 20:22 0:03 postgres: amarok amarok [local] idle postgres 21876 0.1 0.0 125568 384 ? S 20:22 0:03 postgres: amarok amarok [local] idle postgres 21877 0.1 0.0 125656 376 ? S 20:22 0:03 postgres: amarok amarok [local] idle calum 21878 0.0 81.3 2377008 836012 ? S 20:22 0:00 amarokapp calum 22201 47.4 81.3 2377008 836012 ? R 20:28 14:14 amarokapp calum 22202 0.0 81.3 2377008 836012 ? S 20:28 0:00 amarokapp calum 24294 0.0 0.0 2692 584 pts/1 S+ 20:58 0:00 grep amarok calum@torro ~ $
Wow. I didn't do anything after shutting down the GUI of Amarok. My machine got slower, and slower, and slower, until it was unusable, with the harddrive grinding away. Eventually, it "recovered", and all amarok processes were gone but I find the attached in the syslog: Looks like it was leaking memory somewhere, and eventually, my OOM caught it, and said "Enough is enough".
Created attachment 90470 [details] Snippet from syslog after machine ground to a halt
Can you try 1.4.0 version with all the configuration wiped out? It might be a bug in 1.3.x series but upstream does not cover us anymore, so if it's fixed in 1.4.x I'll ask for a stable on that.
Sure, will try that. (The latest in portage for ~amd64 is media-sound/amarok-1.4.0a-r1 ) I'll give that a whirl, but it won't be until after the weekend, as I'm going away.
Updated, not had any problems straight away, but my machine is getting slower and slower today. The culprit from "top" is : 22238 calum 18 0 1757m 818m 21m R 80.6 81.6 9:03.71 amarokapp
Hmm. It seems to have lost most of my collection too in the PG database. I clicked re-add, and it found it all again, but it's lost all the number of plays/scores/ratings, which is a bit of a pain. I was hoping I wouldn't need to do a pg_dump each night... :(
This is still a problem with musicbrainz, and this is why there's no musicbrainz support anymore.