Bug 784 - Inaccesible files cause high CPU usage
: Inaccesible files cause high CPU usage
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 6.0.0
: All All
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-14 13:53 UTC by Hakan Tandogan
Modified: 2008-08-18 10:53 UTC (History)
0 users

See Also:
Category: ---


Attachments
This is the track that causes the loop (3.92 MB, application/octet-stream)
2005-01-14 14:00 UTC, Hakan Tandogan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hakan Tandogan 2005-01-14 13:53:11 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.
Comment 1 Hakan Tandogan 2005-01-14 14:00:14 UTC
Created attachment 251 [details]
This is the track that causes the loop
Comment 2 Hakan Tandogan 2005-01-14 14:02:40 UTC
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
----------------------------------------------------------
Comment 3 Hakan Tandogan 2005-01-16 02:15:45 UTC
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.
Comment 4 Dan Sully 2005-03-11 18:48:18 UTC
Hakan - Does this still happen with the latest 6.0 nightlies?

What is your LC_CTYPE and LANG environment variable set to?

Thanks.
Comment 5 Dan Sully 2005-04-07 17:52:51 UTC
Hakan - This should be fixed in 6.0.1

Please reopen if you still see this behavior.

Thanks.