Bugzilla – Bug 784
Inaccesible files cause high CPU usage
Last modified: 2008-08-18 10:53:41 UTC
I'm running Slimserver nightly 2005-01-13 on gentoo linux with an mysql backend. MP3 files with "Umlauts" (���) in the filename cause high CPU usage on my system; the server stops responding and the squeezebox stops playing. "strace -p <pid-of-server>" shows that the server tries to stat64() the file; stat64() returns -1, and the server repeats the stat64() endlessly.
Created attachment 251 [details] This is the track that causes the loop
Just in case this might be important: The full path to this file on my system is --------------------------------------------------------- /home/slimserver/Music/J-R/Reinhard Fendrich/Das Beste von Rainhard Fendrich/Rainhard Fendrich - V� sch�ner is des G'f�hl.mp3 ----------------------------------------------------------
Files that are not accessible anymore (e.g. tracks, that are referenced from a playlist file, but were renamed in the meantime) show the same behaviour: stat64("/full/path/to/my/track.mp3", 0x81384e0) = -1 ENOENT in a tight loop. I have to kill and restart the server.
Hakan - Does this still happen with the latest 6.0 nightlies? What is your LC_CTYPE and LANG environment variable set to? Thanks.
Hakan - This should be fixed in 6.0.1 Please reopen if you still see this behavior. Thanks.