Administrator
|
The only time a NFS share could cause a freeze is when an operation between the client and the server is awaiting completion. This usually happens when network connectivity is lost between them. This doesn't seem likely if you can play movies fine though.
Based on the behaviour you mentioned - this is definitely a NFS related hang. Could you use lsof or strace to see if Amarok is blocked waiting for anything in particular on the share? There could possibly be a file or something else causing the issue.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
i've never used those tools, i'll do some google-fu and try to figure that out.
until then, is there any recommendations as to what to do assuming it is an nfs hang? why does an nfs hang not affect clementine? isn't that what the 'dynamic collection' feature is for? to handle a playlist using an nfs share? |
Administrator
|
The hang is caused by the linux kernel itself. The test way is to look in htop, top or ps - the status of Amarok will be listed as D - meaning blocked on disk.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
i tried 'top' on my desktop that I was having issues with and never saw amarok ilsted, despite it running and being unresponsive.
i just fired up my gentoo laptop, installed amarok, and started a scan. this is scanning the same nfs share my desktop uses. sure enough it hangs in the exact same way. top revealed:
i do notice the "D", which you mentioned means "blocked on disk". where do i go from here? my desktop uses kernel 3.4.9 while my laptop uses kernel 3.5.2 if that matters |
Registered Member
|
i performed "lsof | grep Music" to see if anything was hanging while amarok does its scan. when i perform that command while it scans i see the file it is currently scanning, however, when i perform that command after amarok hangs there are no results.
"strace amarok" results in a lot of code, ending in:
where it hangs |
Registered Member
|
do i need to give more information? what can i do from here?
|
Administrator
|
Yes, D means blocked on disk (or any input/output in general really - which could be it's communication with Amarok itself even).
Based upon that strace output I believe it may either be in the process of attempting to close - or one of it's children may be in the process of doing so. The full name of "amarokcollectio" is "amarokcollectionscanner" I believe - which is the Collection Scanner. Unfortunately, it will need to be a developer themselves who interprets that strace output to determine where exactly it is hanging.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Manager
|
Then this needs to be reported as a bug with all that output information pasted directly in the comment field.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]