Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2021-02-22 Thread erland

drmatt wrote: 
> What surprises me is just that one plugin is able to lock the whole
> server. I didn't expect that to be the case, I thought LMS ran
> multi-threaded and individual plugins wouldn't be able to be so evil.
> 

Unfortunately it’s single threaded so it’s very easy for a plugin to
accidentally lock the server. The plugin APIs related to scanning is a
bit better today compared to when TrackStat was developed to decrease
the risk of this happening during scanning. Scanning is the only thing
that runs as a separate process to avoid the risk of locking the whole
server. However, the scanning APIs would unlikely help with the
TrackStat issues since people would be equally tired of a scanning
process that takes several hours to complete.

The easy solution is to uninstall plugins that cause these kind of
issues, especially unsupported plugins like TrackStat that’s unlikely to
be fixed. For people interested in rating support there is a new Ratings
Light plugin that’s actively supported and don’t have these kind of
issues. Might be worth to encourage the developer of that to add
features necessary to be able to replace TrackStat.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836)
)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2021-02-22 Thread erland

drmatt wrote: 
> Well I can tell you it's not doing system calls while it's hung, it's
> purely spinning in user code:
> 
> 
> # strace -fp 24410
> strace: Process 24410 attached
> 
> [..tens of seconds elapse..]
> 
> ^Cstrace: Process 24410 detached

If it’s related to the TrackStat plugin it hangs in an SQL statement
executing in the SQLite database code. 


Skickat från min iPad med Tapatalk



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836)
)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2021-02-22 Thread drmatt


Well I can tell you it's not doing system calls while it's hung, it's
purely spinning in user code:


# strace -fp 24410
strace: Process 24410 attached

[..tens of seconds elapse..]

^Cstrace: Process 24410 detached



--
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..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2021-02-22 Thread drmatt


CypherMK wrote: 
> I think this may have solved the freezing issue. Will test further. I
> did enable "rescan refresh" and disabled "enable musicbrainz tags".

What surprises me is just that one plugin is able to lock the whole
server. I didn't expect that to be the case, I thought LMS ran
multi-threaded and individual plugins wouldn't be able to be so evil.

I suppose I should consider myself lucky it only hangs for five minutes,
but then it is a full-phat x86 processor pegged at 100% utilisation, not
a Raspberry Pi.

I'll try turning off the musicbrainz integration piece (in about four
and a half minutes time).



--
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..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-12-28 Thread CypherMK

erland wrote: 
> 
> Disabling only the “Enable musicbrainz tags” option can also help in
> some setups since the musicbrainz handling part in the refresh operation
> might be the cause to the problem. You should be able to see in the
> server.log which part of the refresh operation that takes most time.

I think this may have solved the freezing issue. Will test further. I
did enable "rescan refresh" and disabled "enable musicbrainz tags".



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-12-24 Thread erland

CypherMK wrote: 
> So as long as I don't move stuff around, it's ok? 
I think so but it’s about 10 years since I wrote this code so I might
have forgotten about some situation.

CypherMK wrote: 
>  Is there a way to make this scan to be triggered by CLI or maybe a http
> request? So I can run this at night. My system hangs for 3.5 hours.
> 
There is no way to trigger the refresh specifically via CLI.

If the “Rescan refresh” option is enabled and the “Startup refresh”
option is disabled it will only run after LMS performs a rescan and this
might solve the problem as long as you don’t perform rescans when you
are about to use the system. Could be complicated though because you
probably want to listen to new music immediately after you have ripped a
newly purchased CD. I also believe LMS performes rescans automatically
of a subset of the library in some situations.

The other option is to disable ”Rescan refresh” and instead enable
“Startup refresh”. This might work if LMS and its computer is always
running and you don’t need to use LMS immediately after you have
restarted LMS or the computer running LMS. Could obviously cause issues
after upgrading LMS since LMS might seem to hang after upgrading.

Disabling only the “Enable musicbrainz tags” option can also help in
some setups since the musicbrainz handling part in the refresh operation
might be the cause to the problem. You should be able to see in the
server.log which part of the refresh operation that takes most time.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-12-24 Thread CypherMK

erland wrote: 
> There are two options in TrackStat for its refresh operation, one for
> refresh at startup and one for refresh after rescan, if you disable both
> in TrackStat settings page you should not have the problem that LMS
> hangs. The side effect of disabling them is that you will loose some of
> the smart logic in TrackStat, primarily related to not loosing data if
> you rename or move music files. If you don’t rename/move music files you
> are probably fine with having both these options disabled.

So as long as I don't move stuff around, it's ok? Is there a way to make
this scan to be triggered by CLI or maybe a http request? So I can run
this at night. My system hangs for 3.5 hours.



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-12-02 Thread erland

GoodVibrations wrote: 
> OK workaround.
> But I guess you'll have an unresponsive system as soon as you scan for a
> new album.
> 
There are two options in TrackStat for its refresh operation, one for
refresh at startup and one for refresh after rescan, if you disable both
in TrackStat settings page you should not have the problem that LMS
hangs. The side effect of disabling them is that you will loose some of
the smart logic in TrackStat, primarily related to not loosing data if
you rename or move music files. If you don’t rename/move music files you
are probably fine with having both these options disabled.

GoodVibrations wrote: 
> 
> I don't think a solution is on the horizon.
> Just a few weeks ago, Erland offered to let another take over the
> maintenance of his plugins. So he clearly has no time himself. Don't
> know if he even uses LMS anymore?
> 
> So, I'm still on 7.9.1. :-)
> 
I use LMS 7.8.0, unfortunately my current setup can’t run any later LMS
version. Haven’t updated the Ubuntu OS for a long time and the old
Ubuntu version I’m using breaks newer LMS versions. Unfortunately my
spare time is a bit limited at the moment so I will likely not have the
time to look into this in more detail in the foreseeable future.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-08-27 Thread CypherMK


I will add a new album later to see if it hangs. Last scan was normal.
But I I had no albums added.



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-08-27 Thread slartibartfast


CypherMK wrote: 
> I have set to scan for new music at 4 in the morning every day. So I
> don't know if the system hangs at night.Check the scanner log.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-08-27 Thread CypherMK


GoodVibrations wrote: 
> OK workaround.
> But I guess you'll have an unresponsive system as soon as you scan for a
> new album.
> 
> I don't think a solution is on the horizon.
> Just a few weeks ago, Erland offered to let another take over the
> maintenance of his plugins. So he clearly has no time himself. Don't
> know if he even uses LMS anymore?
> 
> So, I'm still on 7.9.1. :-)

I have set to scan for new music at 4 in the morning every day. So I
don't know if the system hangs at night.



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-08-26 Thread GoodVibrations


OK workaround.
But I guess you'll have an unresponsive system as soon as you scan for a
new album.

I don't think a solution is on the horizon.
Just a few weeks ago, Erland offered to let another take over the
maintenance of his plugins. So he clearly has no time himself. Don't
know if he even uses LMS anymore?

So, I'm still on 7.9.1. :-)



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-08-26 Thread CypherMK


CypherMK wrote: 
> Also have the same issue:
> https://forums.slimdevices.com/showthread.php?112837-Trackstat-causing-100-cpu-usage-on-Raspberry-PI-4=986328#post986328
> 
> So there is no real solution to this?

I have a workaround for my problem. I went to trackstat settings and
changed this setting: Startup refresh to no. Now startup is fine.



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-08-26 Thread CypherMK


Also have the same issue:
https://forums.slimdevices.com/showthread.php?112837-Trackstat-causing-100-cpu-usage-on-Raspberry-PI-4=986328#post986328

So there is no real solution to this?



CypherMK's Profile: http://forums.slimdevices.com/member.php?userid=62798
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-07-29 Thread verypsb


Same TrackStat problems here, using LMS 8.0.

Best regards,
Dennis.



::Please vote:::
'::bug 1330:: New music should work on creation date'
(http://bugs.slimdevices.com/show_bug.cgi?id=1330)
'::bug 17963:: New and changed doesn't handle changed files '
(http://bugs.slimdevices.com/show_bug.cgi?id=17963)
'::bug 17799:: Use a separator such as 'Also appears on' when viewing
the albums by an artist'
(http://bugs.slimdevices.com/show_bug.cgi?id=17799)
'::bug 18054:: Add support for 'Set Subtitle'/'Disc Subtitle' (ID3v2.4
TSST/ID3V2.3 TIT3)' (http://bugs.slimdevices.com/show_bug.cgi?id=18054)
1x Boom, 1x Classic, 4x Controller, 1x Radio, 4x Receiver, 2x Touch

verypsb's Profile: http://forums.slimdevices.com/member.php?userid=17295
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-15 Thread GoodVibrations


mrw wrote: 
> No harm in asking on that thread. You never know, he may have found a
> solution later.
> I sympathize. Time spent with no good result. I guess breakage/loss of
> third party plugins is always going to be a risk.
> 

I just asked on the other thread. :-)

I know Erlands plugins are 3-party, but for for me they are an essential
part of LMS.
I use Trackstat, Dyn. Playlists and Custom Skip all the time.
Without them I might as well be on something else.



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread mrw


GoodVibrations wrote: 
> I can't find any solution mentioned anywhere by the original poster,
> drmatt.
No harm in asking on that thread. You never know, he may have found a
solution later.

GoodVibrations wrote: 
> 
> This whole mess has been a disheartening experience.
> 
I sympathize. Time spent with no good result. I guess breakage/loss of
third party plugins is always going to be a risk.

GoodVibrations wrote: 
> 
> As I see it, going beyond 7.9.1 breaks Trackstat.
> Or Trackstat wasn't playing nice with LMS to begin with.
> I don't know which is the unruly kid and I don't really care. :-)

One change I noted between 7.9.1 and 7.9.2: SQLite was upgraded (to
v1.58).
That may be influencing matters, but I have no idea how, or even if it
is. I've never used or looked at Trackstat.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread atrocity


GoodVibrations wrote: 
> Just discovered this setting:
> 
> 30722
> 
> This was set to High, and I changed it to Max.
> 
> I then rebooted.
> Now it "only" takes 2h18m for the system to become responsive
> 
> I'm guessing that it's Trackstat that has become a problem.
> I will now clear the Trackstat DB and then try a reboot without any
> Trackstat data.

That's pretty consistent with my experience and (based on a prior post
of yours) library size. I'm running on a Raspberry Pi (3?). I put up
with it because that's my "overnight" box I use strictly to serve up
Never Played Albums while I sleep. So if I do a scan early in the day,
the fact that it's not usable for several hours doesn't hurt me.

I understand your frustration and share it to some extent. I believe
Erland has said elsewhere that he's looking into making his plugins work
with LMS 8.0, so he hasn't abandoned them, he's just busy.



atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread GoodVibrations


mrw wrote: 
> Someone else reported problems with Trackstat after upgrading to 7.9.2.
> Perhaps they have solved it.
> 
> -Perl 5.28, general dpkg update woes, and a new problem with
> Trackstat?-
> https://forums.slimdevices.com/showthread.php?110560-Perl-5-28-general-dpkg-update-woes-and-a-new-problem-with-Trackstat=trackstat+7.9.2

Thank you mrw.
Yes it looks very much like my problem.
I can't find any solution mentioned anywhere by the original poster,
drmatt.
But I found some more mentions of sluggish Trackstat after upgrades.
And I also found this post:
https://forums.slimdevices.com/showthread.php?111559-LMS-Not-Running-on-Windows-10-PC/page3

I don't think Erland maintains his plugins anymore?

But after more than a week with a useless system, I have downgraded to
7.9.1 again.
I'm now in the process of restoring my Trackstat data.
And then I suspect I'll be back with a working system again.

This whole mess has been a disheartening experience.
As I see it, going beyond 7.9.1 breaks Trackstat.
Or Trackstat wasn't playing nice with LMS to begin with.
I don't know which is the unruly kid and I don't really care. :-)
I almost always play my music using Dynamic Playlists based on Trackstat
data.
And if I can't use Trackstat if I upgrade, then I won't be upgrading.
But that leaves me on an aging system and I don't want that either. :-)

A working system (7.9.1) allows me to play my music, which is what it's
all about after all. :-)
And it will give me more time to think about where I'll go as my LMS
steadily ages.

BTW, can I move this thread to 3-party plugins somehow? It's not really
a Linux issue.



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread mrw


GoodVibrations wrote: 
> 
> 
> Trackstat starts refreshing and now the system hangs again!!
> My guess, it will hang for around 2 hours.
> 
> My conclusion:
> Trackstat has become useless after 7.9.1.

Someone else reported problems with Trackstat after upgrading to 7.9.2.
Perhaps they have solved it.

-Perl 5.28, general dpkg update woes, and a new problem with
Trackstat?-
https://forums.slimdevices.com/showthread.php?110560-Perl-5-28-general-dpkg-update-woes-and-a-new-problem-with-Trackstat=trackstat+7.9.2



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread GoodVibrations


Ok. I deleted Trackstat DB.
Rebooted, and LMS was immediately responsive and available!

I then started a scan.


Code:


  [20-06-14 12:41:25.3016] Slim::Music::Import::runImporter (511) Starting 
Slim::Media::MediaFolderScan scan
  .
  [20-06-14 12:45:32.0806] Slim::Music::Import::endImporter (644) Completed 
dbOptimize Scan in 38 seconds.
  



It only took 4 minutes! Great.

BUT what happens then?

Code:


  [20-06-14 12:45:32.3063] Plugins::TrackStat::Storage::refreshTracks (1242) 
TrackStat: Synchronizing TrackStat data, please wait...
  



Trackstat starts refreshing and now the system hangs again!!
My guess, it will hang for around 2 hours.

My conclusion:
Trackstat has become useless after 7.9.1.

That is, for me, very bad news.
Trackstat is one of the main points I'm still using LMS.



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread GoodVibrations


Just discovered this setting:

30722

This was set to High, and I changed it to Max.

I then rebooted.
Now it "only" takes 2h18m for the system to become responsive

I'm guessing that it's Trackstat that has become a problem.
I will now clear the Trackstat DB and then try a reboot without any
Trackstat data.


+---+
|Filename: Billede 2.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30722|
+---+


GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread GoodVibrations


Thank you very much bpa.

I just did this. But it gave me nothing unusual in the server.log:


Code:


  2020-06-14 08:23:21 squeezeboxserver_safe started.
  [20-06-14 08:23:27.5943] main::init (387) Starting Logitech Media Server 
(v7.9.3, 1591161343, Thu Jun  4 04:16:22 CEST 2020) perl 5.024001 - 
i686-linux-gnu-thread-multi-64int
  



And its "dead" again. :-)



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-14 Thread GoodVibrations


atrocity wrote: 
> In my experience, TrackStat will bring the server to its knees after a
> scan, at least on my 100,000 track library. I've just gotten used to it
> and only scan when I don't need to access that server for a while.
> 
> Though I only see the problem for maybe 2 hours, not 9.

I've never experienced this?
I have 90403 tracks.

Before (on 7.9.1) when I added a new album and then did a scan, it took
10-15 minutes.
During that time the system was sluggish but not unresponsive. I could
play music and use the webbrowser.

Now it's completely unresponsive. I cannot use it at all and the browser
just says Unable to connect.
It stays this way for 9-10 hours every time i reboot my box or do a
scan.

BTW I run my system on a dedicated headless box with a barebones Debian
Stretch and ONLY run LMS on it. Nothing else is installed (not even a
GUI).



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-13 Thread bpa


bpa wrote: 
> No . Offhand I don't know how to add command line option to a service, I
> think they are called startup parameters and the parameter will be
> "-d_startup"

Just checked. Assuming your system is "usual"

There is a file /etc/default/logitechmediaserver

It will have a content something like 

Code:


  SLIMUSER=squeezeboxserver
  
  SLIMOPTIONS=""
  



Edit the file and change SLIMOPTIONS to 

Code:


  SLIMOPTIONS="-d_startup"
  



Make sure the file has same ownership and permissions before and after
edit.

Stop and start the logitechmediaserver.service to make changes take
effect.  Look in log file for output/.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-13 Thread atrocity


GoodVibrations wrote: 
> 
> Seeing that Trackstat took a long very long time to synchronize I'm a
> bit suspicious of this.

In my experience, TrackStat will bring the server to its knees after a
scan, at least on my 100,000 track library. I've just gotten used to it
and only scan when I don't need to access that server for a while.

Though I only see the problem for maybe 2 hours, not 9.



atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-13 Thread bpa


GoodVibrations wrote: 
> Like this?
> service logitechmediaserver start -d

No . Offhand I don't know how to add command line option to a service, I
think they are called startup parameters and the parameter will be
"-d_startup"



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-13 Thread GoodVibrations


bpa wrote: 
> Start slimserver with  -d_startup command line option to see whether
> install is OK.

Like this?
service logitechmediaserver start -d



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-13 Thread bpa


GoodVibrations wrote: 
> Sound advice.
> But my problem is I have absolutely no idea what the issues are...
> I can't find anything in any logs. Just a squeeze process that runs 100%
> for 9-10 hours after every reboot/scan.
> 
> I did a minor upgrade from 7.9.1 to 7.9.2. Nothing else.
> After that, my system is literally bricked.
> I had absolutely no problems or issues on 7.9.1.
> So why did I upgrade then? Well... :-)
> 
> I hate to say this after close to 13 years with a very stable system...
> But i have one legacy player left, sb3, the rest are CCA's and
> squeezelites.
> And feeling very unknowledgeable about my own system, I've bought a
> single Ikea Symfonisk.
> So instead of keeping on banging my head against my own LMS-ignorance,
> I'll be using the Ikea to begin looking in to that "other system". :-)
> I have absolutely always loved my Slim/Squeeze/Logitech system. I just
> don't know enough anymore to keep it running.

Start slimserver with  -d_startup command line option to see whether
install is OK.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-13 Thread GoodVibrations


bpa wrote: 
> My advice, forget about plugins for the moment and get your system
> running and clear of other issues before dealign with plugins.

Sound advice.
But my problem is I have absolutely no idea what the issues are...
I can't find anything in any logs. Just a squeeze process that runs 100%
for 9-10 hours after every reboot/scan.

I did a minor upgrade from 7.9.1 to 7.9.2. Nothing else.
After that, my system is literally bricked.
I had absolutely no problems or issues on 7.9.1.
So why did I upgrade then? Well... :-)

I hate to say this after close to 13 years with a very stable system...
But i have one legacy player left, sb3, the rest are CCA's and
squeezelites.
And feeling very unknowledgeable about my own system, I've bought a
single Ikea Symfonisk.
So instead of keeping on banging my head against my own LMS-ignorance,
I'll be using the Ikea to begin looking in to that "other system". :-)
I have absolutely always loved my Slim/Squeeze/Logitech system. I just
don't know enough anymore to keep it running.



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-13 Thread GoodVibrations


So I kill'ed the processes, cleared cache.db and started in failsafe.
And that works.
So my guess is that it's a plugin-problem.

Seeing that Trackstat took a long very long time to synchronize I'm a
bit suspicious of this.
So I removed failsafe and rebooted and waited for it to respond (9+
hours).

I then cleared the Trackstat DB and restored a Trackstat backup from the
night before I upgraded LMS.
I then deleted unused Trackstat statistics (which took 9 hours. The same
time LMS is unresponsive after a reboot).
And then rebooted my box.
No luck. Same response, LMS will be unresponsive for the next 9 hours.

I'm considering clearing the Trackstat DB, reboot, and then see if it's
unresponsive.
I have 12 years of statistics in the DB and will be very tired of losing
these...
If it's Trackstat that's the problem, I have no idea why it should be?
I haven't moved any of my music or changed any settings.
Only upgraded the LMS package.

But supposing that it's another plugin that's the problem, can I disable
them all (not uninstall), and then enable them one by one, without
losing any of their settings?
If I remove their tick-marks, will they then be uninstalled or
disabled?

30698


+---+
|Filename: Billede 1.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30698|
+---+


GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-11 Thread bpa


GoodVibrations wrote: 
> I just accepted an update to the CastBridge plugin.
> The server then restarts, and has now gone into the "woods" to do god
> knows what?!
> 
> Oh well. I guess It'll be back in another 9-10 hours...

All the "bridge" plugins are very large about 30Mb and they come from
sourceforge. Sourceforge has been behaving very badly recently sometimes
taking over 20 minutes to download.  LMS in 7.9.2 is setup with a 20 sec
download timeout, some fixes were put in to 7.9.3 & 8.0.* to help with
such long downloads.

My advice, forget about plugins for the moment and get your system
running and clear of other issues before dealign with plugins.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-11 Thread Apesbrain


I'd like to help, but I'm on Windows. If I had your issue I'd terminate
all Squeezebox-related processes: squeezesvr, scanner, squeeze*. I'd
also clear all Squeezebox-related cache. 

Restart Squeezebox in safe mode. I'm not sure how this is done in linux.
Try adding --failsafe or -failsafe to command line.

If not a plugin, your problem may be related to the version of perl in
use.



Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-11 Thread GoodVibrations


I just accepted an update to the CastBridge plugin.
The server then restarts, and has now gone into the "woods" to do god
knows what?!

Oh well. I guess It'll be back in another 9-10 hours...


Code:


  [20-06-11 16:52:59.3242] main::init (387) Starting Logitech Media Server 
(v7.9.3, 1591161343, Thu Jun  4 04:16:22 CEST 2020) perl 5.024001 - 
i686-linux-gnu-thread-multi-64int
  



Could it be a plugin problem?
Some plugin working on 7.9.1 but not on 7.9.2?

I think the time it takes Trackstat to do its thing, looks fishy:

Code:


  [20-06-10 07:41:30.5650] Plugins::TrackStat::Storage::refreshTracks (1242) 
TrackStat: Synchronizing TrackStat data, please wait...
  [20-06-10 16:25:56.3386] Plugins::TrackStat::Storage::refreshTracks (1891) 
TrackStat: Synchronizing TrackStat data finished
  [20-06-10 16:25:56.3406] Plugins::LazySearch2::Plugin::scanDoneCallback 
(2332) Lazifying database items not already done
  [20-06-10 16:26:02.4100] Plugins::TrackStat::Storage::refreshTracks (1242) 
TrackStat: Synchronizing TrackStat data, please wait...
  [20-06-11 01:13:55.8223] Plugins::TrackStat::Storage::refreshTracks (1891) 
TrackStat: Synchronizing TrackStat data finished
  




GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

2020-06-10 Thread GoodVibrations


Been running a rock stable setup on Debian for more than 12 years now.
I almost never "fiddle" with it, so I'm more than a little rusty with my
own system. That's the price you pay when it just works. :-)

But the other day I got tired of it bugging me with a message about an
upgrade being available.
So I upgraded from 7.9.1 to 7.9.2. (dpkg -i
logitechmediaserver_7.9.2_all.deb).
I'm running it on 4.9.0-12-686-pae (perl is v5.24.1).

After the upgrade it became almost completely unresponsive.
I cannot access it from a browser or any of the players.

Top shows:
PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
COMMAND
424 squeeze+  20   0  186788 178296  12868 R 100,0  4,3   1300:10
squeezebox+

I have these processes:
squeeze+   405  0.0  0.0   5508  3228 ?Sjun09   0:00
/bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver
--prefsdir /var/lib/squeezeboxserver/prefs --logdir
/var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache
--charset=utf8
squeeze+   424 63.9  4.3 186788 178296 ?   Rjun09 1300:59
/usr/bin/perl /usr/sbin/squeezeboxserver --prefsdir
/var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/
--cachedir /var/lib/squeezeboxserver/cache --charset=utf8
squeeze+   556  0.1  0.0 163280  3696 ?Sl   jun09   2:05
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-x86-static
-Z -I -b 192.168.86.221 -x
/var/lib/squeezeboxserver/prefs/castbridge.xml

It stays this way for around 9 hours And then it suddenly comes
alive again and I can access it via a browser and the different
players.

I then rebooted my box, and LMS goes crazy again for the next 9
hours!?:

2020-06-09 10:42:03 squeezeboxserver_safe stopped.
2020-06-09 10:44:00 squeezeboxserver_safe started.
[20-06-09 10:44:05.7496] main::init (387) Starting Logitech Media Server
(v7.9.3, 1591161343, Thu Jun  4 04:16:22 CEST 2020) perl 5.024001 -
i686-linux-gnu-thread-multi-64int
[20-06-09 19:25:59.9784] Plugins::LazySearch2::Plugin::scanDoneCallback
(2332) Lazifying database items not already done
[20-06-09 19:26:00.8171] Plugins::LazySearch2::Plugin::lazifyDatabase
(2389) No database items require lazification
[20-06-09 19:26:01.4761] Slim::Networking::SqueezeNetwork::_error (500)
Unable to login to SN: Ugyldigt brugernavn eller adgangskode til
mysqueezebox.com.
[20-06-09 19:26:01.4770] Slim::Networking::SqueezeNetwork::_init_error
(180) Unable to login to mysqueezebox.com, sync is disabled: Ugyldigt
brugernavn eller adgangskode til mysqueezebox.com.
(https://www.mysqueezebox.com)
[20-06-09 19:26:01.4782] Slim::Networking::SqueezeNetwork::_init_error
(196) mysqueezebox.com sync init failed: Ugyldigt brugernavn eller
adgangskode til mysqueezebox.com., will retry in 185100
(https://www.mysqueezebox.com)
[20-06-09 19:26:29.5620] Slim::Networking::Async::connect (114) Failed
to connect to ayera.dl.sourceforge.net:443, because
Net::HTTP: connect: Connection refused
[20-06-09 19:26:29.5630] Slim::Utils::PluginDownloader::_downloadError
(260) unable to download CastBridge from
http://downloads.sourceforge.net/project/lms-plugins-philippe44/CastBridge-1.40.3.zip
- Connect timed out: Connection refused


This morning i added a new album and then started a scan:
[20-06-10 07:41:30.5650] Plugins::TrackStat::Storage::refreshTracks
(1242) TrackStat: Synchronizing TrackStat data, please wait...
[20-06-10 16:25:56.3386] Plugins::TrackStat::Storage::refreshTracks
(1891) TrackStat: Synchronizing TrackStat data finished
[20-06-10 16:25:56.3406] Plugins::LazySearch2::Plugin::scanDoneCallback
(2332) Lazifying database items not already done
[20-06-10 16:26:02.4100] Plugins::TrackStat::Storage::refreshTracks
(1242) TrackStat: Synchronizing TrackStat data, please wait...

It's been unresponsive since and top show 100% cpu usage by
squeezeboxserver.

Yesterday I upgraded to the latest nightly in the hope that it would
help. It didn't.

I haven't changed any settings at all.
I have just upgraded the server-package.

I have no idea what the server is working so hard on? :-)

Any kind of help will be much appreciated.
Regards.



GoodVibrations's Profile: http://forums.slimdevices.com/member.php?userid=15333
View this thread: http://forums.slimdevices.com/showthread.php?t=112388

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix