Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,134

    LMS crashing frequently

    Recently I have found I need to restart LMS after playback stops on all players. When this happens LMS is unreachable. LMS is on a Raspberry Pi using Max2Play and the latest 7.9.2. There is nothing in the server log related to the crash. What can I log to investigate this. I did report this in another thread but that seems to have been missed. If this happened once a month I wouldn't be too bothered but every day or two is doing my head in. The Raspberry Pi itself does not crash as I am able to restart LMS from the Max2Play web page. RAM usage is not high either.

    Sent from my SM-G900F using Tapatalk

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,314

    LMS crashing frequently

    > Recently I have found I need to restart LMS after playback stops on all
    > players. When this happens LMS is unreachable. LMS is on a Raspberry Pi
    > using Max2Play and the latest 7.9.2. There is nothing in the server log
    > related to the crash. What can I log to investigate this.


    Check the system's log files (/var/log/messages) to see whether there
    has been an issue on the system itself. OOM or network or whatever.

    When this happens, would there still be a LMS process on the system, but
    hanging?

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,134
    Quote Originally Posted by mherger View Post
    > Recently I have found I need to restart LMS after playback stops on all
    > players. When this happens LMS is unreachable. LMS is on a Raspberry Pi
    > using Max2Play and the latest 7.9.2. There is nothing in the server log
    > related to the crash. What can I log to investigate this.


    Check the system's log files (/var/log/messages) to see whether there
    has been an issue on the system itself. OOM or network or whatever.

    When this happens, would there still be a LMS process on the system, but
    hanging?

    --

    Michael
    The only message in /var/log/messages is

    Code:
    Aug 29 08:59:01 max2play liblogging-stdlog: action 'action 16' suspended, next retry is Thu Aug 29 09:00:31 2019 [v8.24.0 try http://www.rsyslog.com/e/2007 ]
    repeated every 2 minutes. I didn't check with "top" but max2play reported that LMS was running. Next time I will run top. Can I turn on logging for anything useful?

  4. #4
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,134
    Quote Originally Posted by mherger View Post
    > Recently I have found I need to restart LMS after playback stops on all
    > players. When this happens LMS is unreachable. LMS is on a Raspberry Pi
    > using Max2Play and the latest 7.9.2. There is nothing in the server log
    > related to the crash. What can I log to investigate this.


    Check the system's log files (/var/log/messages) to see whether there
    has been an issue on the system itself. OOM or network or whatever.

    When this happens, would there still be a LMS process on the system, but
    hanging?

    --

    Michael
    LMS crashed again this morning and there was no sign of LMS as a running process in top as shown in the first screenshot. The second screenshot shows the situation after restarting LMS. LMS is now at the top of the list but the number of running processes is still one for some reason.

    Sent from my SM-G900F using Tapatalk

  5. #5
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,314

    LMS crashing frequently

    > LMS crashed again this morning and there was no sign of LMS as a running
    > process in top as shown in the first screenshot. The second screenshot
    > shows the situation after restarting LMS. LMS is now at the top of the
    > list but the number of running processes is still one for some
    > reason.


    Those screenshots only show about 1/3 of all processes. LMS could be far
    down the list... ordering the list by memory consumption ("M") would
    usually bring it high up. Or us "ps" rather than "top".

    What about the system log files?

    --

    Michael

  6. #6
    Your issue may or may not be related to mine as reported here: https://forums.slimdevices.com/showt...-appearing-LMS

    After my final post in that thread LMS vanished again so I reinstalled Windows 10 and set everything up again. LMS runs fine on my Windows 10 PC with Material Skin but crashes soon after I add the Music and Artist Information plugin. I may have an issue in how my system is configured, but if you are running the M&AI plugin, I would take a look at that.

  7. #7
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,134
    Quote Originally Posted by mherger View Post
    > LMS crashed again this morning and there was no sign of LMS as a running
    > process in top as shown in the first screenshot. The second screenshot
    > shows the situation after restarting LMS. LMS is now at the top of the
    > list but the number of running processes is still one for some
    > reason.


    Those screenshots only show about 1/3 of all processes. LMS could be far
    down the list... ordering the list by memory consumption ("M") would
    usually bring it high up. Or us "ps" rather than "top".

    What about the system log files?

    --

    Michael
    OK after it crashed again this morning I looked further down the list in top and found some squeeze items. Now while writing this after around 5 minutes music has started to play again so how can I find the cause. Maybe a plugin is playing up.

    Sent from my SM-G900F using Tapatalk

  8. #8
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,134
    Quote Originally Posted by mherger View Post
    > LMS crashed again this morning and there was no sign of LMS as a running
    > process in top as shown in the first screenshot. The second screenshot
    > shows the situation after restarting LMS. LMS is now at the top of the
    > list but the number of running processes is still one for some
    > reason.


    Those screenshots only show about 1/3 of all processes. LMS could be far
    down the list... ordering the list by memory consumption ("M") would
    usually bring it high up. Or us "ps" rather than "top".

    What about the system log files?

    --

    Michael
    This is still happening. This morning playback stopped for 8 minutes then recovered. Nothing in server log.

    Sent from my SM-G900F using Tapatalk

  9. #9
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,314

    LMS crashing frequently

    > This is still happening. This morning playback stopped for 8 minutes
    > then recovered. Nothing in server log.


    Are you using Spotty? If so, could you please enable INFO logging for
    Spotty and see whether there's been activity around when LMS is locking
    up? Also make sure (and I'm sure I've mentioned this already...) you run
    the very latest LMS 7.9.

    --

    Michael

  10. #10
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,846
    Just in case it is old https problem as https can results in very long hangups/delays.
    What version is your IO::Socket::SSL library ?

Posting Permissions

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