Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
Mine does also report 48% on the radio, while the top output is 50%, so I guess that would go together. But then the device only shows the memory usage from the jive process and not the complete memory. I run my radio on mains too, sometimes on battery when I move it round. icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
slartibartfast wrote: > Does that agree with the memory used reported on the Radio under > Settings/Advanced/Diagnostics/General Info? > > Sent from my Pixel 3a using Tapatalk just as a data point, my radio (which runs fine) shows 48% memory useage at the above location. It is synched to a Touch and streaming when I'm checking. Running latest community firmware and plugged in (not running on battery). *Home:* Pi4B-8GB/pCP8.2.x/4TB>LMS 8.3.x>Transporter, Touch, Boom, Radio (all ethernet) *Cottage:* rPi4B-4GB/pCP8.2.x/4TB>LMS 8.3.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI) *Office:* Win11(64)>foobar2000 *The Wild: *rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite) *Controllers:* iPhone14Pro & iPadAir5 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64) *Files:* -Ripping-: dBpoweramp > FLAC; -Post-rip-: mp3tag, PerfectTunes, TuneFusion; -Streaming:- Spotify garym's Profile: http://forums.slimdevices.com/member.php?userid=17325 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
icebreaker wrote: > I have stopped the sync and did a reboot. When it came back online, no > stream was running and the jive process uses about 42% memory. Another > 12% goes to the jive_alsa process. > So half the memory is used even when it's in "standby / ready" mode.Does that > agree with the memory used reported on the Radio under Settings/Advanced/Diagnostics/General Info? 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=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
I have stopped the sync and did a reboot. When it came back online, no stream was running and the jive process uses about 42% memory. Another 12% goes to the jive_alsa process. So half the memory is used even when it's in "standby / ready" mode. icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
icebreaker wrote: > And I guess it's not simple to remove that. I just wonder what happens > when does url are not available anymore. I mean I have seen it now, but > that would make it not fun anymore to use it. > I don't think mine reboots so often, but now I will keep an eye on that > uptime. > > > > Just after a reboot, when it comes back on and starts playing again, I > have seen up to 20% free memory left. But I need to say, that my players > are all synced. Not sure that makes a difference. > > Also I thought, that everything would come from the server, which is not > true as I figured out now. After disable the firewall rule, the artwork > is back on the screen. That would tell me, it comes from the internet > direct and not from the server.Only 20% free doesn't sound right. I have 62% > free after a reboot. 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=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
ralphy wrote: > The radio, touch and controller reset/reboot/crash every 24 days. It's > a know issue and discussed at length in various threads on the forum, > unfortunately there's no simple fix. > > Calling home is baked into the firmware it's not something that was > added to the community firmware. And I guess it's not simple to remove that. I just wonder what happens when does url are not available anymore. I mean I have seen it now, but that would make it not fun anymore to use it. I don't think mine reboots so often, but now I will keep an eye on that uptime. slartibartfast wrote: > Hmm how much memory is free after a reboot of your radio? I just checked > one of mine and memory used was 50%. After a reboot it was 38%. > > Sent from my Pixel 3a using Tapatalk Just after a reboot, when it comes back on and starts playing again, I have seen up to 20% free memory left. But I need to say, that my players are all synced. Not sure that makes a difference. Also I thought, that everything would come from the server, which is not true as I figured out now. After disable the firewall rule, the artwork is back on the screen. That would tell me, it comes from the internet direct and not from the server. icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
icebreaker wrote: > This was my own fault, as I had my firewall settings really strong. I > have changed it now and those messages are gone. Hopefully that will > help it. At least, the free memory is around 15% now, instead of being > at 5%. > Do you know, why it's important to connect "home"? Because I think I had > that blocking rule in a long time and maybe had a crash one a month or > so.Hmm how much memory is free after a reboot of your radio? I just checked one of mine and memory used was 50%. After a reboot it was 38%. 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=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
icebreaker wrote: > This was my own fault, as I had my firewall settings really strong. I > have changed it now and those messages are gone. Hopefully that will > help it. At least, the free memory is around 15% now, instead of being > at 5%. > Do you know, why it's important to connect "home"? Because I think I had > that blocking rule in a long time and maybe had a crash one a month or > so. The radio, touch and controller reset/reboot/crash every 24 days. It's a know issue and discussed at length in various threads on the forum, unfortunately there's no simple fix. Calling home is baked into the firmware it's not something that was added to the community firmware. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
ralphy wrote: > If you can fix the issue with the radio failing to connect to > mysqueezebox.com that could alleviate the out of memory issue. > > {mysqueezebox.com}: _handshake error: connection refused > > These messages are not normal and squeezeplay is spinning trying to > connect every 4-5 seconds. > > There is likely something unique to your setup that is causing the OOM. This was my own fault, as I had my firewall settings really strong. I have changed it now and those messages are gone. Hopefully that will help it. At least, the free memory is around 15% now, instead of being at 5%. Do you know, why it's important to connect "home"? Because I think I had that blocking rule in a long time and maybe had a crash one a month or so. icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
icebreaker wrote: > Would it be possible to add a swap partition? No the commands required to enable swap are not available. Even if they were you'd risk quickly destroying the flash memory with the constant writes. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
If you can fix the issue with the radio failing to connect to mysqueezebox.com that could alleviate the out of memory issue. {mysqueezebox.com}: _handshake error: connection refused These messages are not normal and squeezeplay is spinning trying to connect every 4-5 seconds. There is likely something unique to your setup that is causing the OOM. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
I'm on communitiy firmware already and have turned aac off. The screensaver I didn't use but have still deactivated it on the server. Even after the change of aac, it keeps crashing. Would it be possible to add a swap partition? icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
Now that you have some recommended configuration changes, I suggest that you try again with the community firmware with those settings. Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now playing\" plugin lots more - see https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
Sadly it has crashed again twice this afternoon, both times out of memory. Any other ideas, what to try? Anybody having the same issue? icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
It only showing a black screen, as it couldn't load the artwork. I have also this a lot in the message log file: Dec 30 15:04:07 squeezeplay: stack traceback: Dec 30 15:04:07 squeezeplay: /usr/share/jive/jive/net/SocketHttp.lua:390: in function 'pump' Dec 30 15:04:07 squeezeplay: /usr/share/jive/jive/net/SocketTcp.lua:200: in function 'writePump' Dec 30 15:04:07 squeezeplay:/usr/share/jive/jive/net/Socket.lua:186: in function Dec 30 15:04:07 squeezeplay: INFO net.comet - Comet.lua:647 Comet {mysqueezebox.com}: _handshake error: connection refused Dec 30 15:04:07 squeezeplay: INFO net.comet - Comet.lua:1014 Comet {mysqueezebox.com}: handleAdvice state=CONNECTING Dec 30 15:04:07 squeezeplay: INFO squeezebox.server - SlimServer.lua:823 disconnected mysqueezebox.com idleTimeoutTriggered: nil Dec 30 15:04:07 squeezeplay: INFO net.comet - Comet.lua:1055 Comet {mysqueezebox.com}: advice is retry, connect in 4.053 seconds Dec 30 15:04:11 squeezeplay: ERROR net.http - SocketHttp.lua:390 SocketHttp {mysqueezebox.com_Chunked}:t_sendRequest.pump: connection refused Dec 30 15:04:11 squeezeplay: stack traceback: Dec 30 15:04:11 squeezeplay: /usr/share/jive/jive/net/SocketHttp.lua:390: in function 'pump' Dec 30 15:04:11 squeezeplay: /usr/share/jive/jive/net/SocketTcp.lua:200: in function 'writePump' Dec 30 15:04:11 squeezeplay:/usr/share/jive/jive/net/Socket.lua:186: in function Dec 30 15:04:11 squeezeplay: INFO net.comet - Comet.lua:647 Comet {mysqueezebox.com}: _handshake error: connection refused Dec 30 15:04:11 squeezeplay: INFO net.comet - Comet.lua:1014 Comet {mysqueezebox.com}: handleAdvice state=CONNECTING Dec 30 15:04:11 squeezeplay: INFO squeezebox.server - SlimServer.lua:823 disconnected mysqueezebox.com idleTimeoutTriggered: nil Dec 30 15:04:11 squeezeplay: INFO net.comet - Comet.lua:1055 Comet {mysqueezebox.com}: advice is retry, connect in 3.031 seconds Dec 30 15:04:14 squeezeplay: ERROR net.http - SocketHttp.lua:390 SocketHttp {mysqueezebox.com_Chunked}:t_sendRequest.pump: connection refused icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
Image screensaver it not that plugin, which would show the picture on the radio? I mean the picture you can see on the server (like covers or logos). Because befor the bbc plugin, that has worked but now on only shows black on the radio, while on the server it's still there. No, the screensaver I was referring to would allow you to show a slideshow of whatever pictures like a picture frame. Showing the playing music's artwork should work as expected. ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
I have disabled the AAC now and also the screensaver plugin. Sofar it looks a lot better. Image screensaver it not that plugin, which would show the picture on the radio? I mean the picture you can see on the server (like covers or logos). Because befor the bbc plugin, that has worked but now on only shows black on the radio, while on the server it's still there. I'll keep monitoring it over the next time. Yes 64MB of RAM is not a lot. icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
Ressources are limited on the Radio, that's true. Don't use the ImageViewer screensaver - it's known to OOM the Radio pretty quickly. ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Radio reboots often, Out of Memory
icebreaker wrote: > Hi all > > I had this problem befor, but not as much as now (more like once per > month). Since of the change in bbc radio, I have to use the bbc sounds > plugin, which works sofar fine. > But more often with this, the radio "freezes" and will reboot itself > then. After a bit diging around, I have found the crashlogs on the > device, which everytime the reasen is, out of memory. > Then I connected to the device and had a look with top command, which to > me shows a very high mem and cpu usage. Is that normal? > I have also tried the community firmware, but didn't get any better. > Factory reset also didn't bring anything. > > Any idea of how to fix this? > > You could try getting your server to do the AAC decoding rather than on the radio, the high bitrate and sample rate BBC AAC streams are on the edge of what the radio can keep up with, especially on the community firmware. On your server settings on Settings->Advanced->File Types set AAC to disabled. That will force the server to do the decoding to flac. The decoding has to be done somewhere, in this instance it is probably better to do it on the server. 39588 +---+ |Filename: Screenshot 2022-12-30 13.21.26.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=39588| +---+ Stuart McLean expectingtofly plugins : 'bbc sounds' (https://github.com/expectingtofly/lms_bbc_sounds_plugin),' global player (uk)' (https://github.com/expectingtofly/lms_globalplayer_plugin), 'times radio' (https://github.com/expectingtofly/lms_times_radio_plugin), 'uk radio player' (https://github.com/expectingtofly/lms_ukradioplayer_plugin), 'virgin radio (uk)' (https://github.com/expectingtofly/lms_virgin_radio_plugin) and the 'radio favourites plugin' (https://github.com/expectingtofly/lms_radio_favourites_plugin) for bbc sounds help see the 'bbc sounds wiki' (https://github.com/expectingtofly/lms_bbc_sounds_plugin/wiki). expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
[SlimDevices: Radio] Radio reboots often, Out of Memory
Hi all I had this problem befor, but not as much as now (more like once per month). Since of the change in bbc radio, I have to use the bbc sounds plugin, which works sofar fine. But more often with this, the radio "freezes" and will reboot itself then. After a bit diging around, I have found the crashlogs on the device, which everytime the reasen is, out of memory. Then I connected to the device and had a look with top command, which to me shows a very high mem and cpu usage. Is that normal? I have also tried the community firmware, but didn't get any better. Factory reset also didn't bring anything. Any idea of how to fix this? top output (while runninig bbc sounds): Mem: 60088K used, 2024K free, 0K shrd, 6704K buff, 18312K cached CPU: 65% usr 6% sys 0% nic 26% idle 0% io 1% irq 0% sirq Load average: 2.16 2.24 1.76 1/68 2503 PID PPID USER STAT VSZ %MEM %CPU COMMAND 755 1 root S35236 57% 53% /usr/bin/jive 788 755 root S 7300 12% 12% jive_alsa -d default -c dac -b 2 -p 2 -s 16 -f 3 crashlog: Dec 30 09:20:11 kernel: [ 3719.422520] Mem-info: Dec 30 09:20:11 kernel: [ 3719.424823] DMA per-cpu: Dec 30 09:20:11 kernel: [ 3719.427389] CPU0: hi:0, btch: 1 usd: 0 Dec 30 09:20:11 kernel: [ 3719.432208] Normal per-cpu: Dec 30 09:20:11 kernel: [ 3719.435045] CPU0: hi:6, btch: 1 usd: 5 Dec 30 09:20:11 kernel: [ 3719.439887] Active:11971 inactive:1399 dirty:0 writeback:0 unstable:0 Dec 30 09:20:11 kernel: [ 3719.439911] free:313 slab:1009 mapped:2191 pagetables:81 bounce:0 Dec 30 09:20:11 kernel: [ 3719.452597] DMA free:600kB min:380kB low:472kB high:568kB active:19024kB inactive:624kB present:24384kB pages_scanned:14710 all_unreclaimable? no Dec 30 09:20:11 kernel: [ 3719.465704] lowmem_reserve[]: 0 39 39 Dec 30 09:20:11 kernel: [ 3719.469467] Normal free:652kB min:632kB low:788kB high:948kB active:28860kB inactive:4972kB present:40640kB pages_scanned:25350 all_unreclaimable? no Dec 30 09:20:11 kernel: [ 3719.482912] lowmem_reserve[]: 0 0 0 Dec 30 09:20:11 kernel: [ 3719.486505] DMA: 16*4kB 1*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 600kB Dec 30 09:20:11 kernel: [ 3719.496703] Normal: 5*4kB 1*8kB 1*16kB 1*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 652kB Dec 30 09:20:11 kernel: [ 3719.507043] 2282 total pagecache pages Dec 30 09:20:11 kernel: [ 3719.510826] Swap cache: add 0, delete 0, find 0/0 Dec 30 09:20:11 kernel: [ 3719.515571] Free swap = 0kB Dec 30 09:20:11 kernel: [ 3719.518477] Total swap = 0kB Dec 30 09:20:11 kernel: [ 3719.524852] 16384 pages of RAM Dec 30 09:20:11 kernel: [ 3719.527945] 426 free pages Dec 30 09:20:11 kernel: [ 3719.530756] 1023 reserved pages Dec 30 09:20:11 kernel: [ 3719.533936] 1009 slab pages Dec 30 09:20:11 kernel: [ 3719.536758] 4827 pages shared Dec 30 09:20:11 kernel: [ 3719.539742] 0 pages swap cached Dec 30 09:20:11 kernel: [ 3719.542916] Out of memory: kill process 780 (jive) score 848 or a child Dec 30 09:20:11 kernel: [ 3719.549625] Killed process 780 (jive) Dec 30 09:20:17 watchdog[687]: pinging process 750 (/var/run/squeezeplay.pid) gave errno = 3 = 'No such process' Dec 30 09:20:17 root: watchdog error 3 icebreaker's Profile: http://forums.slimdevices.com/member.php?userid=66875 View this thread: http://forums.slimdevices.com/showthread.php?t=117307 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio