Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-03-07 Thread sparkyuk


Trackstat was the source of the problem - the graphic is from some
monitoring software and shows the CPU load (in dark blue) when it was
active.  It's a server with 6 cores and one of them was pegged at 100%
by the Trackstat plugin.  If you don't have Trackstat installed it is
not the same problem.



sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-03-07 Thread peddanet


sparkyuk wrote: 
> Do you have the Trackstat plugin loaded?  I've noticed similar behaviour
> with my server which is running the latest container version of LMS on
> an Odroid N2 with Ubuntu.  The symptoms are similar - LMS stops
> responding but I can ssh in to the server and see the squeezeboxserver
> running at 100%.  It stays like this for about 10 minutes and then
> recovers.  I happen to have some OS monitoring software running and
> noticed that it seems to happen at the same time, once every 24 hours. 
> 
> 
> 37384
> 
> Looking at the LMS server log TrackStat was active for same period;
> 
> [22-02-28 19:17:19.5637] Plugins::TrackStat::Storage::refreshTracks
> (1242) TrackStat: Synchronizing TrackStat data, please wait...
> [22-02-28 19:22:46.3715] Plugins::TrackStat::Storage::refreshTracks
> (1891) TrackStat: Synchronizing TrackStat data finished
> 
> I'm not sure what it's doing during this time.

Thank you Sparkyuk! I will try to install Trackstat plugin!



peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-03-07 Thread peddanet


Hi Michael!

mherger wrote: 
> > Do you know where I can find the logs, for which tags in that logs I
> > must search?
> 
> See the log snippet you posted ;-) "--logdir
> /var/log/squeezeboxserver/"
> 
I will have a look the next time!

But no, was not possible,  the load was 100%, and short after that, it
even again refuses to connect. Even USB keyboard was blocked. But on the
external monitor it continuously tells me: Undervoltage detected!
That is funny, because I use the original power supply with 3A! But I
was using a switch bought at ebay, and it seems, it was maybe a poor
quality (to thin wire, to much voltage dropoff???, I also used to
adapters to make it adaptable from micro usb to usb c mini, supports
only USB2.0, but I thought, I did not care, because I only wanted to use
it as a power supply). My Setup is minimal as told:


- External 4TB with external power supply
- Relay Switch Board (which only switches one relay some very rare
  times)
- External USB Keyboard
- External Monitor (most of the time switched off)
  

37401

Now I replaced it with a foreign power supply with 3.5A and a built-in
switch with USB-C mini male plug. Since then no power drops monitored,
no unattended cut-offs. Let us see on the long trace.
mherger wrote: 
> >
> 
> > Or any other hints, because hard rebooting the device (last time
> > yesterday, I switched it off, because it was inaccessible, today
> > again...) is not a good option, but surely works for a couple of
> hours,
> > days, even weeks (sometimes)?
> 
> Can't you even "kill -9 " it?

I found out the last process, which works like crap, is the chromium
browser, which I somehow wanted to sync with Google account. I used
remmina and vnc to connect with the MS Windows technique "Remote Desktop
Connection" to connect remotely. The browser was again not working, as
it is a "not trusted browser"  (!) , then the load exceeds silently
towards 100 % and the pi has drowned away...

SO ANYTHING REGARDING REMMINA, VNC OR CHROMIUM IS NOT
WORKING PROPERLY - PRESUMABLY!

Do you know anything, regarding Remmina, VNC and /or chromium? BTW is it
possible to install Google Chrome?

BR Peter



peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-03-07 Thread peddanet


Hi Michael!

mherger wrote: 
> > Do you know where I can find the logs, for which tags in that logs I
> > must search?
> 
> See the log snippet you posted ;-) "--logdir
> /var/log/squeezeboxserver/"
> 
I will have a look the next time!

But no, was not possible,  the load was 100%, and short after that, it
even again refuses to connect. Even USB keyboard was blocked. But on the
external monitor it continuously tells me: Undervoltage detected!
That is funny, because I use the original power supply with 3A! But I
was using a switch bought at ebay, and it seems, it was maybe a poor
quality (to thin wire, to much voltage dropoff???, I also used to
adapters to make it adaptable from micro usb to usb c mini, supports
only USB2.0, but I thought, I did not care, because I only wanted to use
it as a power supply). My Setup is minimal as told:


- External 4TB with external power supply
- Relay Switch Board (which only switches one relay some very rare
  times)
- External USB Keyboard
- External Monitor (most of the time switched off)
  

37401

Now I replaced it with a foreign power supply with 3.5A and a built-in
switch with USB-C mini male plug. Since then no power drops monitored,
no unattended cut-offs. Let us see on the long trace.
mherger wrote: 
> >
> 
> > Or any other hints, because hard rebooting the device (last time
> > yesterday, I switched it off, because it was inaccessible, today
> > again...) is not a good option, but surely works for a couple of
> hours,
> > days, even weeks (sometimes)?
> 
> Can't you even "kill -9 " it?

I found out the last process, which works like crap, is the chromium
browser, which I somehow wanted to sync with Google account. I used
remmina and vnc to connect with the MS Windows technique "Remote Desktop
Connection" to connect remotely. The browser was again not working, as
it is a "not trusted browser"  (!) , then the load exceeds silently
towards 100 % and the pi has drowned away...

*So anything regarding remmina, vnc or chromium is not working properly
- presumably!*


+---+
|Filename: 20220307_122205 Server I conifguration.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37401|
+---+


peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-03-01 Thread sparkyuk


Do you have the Trackstat plugin loaded?  I've noticed similar behaviour
with my server which is running the latest container version of LMS on
an Odroid N2 with Ubuntu.  The symptoms are similar - LMS stops
responding but I can ssh in to the server and see the squeezeboxserver
running at 100%.  It stays like this for about 10 minutes and then
recovers.  I happen to have some OS monitoring software running and
noticed that it seems to happen at the same time, once every 24 hours. 


37384

Looking at the LMS server log TrackStat was active for same period;

[22-02-28 19:17:19.5637] Plugins::TrackStat::Storage::refreshTracks
(1242) TrackStat: Synchronizing TrackStat data, please wait...
[22-02-28 19:22:46.3715] Plugins::TrackStat::Storage::refreshTracks
(1891) TrackStat: Synchronizing TrackStat data finished

I'm not sure what it's doing during this time.


+---+
|Filename: Capture.PNG  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37384|
+---+


sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-03-01 Thread Michael Herger

Do you know where I can find the logs, for which tags in that logs I
must search?


See the log snippet you posted ;-) "--logdir /var/log/squeezeboxserver/"


Or any other hints, because hard rebooting the device (last time
yesterday, I switched it off, because it was inaccessible, today
again...) is not a good option, but surely works for a couple of hours,
days, even weeks (sometimes)?


Can't you even "kill -9 " it?
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-03-01 Thread peddanet


Hi Michael,

I think, I need your help again:
I am still stuck with some unexpectedly freezes or high loads:
  
- High load (cpu load of squeezeboxserver nearly 100%)
- LMS (DietPi) completely not reachable via SSH
  

The first looks then like:
37382

For the second I can't attach anything, I can just try to access the
device by its connected monitor/usb mouse and keyboard.

Do you know where I can find the logs, for which tags in that logs I
must search?
Or any other hints, because hard rebooting the device (last time
yesterday, I switched it off, because it was inaccessible, today
again...) is not a good option, but surely works for a couple of hours,
days, even weeks (sometimes)?

BR Peter


mherger wrote: 
> > I am pretty sure it was completely unrespondable from the following
> > devices:
> > - PiCore Player Bathroom
> > - PiCore Player Kitchen
> 
> Are you running Jivelite on them?
> 
> > - Squeezelite (PC)
> 
> Squeezelite doesn't have a UI... how do you control it?
> 
> > - SqueezeliteCtrl (Android, did not try)
> 
> What did you try then?...
> 
> > How can I examine the problem more in detail? It could be that the
> 
> Try to figure out whether the process is really hanging. It's still not
> 
> clear to me what UI you're using, and whether you've tested more than
> one.


+---+
|Filename: 2022-03-01 15_30_35-TOP squeezeboxserver 100percent.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37382|
+---+


peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-02-08 Thread peddanet


Hi Michael, hi all,

my Setup with Pi4 2GB:

- Relay (powered by the +5V line of Pi)
- External Monitor via Mini Display Port
- USB Keyboard (wifi Logitech)
- External HD (4TB) powered by its own power supply
  

I use an original power supply 5V/2A of Raspberry.
On my external monitor I occasionally watch during startup and work the
flash symbol, indicating that the power is not sufficient (enough?).
So this could definitely do the hang ups, but why? I mean 2.0 A or 10 W
means a lot. What do you think, and how could I come around?

In the kitchen I run my Pi 3b+ on a Picoreplayer system with a 7"
display and my externally fed Logitech boxes (small audio plug) and a
3.0 A power supply. And sometimes it also flashes, even with 15 W!!!

Please any solution appreciated! Did anybody else facing this problems
in such a well powered situation :-)?

BR Peter



peddanet wrote: 
> Hi Michael,
> 
> 
> Yes!
> 
> 
> First commandline, now Squeezelite-X
> 
> It is not easy to test, because the phenomenon is happening rarely. It
> is not clear not me, how the client could force the server to hang up.
> When the phenomenon occurs again, I can try out, if not already tried
> out (I was not doing it in a well structured manner). The process on the
> server seems not respondng. How could I excamine responsiveness of the
> server in case it happens again? Is there a to me hidden test app? BTW
> where are the logs, sorry for this question,c ause it is to be found
> somewhere here? How could I save the process without killing/restarting
> it?
> 
> BR
> Peter



peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-01-26 Thread peddanet


I have replaced the easybox which I used as a cheap LAN Extender under
my desk. Now I meshed my fritzbox 7490 router with a fritzbox 7530
router  (replacing the easybox 804). The problem did not occur any more.
Maybe this is the solution.

I will continue this thread if it turns out, I still have hang ups here
of my dietpi LMS server

Thanks a lot @mherger for your help!

peddanet wrote: 
> I may add, that these kind of problems maybe were overlapped by my
> former problems with hanging squeezeboxes classic from Logitech. These
> have now been retired. My setup:
> 
> - DietPi (8.0.x.x)/Squeezeboxserver on a Raspberry Pi 4b 2GB RAM with 32
> GB SD card and 4TB external card via USB3.0
> - PicorePlayer with Jivelite on a Pi 4b with 8GB RAM and in the
> bathroom
> - PicorePlayer with Jivelite on a Pi 3b+ with 1GB RAM and 64 GB sd card
> in the kitchen
> - Logitech Squeezebox Classic in the living room (normally and mostly
> every time off)
> 
> So since now I have a "clear" setup with a much reduced risk of having a
> hardware havoc here (Logitechs and their problem of the electrolyte
> capacitor problem), now I see that I might have a problem of a sometimes
> randomly hanging squeezebox server



peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-01-24 Thread peddanet


I may add, that these kind of problems maybe were overlapped by my
former problems with hanging squeezeboxes classic from Logitech. These
have now been retired. My setup:

- DietPi (8.0.x.x)/Squeezeboxserver on a Raspberry Pi 4b 2GB RAM with 32
GB SD card and 4TB external card via USB3.0
- PicorePlayer with Jivelite on a Pi 4b with 8GB RAM and in the
bathroom
- PicorePlayer with Jivelite on a Pi 3b+ with 1GB RAM and 64 GB sd card
in the kitchen
- Logitech Squeezebox Classic in the living room (normally and mostly
every time off)

So since now I have a "clear" setup with a much reduced risk of having a
hardware havoc here (Logitechs and their problem of the electrolyte
capacitor problem), now I see that I might have a problem of a sometimes
randomly hanging squeezebox server



peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-01-24 Thread peddanet


Hi Michael,

mherger wrote: 
> > I am pretty sure it was completely unrespondable from the following
> > devices:
> > - PiCore Player Bathroom
> > - PiCore Player Kitchen
> 
> Are you running Jivelite on them?
> 
> > - Squeezelite (PC)
> 
Yes!

mherger wrote: 
> 
> Squeezelite doesn't have a UI... how do you control it?
> 
> > - SqueezeliteCtrl (Android, did not try)
> 
First commandline, now Squeezelite-X
mherger wrote: 
> 
> What did you try then?...
> 
> > How can I examine the problem more in detail? It could be that the
> 
> Try to figure out whether the process is really hanging. It's still not
> 
> clear to me what UI you're using, and whether you've tested more than
> one.
It is not easy to test, because the phenomenon is happening rarely. It
is not clear not me, how the client could force the server to hang up.
When the phenomenon occurs again, I can try out, if not already tried
out. The process on the server seems not respondng. How could I excamine
responsiveness of the server in case it happens again. Is there a to me
hidden test app? BTW where are the logs. How could I save the process
without killing/restarting it?

BR
Peter



peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-01-23 Thread Michael Herger

I am pretty sure it was completely unrespondable from the following
devices:
- PiCore Player Bathroom
- PiCore Player Kitchen


Are you running Jivelite on them?


- Squeezelite (PC)


Squeezelite doesn't have a UI... how do you control it?


- SqueezeliteCtrl (Android, did not try)


What did you try then?...


How can I examine the problem more in detail? It could be that the


Try to figure out whether the process is really hanging. It's still not 
clear to me what UI you're using, and whether you've tested more than one.

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-01-23 Thread peddanet


Hi Michael,

I am pretty sure it was completely unrespondable from the following
devices:
- PiCore Player Bathroom
- PiCore Player Kitchen
- Squeezelite (PC)
- SqueezeliteCtrl (Android, did not try)

The server itself is running on a Pi4b 2GB with dietpi. It is only my
backup server (so rarely used with average rsync load from usb).

How can I examine the problem more in detail? It could be that the
system has run on a pi 4b 8GB with the same sd card before (now my
PicorePlayer Bathroom because a water drop destroyed all PCIe/USB/
Ethernet connections... :-()

BR
Peter

mherger wrote: 
> > I have the phenomenon, that after a certain time, this can be hours,
> > days, or even more than one week, Squeezeboxserver task stops it
> works
> > or better say, it does not respond any more.
> 
> Doesn't it respond at all, or does it take forever minus a second? :-)
> 
> What player? Can you change track using some UI: Player, web, smartphone
> 
> app?



peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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


Re: [SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-01-23 Thread Michael Herger

I have the phenomenon, that after a certain time, this can be hours,
days, or even more than one week, Squeezeboxserver task stops it works
or better say, it does not respond any more.


Doesn't it respond at all, or does it take forever minus a second? :-)

What player? Can you change track using some UI: Player, web, smartphone 
app?

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


[SlimDevices: SqueezeCenter] DietPi: Logitech Media Server(squeezeboxserver) hangs unexpectedly from time to time

2022-01-22 Thread peddanet


Hi folks,

I have the phenomenon, that after a certain time, this can be hours,
days, or even more than one week, Squeezeboxserver task stops it works
or better say, it does not respond any more.


Code:

$ top says:


36986

Any ideas, what might happen here? Can I use a script to restart the
service somehow?

BR
Peter


+---+
|Filename: 2022-01-22 16_57_10-invert gpio pin with ic - Google Suche.png|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=36986|
+---+


peddanet's Profile: http://forums.slimdevices.com/member.php?userid=70331
View this thread: http://forums.slimdevices.com/showthread.php?t=115812

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