I had a problem where LMS would not display the playlists in the browser. When I looked at the server log there were lots of messages like:
[21-03-18 08:26:19.6213] Slim::Utils::Misc::msg (1283) Warning: [08:26:19.6213] Could not open /music/Music/Jazz/Eliane Elias/Dreamer/11 A House Is Not a Home.wav for reading: Too many open files
[21-03-18 08:26:19.6230] Slim::Player::Protocols::File::open (101) Error: could not open /music/Music/Jazz/Eliane Elias/Dreamer/11 A House Is Not a Home.wav: Too many open files
[21-03-18 08:26:19.6231] Slim::Player::Song::open (480) Warning: stream failed to open [tmp:///music/Music/Jazz/Eliane%20Elias/Dreamer/11%20A%20House%20Is%20Not%20a%20Home.wav].
[21-03-18 08:26:19.6246] Slim::Player::Protocols::File::open (101) Error: could not open /music/Music/Jazz/Oscar Peterson/Live At CBC Studios - 1960/10 Dancing On The Ceiling.wav: Too many open files
[21-03-18 08:26:19.6247] Slim::Player::Song::open (480) Warning: stream failed to open [tmp:///music/Music/Jazz/Oscar%20Peterson/Live%20At%20CBC%20Studios%20-%201960/10%20Dancing%20On%20The%20Ceiling.wav].
[21-03-18 08:26:20.8808] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:20.8810] Slim::Web::Pages::Playlist::playlist (147) Bad dispatch!
[21-03-18 08:26:20.8818] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:20.8821] Slim::Web::Pages::Playlist::playlist (190) Bad dispatch!
[21-03-18 08:26:21.0239] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:21.0240] Slim::Web::Pages::Playlist::playlist (147) Bad dispatch!
[21-03-18 08:26:21.0250] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:21.0253] Slim::Web::Pages::Playlist::playlist (190) Bad dispatch!
[21-03-18 08:29:13.7006] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:29:13.7008] Slim::Web::Pages::Playlist::playlist (147) Bad dispatch!
NOTE: Is there a way to stop the forum software from converting colon sequences to smiley icons as above?
I tried upping the number of open files on the system to 65535 to no avail. Even rebooting the system didn't help clear the problem.
A side effect was that the playlist display was missing but the current track being played was shown. I couldn't clear the playlists (no button) and I couldn't add anything to the playlists.
I finally had to remove the playlists in /var/lib/squeezeboxserver/prefs and restart LMS to gain control.
I'm confused by the tmp:/// designation in the URL of the track location as I also see file:/// used which would seem more appropriate. To avoid a future problem under what conditions would the tmp:/// designation be used by LMS?
Has anyone else encountered this problem?
Quote:
[21-03-18 08:26:19.6213] Slim::Utils::Misc::msg (1283) Warning: [08:26:19.6213] Could not open /music/Music/Jazz/Eliane Elias/Dreamer/11 A House Is Not a Home.wav for reading: Too many open files
[21-03-18 08:26:19.6230] Slim::Player::Protocols::File::open (101) Error: could not open /music/Music/Jazz/Eliane Elias/Dreamer/11 A House Is Not a Home.wav: Too many open files
[21-03-18 08:26:19.6231] Slim::Player::Song::open (480) Warning: stream failed to open [tmp:///music/Music/Jazz/Eliane%20Elias/Dreamer/11%20A%20House%20Is%20Not%20a%20Home.wav].
[21-03-18 08:26:19.6246] Slim::Player::Protocols::File::open (101) Error: could not open /music/Music/Jazz/Oscar Peterson/Live At CBC Studios - 1960/10 Dancing On The Ceiling.wav: Too many open files
[21-03-18 08:26:19.6247] Slim::Player::Song::open (480) Warning: stream failed to open [tmp:///music/Music/Jazz/Oscar%20Peterson/Live%20At%20CBC%20Studios%20-%201960/10%20Dancing%20On%20The%20Ceiling.wav].
[21-03-18 08:26:20.8808] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:20.8810] Slim::Web::Pages::Playlist::playlist (147) Bad dispatch!
[21-03-18 08:26:20.8818] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:20.8821] Slim::Web::Pages::Playlist::playlist (190) Bad dispatch!
[21-03-18 08:26:21.0239] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:21.0240] Slim::Web::Pages::Playlist::playlist (147) Bad dispatch!
[21-03-18 08:26:21.0250] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:26:21.0253] Slim::Web::Pages::Playlist::playlist (190) Bad dispatch!
[21-03-18 08:29:13.7006] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Can't call method "title" on an undefined value at /usr/share/perl5/Slim/Player/Protocols/Volatile.pm line 35.
]
[21-03-18 08:29:13.7008] Slim::Web::Pages::Playlist::playlist (147) Bad dispatch!
I tried upping the number of open files on the system to 65535 to no avail. Even rebooting the system didn't help clear the problem.
A side effect was that the playlist display was missing but the current track being played was shown. I couldn't clear the playlists (no button) and I couldn't add anything to the playlists.
I finally had to remove the playlists in /var/lib/squeezeboxserver/prefs and restart LMS to gain control.
I'm confused by the tmp:/// designation in the URL of the track location as I also see file:/// used which would seem more appropriate. To avoid a future problem under what conditions would the tmp:/// designation be used by LMS?
Has anyone else encountered this problem?