[Bug 498405] New: amarokapp causes page thrashing
http://bugzilla.novell.com/show_bug.cgi?id=498405 Summary: amarokapp causes page thrashing Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: estellnb@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE Sometimes (when run against an m3u) amarokapp from the Suse-repos hangs using up all the available memory. The memory is not freed when terminating amarokapp via killall, not even after a couple of time. Even worse the massive memory usage causes massive page thrashing, so that the system becomes unusable until up to a reboot. At first there may be something wrong with the memory allocation. 'Amaroks' memory is supposed to be freed right after program termination (Perhaps it is just an error in terminating all child processes not affected by killall amarokapp). Second the paging strategy of Linux 2.6.27.21-0.1-default may deserve some attention. A singleton app must never compromise the whole system, no matter how much memory it asks for; i.e. page thrashing has to be avoided. If the memory needs of a singleton app can not be satisfied its process should be suspended automatically (user may choose to kill -SIGCONT it nonetheless). Letting an app alloc as much as 1,5 times of the physically provided main memory is no bad strategy but then avoid page thrashing and suspend the app if its working set exceeds the available main memory. Reproducible: Sometimes Steps to Reproduce: Sometimes amarok-1.4.10-26.2.1 works well for a couple of invocations, then it fails for another couple of invocations. It would be no bad idea to offer a downgrade for amarok since it used to work free of errors until up to suse11.0 or so. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=498405
Leon Wang
http://bugzilla.novell.com/show_bug.cgi?id=498405
User jeffm@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=498405#c1
Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=498405
User estellnb@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=498405#c2
--- Comment #2 from Elmar Stellnberger ATK
killall -9 amarokapp ps ax|grep -i amarok 7602 pts/0 S+ 0:00 grep -i amarok free -m total used free shared buffers cached Mem: 2004 1991 13 0 4 95 -/+ buffers/cache: 1890 114 Swap: 3812 1542 2269 init 3 free -m total used free shared buffers cached Mem: 2004 195 1808 0 6 131 -/+ buffers/cache: 57 1947 Swap: 3812 11 3800
Nonetheless auto-swap-out if that at all should be of use in some cases could be disabled for apps like databases or the backbone of KDE (but then it is of little use). Perhaps KDE should simply be forbidden to allocate that much common memory. It seems to be reasonable to assume that common data structures can not be swapped out. Then perhaps it is up to KDE trying to allocate this as non-swappable memory? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=498405
User llunak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=498405#c3
Lubos Lunak
http://bugzilla.novell.com/show_bug.cgi?id=498405
User estellnb@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=498405#c4
--- Comment #4 from Elmar Stellnberger ATK
http://bugzilla.novell.com/show_bug.cgi?id=498405
User llunak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=498405#c5
--- Comment #5 from Lubos Lunak
http://bugzilla.novell.com/show_bug.cgi?id=498405
User christiandehne@web.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=498405#c6
Christian Trippe
http://bugzilla.novell.com/show_bug.cgi?id=498405
User christiandehne@web.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=498405#c7
Christian Trippe
participants (1)
-
bugzilla_noreply@novell.com