Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 71

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jan 2009
    Location
    Los Angeles & London
    Posts
    810

    LMS web interface keeps becoming unresponsive on Debian 10

    I've always run the current version of Debian without issues for the last 10 years or so, but since upgrading my LMS server to Debian 10 (Intel x64) I've noticed that the web interface keeps becoming unresponsive for periods of about 10 seconds, and then it catches up. In some cases the music will also stop during the periods it's not responding.

    Running LMS 7.9.2-1562753347 on minimal Debian 10 Intel x64.

    Any thoughts?

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,908
    Quote Originally Posted by paulster View Post
    Any thoughts?
    Any messages in server.log ? such as network access problems

  3. #3
    Senior Member
    Join Date
    Apr 2013
    Location
    UK
    Posts
    1,314
    I've seen solid hangs in Lms since upgrading perl versions and it seemed to be to do with the trackstat plugin. Do you use this?

    Though I suspect it's more to do with a perl behaviour change. To me it seems more likely that a method is being used which previously ran in the background in parallel and is now causing a foreground lock to be held. This is really hand waving hunch type stuff, but there you are. Nothing changed on the plugin between not having the problem and having it, so I have to look elsewhere..


    Transcoded from Matt's brain by Tapatalk
    --
    Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
    Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..

  4. #4
    Senior Member
    Join Date
    Jan 2009
    Location
    Los Angeles & London
    Posts
    810
    I don't use TrackStat, but I have the following plugins installed:
    iPlayer
    Custom Browse
    Hide Menus
    Kids Play
    Multi Library
    Power Save
    Switch Player
    Spotty
    YouTube

    I'm seeing these entries repeatedly in the log file, so I don't know whether it's an issue with the web interface since the Perl change:
    [19-07-08 21:29:06.2822] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:cb, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:06.7811] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:ef, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:07.4037] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:37, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:08.3364] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:ef, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:09.0067] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:37: request not dispatchable!
    [19-07-08 21:29:09.0089] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:ef: request not dispatchable!
    [19-07-08 21:29:09.0104] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:cb: request not dispatchable!

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,908
    Quote Originally Posted by paulster View Post
    I'm seeing these entries repeatedly in the log file, so I don't know whether it's an issue with the web interface since the Perl change:
    [19-07-08 21:29:06.2822] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:cb, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:06.7811] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:ef, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:07.4037] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:37, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:08.3364] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:ef, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:09.0067] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:37: request not dispatchable!
    [19-07-08 21:29:09.0089] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:ef: request not dispatchable!
    [19-07-08 21:29:09.0104] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:cb: request not dispatchable!
    These usually refer to a client which was playing and which is now unavailable - it seems there were 3 such clients .

  6. #6
    Junior Member
    Join Date
    Aug 2016
    Posts
    22
    Quote Originally Posted by paulster View Post
    I don't use TrackStat, but I have the following plugins installed:
    iPlayer
    Custom Browse
    Hide Menus
    Kids Play
    Multi Library
    Power Save
    Switch Player
    Spotty
    YouTube

    I'm seeing these entries repeatedly in the log file, so I don't know whether it's an issue with the web interface since the Perl change:
    [19-07-08 21:29:06.2822] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:cb, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:06.7811] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:ef, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:07.4037] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:37, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:08.3364] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:25:31:04:70:ef, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [19-07-08 21:29:09.0067] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:37: request not dispatchable!
    [19-07-08 21:29:09.0089] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:ef: request not dispatchable!
    [19-07-08 21:29:09.0104] Slim::Web::JSONRPC::requestMethod (486) 00:25:31:04:70:cb: request not dispatchable!
    Am on buster too - I see my LMS client (squeezelite) disappearing on a few occasions.
    The funny thing is that those clients - on top of being disconnected - had their squeezelite service halted as well. I have to restart the squeezelite service on the client and re-establish connection to LMS.

  7. #7
    Senior Member
    Join Date
    Jan 2009
    Location
    Los Angeles & London
    Posts
    810
    I've been able to get the problem to occur again with a clean logging period, and I didn't get anything at all in the server log, so I think those previous errors were related simply to it losing connection with the players.

    This definitely feels like it's related to the Perl version in Debian Buster, although I would have thought that other distros were running this version way before Debian adopted it, since Ubuntu and the like tend to be more bleeding edge.

    Not sure what the next steps are, but it's annoying since I use the web interface a lot.

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,908
    LMS is single thread which means a badly behaved plugin or more recently some https network problems can "lock" the system as WebUI and player are all network comms.

    Your LMS seems to be up to date (10 Jul by the datestamp). On 20 Jun some changes were made to LMS to fix some blocking code on https connections which had similar symptoms.
    Also check your OpenSSL libraries are up to date

    1. Have you tried LMS with all plugins disabled (i.e. --failsafe on command line) - this will test if a plugin is to blame.
    2. Does the lock up seems to be associated with a specific activity such as looking at plugins tab of Settings ?

  9. #9
    Senior Member
    Join Date
    Apr 2013
    Location
    UK
    Posts
    1,314
    Fwiw I noted that the server log was empty when trackstat hangs my Lms too. After disabling this one specific plugin I've not had any other plugins cause this issue, but it used to work ok so I'm a bit baffled as to why that behaviour has changed.


    Transcoded from Matt's brain by Tapatalk
    --
    Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
    Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •