Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Fri Apr 10, 2020 8:37 am

Wonty wrote:
Fri Apr 10, 2020 2:01 am
kramg wrote:
Thu Apr 09, 2020 11:34 am
Wonty wrote:
Thu Apr 09, 2020 7:53 am
The only thing to check now mate is the version of the fruitbox fle itself as I am running the latest version of 1.16, which is what I see on Github, I couldn't see any archive folder - is this easily located?
So I've found the various versions on GitHub - might be obvious to some but there you go we live on...

worked out I need to add another dependency which i've done and now running fruitbox-buster and have 20 songs loaded...18:45... lets see if we can get beyond 19:45.... :?: :?: :?: :?: :?: :?: :?: :?: :?: :?:
Attachments
Screen Shot 2020-04-10 at 6.31.37 pm.png
Screen Shot 2020-04-10 at 6.31.37 pm.png (40.29 KiB) Viewed 1581 times

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Fri Apr 10, 2020 9:26 am

Wonty wrote:
Fri Apr 10, 2020 8:37 am
Wonty wrote:
Fri Apr 10, 2020 2:01 am
kramg wrote:
Thu Apr 09, 2020 11:34 am
The only thing to check now mate is the version of the fruitbox fle itself as I am running the latest version of 1.16, which is what I see on Github, I couldn't see any archive folder - is this easily located?
So I've found the various versions on GitHub - might be obvious to some but there you go we live on...

worked out I need to add another dependency which i've done and now running fruitbox-buster and have 20 songs loaded...18:45... lets see if we can get beyond 19:45.... :?: :?: :?: :?: :?: :?: :?: :?: :?: :?:
Nope 40mins then boom-shakka-lakka.... until another day my friends, lets try again

Syslog file for those who are interested

Code: Select all

pr 10 19:16:16 raspberrypi rngd[316]: stats: bits received from HRNG source: 80064
Apr 10 19:16:16 raspberrypi rngd[316]: stats: bits sent to kernel pool: 34336
Apr 10 19:16:16 raspberrypi rngd[316]: stats: entropy added to kernel pool: 34336
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2 successes: 4
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2 failures: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Poker: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Runs: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Long run: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: HRNG source speed: (min=306.936; avg=475.653; max=1077.170)Kibits/s
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS tests speed: (min=5.955; avg=7.446; max=16.428)Mibits/s
Apr 10 19:16:16 raspberrypi rngd[316]: stats: Lowest ready-buffers level: 2
Apr 10 19:16:16 raspberrypi rngd[316]: stats: Entropy starvations: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
Apr 10 19:17:01 raspberrypi CRON[2540]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056310] fruitbox-buster invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056320] fruitbox-buster cpuset=/ mems_allowed=0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056336] CPU: 0 PID: 2416 Comm: fruitbox-buster Tainted: G         C        4.19.97-v7+ #1294
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056338] Hardware name: BCM2835
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056363] [<801120c0>] (unwind_backtrace) from [<8010d5f4>] (show_stack+0x20/0x24)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056373] [<8010d5f4>] (show_stack) from [<80845f28>] (dump_stack+0xe0/0x124)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056387] [<80845f28>] (dump_stack) from [<80261790>] (dump_header+0x80/0x250)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056395] [<80261790>] (dump_header) from [<80260af8>] (oom_kill_process+0x358/0x3a8)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056401] [<80260af8>] (oom_kill_process) from [<80261428>] (out_of_memory+0x134/0x37c)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056412] [<80261428>] (out_of_memory) from [<802678a0>] (__alloc_pages_nodemask+0x1024/0x1178)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056422] [<802678a0>] (__alloc_pages_nodemask) from [<8029aa88>] (handle_mm_fault+0x638/0xd68)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056431] [<8029aa88>] (handle_mm_fault) from [<80863c1c>] (do_page_fault+0x344/0x3b8)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056442] [<80863c1c>] (do_page_fault) from [<801167fc>] (do_DataAbort+0x58/0xf4)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056449] [<801167fc>] (do_DataAbort) from [<80101ca4>] (__dabt_usr+0x44/0x60)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056456] Exception stack(0x9f625fb0 to 0x9f625ff8)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056461] 5fa0:                                     4060c168 4060d008 43b32c88 ff3e7de5
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056467] 5fc0: 0000007d 43b36b08 0000078d 00000000 00000000 00000fa0 00003e80 00002ee0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056472] 5fe0: 43b34000 709297d0 000000e5 0010b02c 20000010 ffffffff
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056475] Mem-Info:
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488] active_anon:86669 inactive_anon:86919 isolated_anon:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  active_file:84 inactive_file:89 isolated_file:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  unevictable:4 dirty:0 writeback:0 unstable:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  slab_reclaimable:3136 slab_unreclaimable:6643
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  mapped:16 shmem:5 pagetables:626 bounce:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  free:4025 free_pcp:284 free_cma:2
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056499] Node 0 active_anon:346676kB inactive_anon:347676kB active_file:336kB inactive_file:356kB unevictable:16kB isolated(anon):0kB isolated(file):0kB mapped:64kB dirty:0kB writeback:0kB shmem:20kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056511] Normal free:16100kB min:16384kB low:20480kB high:24576kB active_anon:346680kB inactive_anon:347200kB active_file:84kB inactive_file:40kB unevictable:16kB writepending:0kB present:786432kB managed:765596kB mlocked:16kB kernel_stack:968kB pagetables:2504kB bounce:0kB free_pcp:1136kB local_pcp:248kB free_cma:8kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056513] lowmem_reserve[]: 0 0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056519] Normal: 281*4kB (UEH) 297*8kB (UMEHC) 258*16kB (UMEH) 111*32kB (UMEH) 36*64kB (UME) 12*128kB (UME) 3*256kB (UME) 1*512kB (E) 0*1024kB 0*2048kB 0*4096kB = 16300kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056547] 804 total pagecache pages
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056551] 661 pages in swap cache
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056556] Swap cache stats: add 26465, delete 25804, find 484/673
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056558] Free swap  = 0kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056560] Total swap = 102396kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056563] 196608 pages RAM
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056565] 0 pages HighMem/MovableOnly
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056568] 5209 pages reserved
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056573] 2048 pages cma reserved
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056576] Tasks state (memory values in pages):
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056578] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056603] [    117]     0   117     4459       13    63488      198             0 systemd-journal
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056608] [    142]     0   142     4514       11    20480      207         -1000 systemd-udevd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056617] [    258]   100   258     5603       12    20480      151             0 systemd-timesyn
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056623] [    294]   104   294     1640        2    14336      119          -900 dbus-daemon
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056629] [    296]   108   296     1443       25    14336       49             0 avahi-daemon
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056636] [    301]     0   301     6378        0    20480      204             0 rsyslogd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056642] [    303] 65534   303     1080        0    12288       44             0 thd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056649] [    306]   108   306     1443        0    12288       63             0 avahi-daemon
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056654] [    309]     0   309     3260       17    22528      154             0 systemd-logind
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056660] [    315]     0   315     1987       12    16384       33             0 cron
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056666] [    316]     0   316     6914       10    16384       24             0 rngd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056696] [    321]     0   321     2685        2    18432       99             0 wpa_supplicant
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056701] [    323]     0   323      923        0    10240       50             0 alsactl
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056710] [    392]     0   392     2751       20    20480      129             0 wpa_supplicant
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056715] [    415]     0   415      535        0    10240       32             0 hciattach
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056724] [    420]     0   420     2384        0    18432       91             0 bluetoothd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056729] [    529]     0   529      726       41    10240       65             0 dhcpcd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056736] [    534]     0   534     1405        0    14336      107             0 login
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056741] [    535]     0   535     2681        2    18432      147         -1000 sshd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056749] [    544]  1000   544     3649        0    22528      226             0 systemd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056755] [    547]  1000   547     4177        0    22528      393             0 (sd-pam)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056760] [    559]  1000   559     2092      103    14336      101             0 bash
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056770] [   2408]  1000  2408   231112   172615   849920    21482             0 fruitbox-buster
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056778] Out of memory: Kill process 2408 (fruitbox-buster) score 895 or sacrifice child
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056834] Killed process 2408 (fruitbox-buster) total-vm:924448kB, anon-rss:690460kB, file-rss:0kB, shmem-rss:0kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.227359] oom_reaper: reaped process 2408 (fruitbox-buster), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.292843] bcm2835_audio soc:audio: failed to close VCHI service connection (status=1)
Apr 10 19:27:23 raspberrypi systemd[1]: Started Session c6 of user pi.
Apr 10 19:27:29 raspberrypi systemd[1]: Started Session c7 of user pi.

User avatar
fruitbox
Posts: 470
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Fri Apr 10, 2020 11:31 am

Hi Wonty

FYI, on GitHub you can get all previous fruitbox versions, although the buster version only made an appearance at v1.16 as far as i remember, so you'll have to go back to Stretch.

On Github, I think you just need to click on the fruitbox (stretch) file itself which should then take you onto a new page on which there will be a history button which will show you all the previous releases. You can then download any one you like. I'm not at my PC atm so can't remember exactly how you do this, but there is a post in this discussion about this ages ago if you're up to trying to find it!

Cheers
Mike

P.S. Another thought...what's your CPU/GPU memory split?

kramg
Posts: 37
Joined: Sun Jan 27, 2019 10:49 pm
Location: Ottawa, Canada

Re: Out of Memory : Kill Process

Fri Apr 10, 2020 11:55 am

Wonty wrote:
Fri Apr 10, 2020 9:26 am
Wonty wrote:
Fri Apr 10, 2020 8:37 am
Wonty wrote:
Fri Apr 10, 2020 2:01 am

The only thing to check now mate is the version of the fruitbox fle itself as I am running the latest version of 1.16, which is what I see on Github, I couldn't see any archive folder - is this easily located?
So I've found the various versions on GitHub - might be obvious to some but there you go we live on...

worked out I need to add another dependency which i've done and now running fruitbox-buster and have 20 songs loaded...18:45... lets see if we can get beyond 19:45.... :?: :?: :?: :?: :?: :?: :?: :?: :?: :?:
Nope 40mins then boom-shakka-lakka.... until another day my friends, lets try again

Syslog file for those who are interested

Code: Select all

pr 10 19:16:16 raspberrypi rngd[316]: stats: bits received from HRNG source: 80064
Apr 10 19:16:16 raspberrypi rngd[316]: stats: bits sent to kernel pool: 34336
Apr 10 19:16:16 raspberrypi rngd[316]: stats: entropy added to kernel pool: 34336
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2 successes: 4
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2 failures: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Poker: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Runs: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Long run: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: HRNG source speed: (min=306.936; avg=475.653; max=1077.170)Kibits/s
Apr 10 19:16:16 raspberrypi rngd[316]: stats: FIPS tests speed: (min=5.955; avg=7.446; max=16.428)Mibits/s
Apr 10 19:16:16 raspberrypi rngd[316]: stats: Lowest ready-buffers level: 2
Apr 10 19:16:16 raspberrypi rngd[316]: stats: Entropy starvations: 0
Apr 10 19:16:16 raspberrypi rngd[316]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
Apr 10 19:17:01 raspberrypi CRON[2540]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056310] fruitbox-buster invoked oom-killer: gfp_mask=0x6200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056320] fruitbox-buster cpuset=/ mems_allowed=0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056336] CPU: 0 PID: 2416 Comm: fruitbox-buster Tainted: G         C        4.19.97-v7+ #1294
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056338] Hardware name: BCM2835
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056363] [<801120c0>] (unwind_backtrace) from [<8010d5f4>] (show_stack+0x20/0x24)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056373] [<8010d5f4>] (show_stack) from [<80845f28>] (dump_stack+0xe0/0x124)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056387] [<80845f28>] (dump_stack) from [<80261790>] (dump_header+0x80/0x250)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056395] [<80261790>] (dump_header) from [<80260af8>] (oom_kill_process+0x358/0x3a8)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056401] [<80260af8>] (oom_kill_process) from [<80261428>] (out_of_memory+0x134/0x37c)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056412] [<80261428>] (out_of_memory) from [<802678a0>] (__alloc_pages_nodemask+0x1024/0x1178)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056422] [<802678a0>] (__alloc_pages_nodemask) from [<8029aa88>] (handle_mm_fault+0x638/0xd68)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056431] [<8029aa88>] (handle_mm_fault) from [<80863c1c>] (do_page_fault+0x344/0x3b8)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056442] [<80863c1c>] (do_page_fault) from [<801167fc>] (do_DataAbort+0x58/0xf4)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056449] [<801167fc>] (do_DataAbort) from [<80101ca4>] (__dabt_usr+0x44/0x60)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056456] Exception stack(0x9f625fb0 to 0x9f625ff8)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056461] 5fa0:                                     4060c168 4060d008 43b32c88 ff3e7de5
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056467] 5fc0: 0000007d 43b36b08 0000078d 00000000 00000000 00000fa0 00003e80 00002ee0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056472] 5fe0: 43b34000 709297d0 000000e5 0010b02c 20000010 ffffffff
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056475] Mem-Info:
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488] active_anon:86669 inactive_anon:86919 isolated_anon:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  active_file:84 inactive_file:89 isolated_file:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  unevictable:4 dirty:0 writeback:0 unstable:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  slab_reclaimable:3136 slab_unreclaimable:6643
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  mapped:16 shmem:5 pagetables:626 bounce:0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056488]  free:4025 free_pcp:284 free_cma:2
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056499] Node 0 active_anon:346676kB inactive_anon:347676kB active_file:336kB inactive_file:356kB unevictable:16kB isolated(anon):0kB isolated(file):0kB mapped:64kB dirty:0kB writeback:0kB shmem:20kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056511] Normal free:16100kB min:16384kB low:20480kB high:24576kB active_anon:346680kB inactive_anon:347200kB active_file:84kB inactive_file:40kB unevictable:16kB writepending:0kB present:786432kB managed:765596kB mlocked:16kB kernel_stack:968kB pagetables:2504kB bounce:0kB free_pcp:1136kB local_pcp:248kB free_cma:8kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056513] lowmem_reserve[]: 0 0
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056519] Normal: 281*4kB (UEH) 297*8kB (UMEHC) 258*16kB (UMEH) 111*32kB (UMEH) 36*64kB (UME) 12*128kB (UME) 3*256kB (UME) 1*512kB (E) 0*1024kB 0*2048kB 0*4096kB = 16300kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056547] 804 total pagecache pages
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056551] 661 pages in swap cache
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056556] Swap cache stats: add 26465, delete 25804, find 484/673
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056558] Free swap  = 0kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056560] Total swap = 102396kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056563] 196608 pages RAM
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056565] 0 pages HighMem/MovableOnly
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056568] 5209 pages reserved
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056573] 2048 pages cma reserved
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056576] Tasks state (memory values in pages):
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056578] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056603] [    117]     0   117     4459       13    63488      198             0 systemd-journal
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056608] [    142]     0   142     4514       11    20480      207         -1000 systemd-udevd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056617] [    258]   100   258     5603       12    20480      151             0 systemd-timesyn
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056623] [    294]   104   294     1640        2    14336      119          -900 dbus-daemon
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056629] [    296]   108   296     1443       25    14336       49             0 avahi-daemon
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056636] [    301]     0   301     6378        0    20480      204             0 rsyslogd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056642] [    303] 65534   303     1080        0    12288       44             0 thd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056649] [    306]   108   306     1443        0    12288       63             0 avahi-daemon
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056654] [    309]     0   309     3260       17    22528      154             0 systemd-logind
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056660] [    315]     0   315     1987       12    16384       33             0 cron
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056666] [    316]     0   316     6914       10    16384       24             0 rngd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056696] [    321]     0   321     2685        2    18432       99             0 wpa_supplicant
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056701] [    323]     0   323      923        0    10240       50             0 alsactl
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056710] [    392]     0   392     2751       20    20480      129             0 wpa_supplicant
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056715] [    415]     0   415      535        0    10240       32             0 hciattach
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056724] [    420]     0   420     2384        0    18432       91             0 bluetoothd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056729] [    529]     0   529      726       41    10240       65             0 dhcpcd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056736] [    534]     0   534     1405        0    14336      107             0 login
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056741] [    535]     0   535     2681        2    18432      147         -1000 sshd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056749] [    544]  1000   544     3649        0    22528      226             0 systemd
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056755] [    547]  1000   547     4177        0    22528      393             0 (sd-pam)
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056760] [    559]  1000   559     2092      103    14336      101             0 bash
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056770] [   2408]  1000  2408   231112   172615   849920    21482             0 fruitbox-buster
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056778] Out of memory: Kill process 2408 (fruitbox-buster) score 895 or sacrifice child
Apr 10 19:23:56 raspberrypi kernel: [ 4068.056834] Killed process 2408 (fruitbox-buster) total-vm:924448kB, anon-rss:690460kB, file-rss:0kB, shmem-rss:0kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.227359] oom_reaper: reaped process 2408 (fruitbox-buster), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Apr 10 19:23:56 raspberrypi kernel: [ 4068.292843] bcm2835_audio soc:audio: failed to close VCHI service connection (status=1)
Apr 10 19:27:23 raspberrypi systemd[1]: Started Session c6 of user pi.
Apr 10 19:27:29 raspberrypi systemd[1]: Started Session c7 of user pi.
Wonty,

Something doesn't add up - there is no v1.14 for buster. I'm tied up at the moment getting my camper (caravan) out of storage and set up as temporary accommodations for a friend, but, give me a couple of days and I'll pull my Pi3 from it's current duties and see if I can recreate your issues.

One question: Does it only crash if there's music playing or will it crash when it's idling waiting for an input? Not that it helps any at this point, I just want to know if I can just flash it up and wait or if I have to punch in an hours worth of music.

Cheers,

- gustav

User avatar
Paul Webster
Posts: 822
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: fruitbox MP3 jukebox

Fri Apr 10, 2020 6:56 pm

kramg wrote:
Sat Apr 04, 2020 9:52 pm
Paul,

This is something that's been on my mind for quite a while and, with the inordinate amount of free time I seem to have on my hands at the moment, I was thinking I might give it a shot. I have limited python and even more limited C++ skills so I will be taking this slowly, likely starting by simply piping the fruitbox queue to a helper program which would then communicate to my slimserver (not unlike what others have done to display "Now Playing" information on external displays). If you are interested I would be happy to collaborate, especially if you have some programming skills :-) If we come up with something useful we can push it back to Mike for inclusion in the repository if he is so inclined.

Cheers,

- gustav
Sorry for the late reply Gustav. I didn't get a notification from the forum.
I've done some Perl in LMS and small amounts of Python but no C++ so I suspect that my help would not amount to much at this stage ... apart from perhaps as a sounding board and tester.
I have not yet installed Fruitbox so I think I should do that first to become more familiar with it.

kramg
Posts: 37
Joined: Sun Jan 27, 2019 10:49 pm
Location: Ottawa, Canada

Re: Fruitbox and LMS

Fri Apr 10, 2020 9:01 pm

Paul Webster wrote:
Sat Apr 04, 2020 12:33 pm
Thinking aloud ... how feasible would it be to split the music indexing and fetching from the display/selection part?
More like a server/client configuration.
This might then make it easy to have multiple players running off same data and (what I am thinking about) replacing the back-end with something else (Squeezebox Server - LMS).
kramg wrote:
Sat Apr 04, 2020 9:52 pm
...I was thinking I might give it a shot. I have limited python and even more limited C++ skills so I will be taking this slowly, likely starting by simply piping the fruitbox queue to a helper program which would then communicate to my slimserver (not unlike what others have done to display "Now Playing" information on external displays)...
Paul Webster wrote:
Fri Apr 10, 2020 6:56 pm
I've done some Perl in LMS and small amounts of Python but no C++ so I suspect that my help would not amount to much at this stage ... apart from perhaps as a sounding board and tester.
I have not yet installed Fruitbox so I think I should do that first to become more familiar with it.
Paul,

Don't sell yourself short - I'm thinking that Python should be able to do what I have in mind for the first step, and if you have experience with LMS you're ahead of me as all I've done is manually send a few commands from a terminal to my LMS. I'll set something up on GitHub so that this can be worked without bogging down the forum. Once I've done that I'll post here and you can join me there if you like. In the meantime definitely get Fruitbox installed and play around a bit. I think using the 'Output' parameter of a [status] object will be the key to the Fruitbox side of the equation for this first step.

Cheers,

- gustav

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Fri Apr 10, 2020 9:47 pm

fruitbox wrote:
Fri Apr 10, 2020 11:31 am
Hi Wonty

FYI, on GitHub you can get all previous fruitbox versions, although the buster version only made an appearance at v1.16 as far as i remember, so you'll have to go back to Stretch.

On Github, I think you just need to click on the fruitbox (stretch) file itself which should then take you onto a new page on which there will be a history button which will show you all the previous releases. You can then download any one you like. I'm not at my PC atm so can't remember exactly how you do this, but there is a post in this discussion about this ages ago if you're up to trying to find it!

Cheers
Mike

P.S. Another thought...what's your CPU/GPU memory split?
That's great Mike, thanks for letting us know, more than happy to dive in and find the answers - I'll work it out mate, easy as :)

As for the CPU/GPU split I have been running the GPU at a value of 256, I tried raising this but have learnt through learning about memory and swap files that less is more. I've just set the Rpi going at a split setting of 128; I'll see how it fairs. Easy as mate

Scot

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Fri Apr 10, 2020 9:58 pm

kramg wrote:
Fri Apr 10, 2020 11:55 am
Wonty wrote:
Fri Apr 10, 2020 9:26 am
Wonty wrote:
Fri Apr 10, 2020 8:37 am
Wonty,

Something doesn't add up - there is no v1.14 for buster. I'm tied up at the moment getting my camper (caravan) out of storage and set up as temporary accommodations for a friend, but, give me a couple of days and I'll pull my Pi3 from it's current duties and see if I can recreate your issues.

One question: Does it only crash if there's music playing or will it crash when it's idling waiting for an input? Not that it helps any at this point, I just want to know if I can just flash it up and wait or if I have to punch in an hours worth of music.

Cheers,

- gustav
Now then mate, need to say one thing here I appreciate all the help you are giving me here, right now though your mate needs that camper more than anything - health, family and friends come above all else and you need to get on that before all else. My problems are easily answered with a flick of a power switch, your mate's are another level - dive into that project and we can pick up some other time, its all good.

Out of curtesy and how much you have helped to date to answer your questions, yeah I did a typo with the version history of the programmes, got that figured out - so will sort that out and give it a whirl. As for the programmes and that, yeah all I do now is flash the card and add some songs so it can autoplay them basically as I know now it doesn't matter about how many songs are on there.

So apart things I am going to try is the rasbian-stretch-lite image with the earlier fruitbox versions, I am going to look at disabling the SSH setting on the RPi as I have been trying to learn how to read the syslog and messages file - some of the activity prior to the oom killer being called is network based - Fruitbox is instigating the killer to fire up. Looking at the message log file there seems (to me) a lot of network based tasks so going to look at disabling SSH - probably will have no effect but I know I have that enabled which is easy to try,

For now though mate, please go and sort the camper out and get life sorted - I know how much my kombi is getting me through this isolation :)

Take it easy mate, and speak soon.

Scot

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Sat Apr 11, 2020 6:35 am

Now then folks, another day another set of similar results... I've tried a few things from what I've learned from interpreting the syslog and message files created post oom killer striking and pretty much i hit 40mins and the programme is killed regardless of using the current version of Rasbian lite or a former creation and likewise for fruitbox (the earliest version i have tried is 1.06) everything results in the same result.

The crash always occurs between one song ending and a new song starting.

I have also completed hardware swaps for all the RPi (RPI // SD Card (Sandisk Extreme - 8Gb, 32Gb and 128Gb) / HDMI cable / Power Supply Unit (only official RPi devices used) / USB keyboard)

The only thing I can place it down to is how I create the image... so using the forum post code listing command to try and stop yet another truly long post from me - this is what I do pretty much step by step to build my fruitbox.

Code: Select all

•	Downloaded xxxx-xx-xx-raspbian-xxx-lite.zip from from https://www.raspberrypi.org/downloads/raspbian/ via UTorrent Web
•	Checked the validity of the file in MACOS terminal window with the command
•	shasum -a 256 /Users/xxxxx/Downloads/xxxx-xx-xx-raspbian-xxx-lite.zip
•	MACOS Terminal window returns
•	xxxxxxxxxxx  /Users/xxxxx/Downloads/xxxx-xx-xx-raspbian-xxx-lite.zip
•	Check that the checksum matches Sha-256 value on raspberrypi.org of xxxxxxxxxxx
•	Extract zipfile with MACOS Archive Extract
•	Use balenaEtcher (Version 1.5.80 (1.5.80)) with extracted image xxxx-xx-xx-raspbian-xxx-lite.img
•	Transfer Micro SD card from Mac to RPi
•	Fire up Rpi the first time
•	Allow the Rpi to resize card and reboot
•	Login into the Rpi
•	Enter sudo raspi-config, set the following settings
o	WIFI country setting
o	Set timezone to Australia / Brisbane
o	GPU value expand from 64 to 256
o	Boot to CLI with auto user name login
o	Enable SSH
o	Finish and reboot
o	During this phase of the reboot, the Rpi always pauses on the Hostname Service but will continue to Command Line prompt
•	Enter sudo raspi-config, set up the Wireless Name and Key for home router, once done Finish
•	Check connection to WIFI using ifconfig, confirming IP address is made and active
o	If the IP is not showing, first of all reboot by typing
o	Sudo reboot
o	Try ifconfig again, if still not working try typing
	sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
	Confirm that the country is set and the SSID and passphrase is correct
	Press CTRL and the X key 
	Type Y and press Return
•	Sudo reboot
o	Try ifconfig again, this should now be fixed
•	Connect via MACOS terminal window
•	Run the following command to install dependencies
•	sudo apt-get install libsm-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxpm-dev libvorbis-dev libtheora-dev
•	to run fruitbox-buster you need to also load the following dependency
•	sudo apt-get install libglvnd-dev
•	On completion of all dependencies installed, run the following command
•	https://github.com/chundermike/rpi-fruitbox/raw/master/install.sh
•	On completion run the following command to make install a executable file
•	chmod +x ./install.sh 
•	On completion run the following command
•	source ./install.sh 
•	Terminate MACOS terminal connection
•	Open Cyberduck on MACOS and establish connection to Pi and initiate active Session
•	Create folder Music on the home drive of the MicroSD card
•	Copy MP3 files to the Music folder created on the MicroSD card via Cyberduck
•	Once files transferred, terminate Cyberduck connection
•	From the command line on the Rpi run the command
•	cd rpi-fruitbox-master
•	From the command line on the Rpi run the command
•	./fruitbox --cfg skins/WallJuke/fruitbox.cfg
•	./fruitbox-buster --cfg skins/WallJuke/fruitbox.cfg
•	Wait for the fruitbox.db file to be created and WallJuke skin to become active
•	play files by selecting on the keyboard
So that's what i do - am I doing it right?

If this helps anyone then I am glad my adventure has helped you, if you did use the steps enclosed but needed to tweak something I do in order to get your fruitbox working could you please respond to this post as I would truly appreciate your time. Thank you

Scot

User avatar
fruitbox
Posts: 470
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Sat Apr 11, 2020 8:08 am

Wonty wrote:
Sat Apr 11, 2020 6:35 am

If this helps anyone then I am glad my adventure has helped you, if you did use the steps enclosed but needed to tweak something I do in order to get your fruitbox working could you please respond to this post as I would truly appreciate your time. Thank you

Scot
Hi Scot

First of all can I say you are probably the most patient and persistent fruitbox user I've come across! So sorry you're having all this hassle; wish there was something obvious so we could get you going quickly.

I may just try and generate you a img file or even stick an SD card in the post for you as a last resort.

Your steps seem fine to me. The only things that are different to my steps are...
  • I don't bother checking the SD image checksum
  • I use Windows PC not Mac
  • I use a wired ethernet connection to the Pi and not WiFi
A long shot, but maybe worth changing the last two things if you can?

Cheers
Mike

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Sat Apr 11, 2020 11:43 pm

fruitbox wrote:
Sat Apr 11, 2020 8:08 am
Wonty wrote:
Sat Apr 11, 2020 6:35 am
Hi Scot

First of all can I say you are probably the most patient and persistent fruitbox user I've come across! So sorry you're having all this hassle; wish there was something obvious so we could get you going quickly.

I may just try and generate you a img file or even stick an SD card in the post for you as a last resort.

Your steps seem fine to me. The only things that are different to my steps are...
  • I don't bother checking the SD image checksum
  • I use Windows PC not Mac
  • I use a wired ethernet connection to the Pi and not WiFi
A long shot, but maybe worth changing the last two things if you can?

Cheers
Mike
Hi Mike,

Thanks for the kind words it is appreciated I promise. The whole journey was to learn what a Rpi could do and how I can interact with it. Honestly I've learned a lot, not only just about the Rpi but also how to use my MAC, up to now I've only ever done video/photo/graphics editing and creation - now I don't think I am ever out of terminal, plus I'm learning the wonders of Github :-D The main reason I keep pushing with this is I love the programme, its so good - I love music and what a way to play it!

Regarding the offer of an img file I will gladly take you up on the offer, after giving your suggestions a go - I so want to work out why this is not working :-D I think it has nothing to do with Fruitbox!

Regarding the checksums suggestion from Gustav for me this was great to know as it assures me I know now the files I have are as intended so in my head its giving me the right baseline to start from.

I will try and get hold of a Windows machine from my mate and try the whole build with Windows OS to see if this makes a difference.

The one that really intrigues me is the third dot point - WIFI v Wired, this is where I actually feel the conflict is initiating from. Just from three observations, on start-up the hostname services can take up to 60+seconds to get past, before OOM killer is fired up the log files are littered with dhcpd service requests coupled with the whole of the AUS internet roll out (from service to HW (router quality)) is poor to be kind.

Yesterday I spent some time enabling and disabling networking to see if performance would differ there were some wins. The best thing is I have not done an entire build just off the wired network - I've always gone in and setup WIFI at some point. Will give this one a whirl tomorrow (family day has been called :-D) - will let you know how it goes. Fingers crossed!

Hope your day is a good one.
Scot

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Sun Apr 12, 2020 9:20 am

Wonty wrote:
Sat Apr 11, 2020 11:43 pm
fruitbox wrote:
Sat Apr 11, 2020 8:08 am
Wonty wrote:
Sat Apr 11, 2020 6:35 am
......

The one that really intrigues me is the third dot point - WIFI v Wired, this is where I actually feel the conflict is initiating from. Just from three observations, on start-up the hostname services can take up to 60+seconds to get past, before OOM killer is fired up the log files are littered with dhcpd service requests coupled with the whole of the AUS internet roll out (from service to HW (router quality)) is poor to be kind.

Yesterday I spent some time enabling and disabling networking to see if performance would differ there were some wins. The best thing is I have not done an entire build just off the wired network - I've always gone in and setup WIFI at some point. Will give this one a whirl tomorrow (family day has been called :-D) - will let you know how it goes. Fingers crossed!....
Hi Mike, Gustav et al,

So I managed to get a new build done today (went with current Buster lite image) [yeah I get it was family time but nap time meant play time!] - so I did this build all from the Rpi direct wired into my router, I engaged SSH just to copy songs to the Micro SD card - disconnected the ethernet cable from the Rpi and turned SSH off - again same results with the killer coming in at 40mins

Ran the build again this time kept the Router attached same result...

I've been thinking I've got a RPi 4 so thinking of giving that a whirl in the morning - cant see any restrictions in just swapping the SD card into that board and add the cooling onto it.... Again will see what comes out of that.... and let you know :)

Have a good Easter everyone.

User avatar
fruitbox
Posts: 470
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Sun Apr 12, 2020 10:57 am

Hi Scot

Unfortunately fruitbox doesn't work yet with the Pi4...it's because all the graphics subsystem has changed and the graphics library I'm using (Allegro) doesn't work with it yet. I've been talking to the Allegro dev guys and they are currently trying to fix it....hopefully in time for the next fruitbox release.

I'll get that image file done for you...

Cheers
Mike

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Mon Apr 13, 2020 12:06 am

fruitbox wrote:
Sun Apr 12, 2020 10:57 am
Hi Scot

Unfortunately fruitbox doesn't work yet with the Pi4.....
No worries at all Mike, if you could pull an image that would be fantastic mate - as i'm going to have to admit defeat (for now). I've had another go this morning by reducing the GPU split to 128 from 256 and by increasing the swap file size (/etc/dphys-swapfile) from the standard 100 to 1024 to see if there was a spike in the System resource occurring around the 40min mark that the size increase would help the RPi do what it was doing then continue about its business with fruitbox; I was happy trading SD Card wear for a few bucks.

As predicted, I got a longer running than the std 40mins achieving 1hr 52mins but it still dropped. I checked the Syslog/Message files and found it was the same reasons as before. I want to really go through the syslog/message files to see if I can pick up where the issue is driving from - no idea if I will work it out, but again the journey was about learning and I'm defo doing that more than if everything worked from day 1 is my thought.

During my time playing with the Rpi I've also got a couple of other projects running / starting that I need to order some bits for - so going to add a pi-zero to the order so I can try the build on there and see if everything else changes to the run time - like i say I do like to work out why things stumble.

As I say at the top if you are able to pull an image together at some point Mike that would be amazing as I would love to just see if it's ultimately something that I am doing wrong in the build process - hand on heart I'm bloody sure it is still :-D Seriously though mate please don't rush it, life is good and I will keep tracking on with threads and give them a pull - its all learning.

Anyway will keep reading and posting on what I find on my journey.

Scot

ae0705t
Posts: 3
Joined: Mon Apr 13, 2020 12:20 am

Re: fruitbox MP3 jukebox

Mon Apr 13, 2020 12:31 am

Confession - very new newbie. So, I could have made a rookie mistake. But I have searched this forum & other sites and don't seem to find an answer.

Issue is getting a 10.1 SunFounder Touchscreen to be responsive while using the TouchOne skin.

I have created a fruitbox.btn file based on one I found and have changed all the button settings to = Touch. I have the file placed just inside the rpi-fruitbox-master folder

I have at the top of the file InputDevice = (have also seen it as TouchDevice =, but doesn't seem to make a difference) a variety of names.

Based on Evtest, I believe the name is "HID 222a:0001"; but admittedly scrolls by so fast, not 100% sure. I have tried that, just HID and SunFounder. All to the same results - the keyboard will not work, but neither does the touchscreen.

Any thoughts would be MOST appreciated.

User avatar
fruitbox
Posts: 470
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Mon Apr 13, 2020 3:11 pm

ae0705t wrote:
Mon Apr 13, 2020 12:31 am
Confession - very new newbie. So, I could have made a rookie mistake. But I have searched this forum & other sites and don't seem to find an answer.

Issue is getting a 10.1 SunFounder Touchscreen to be responsive while using the TouchOne skin.

I have created a fruitbox.btn file based on one I found and have changed all the button settings to = Touch. I have the file placed just inside the rpi-fruitbox-master folder

I have at the top of the file InputDevice = (have also seen it as TouchDevice =, but doesn't seem to make a difference) a variety of names.

Based on Evtest, I believe the name is "HID 222a:0001"; but admittedly scrolls by so fast, not 100% sure. I have tried that, just HID and SunFounder. All to the same results - the keyboard will not work, but neither does the touchscreen.

Any thoughts would be MOST appreciated.
Hi

It may be that your touchscreen doesn't work with fruitbox (currently ELO touchscreens don't either). You need to run fruitbox as follows :

Code: Select all

sudo ./fruitbox --config-buttons --calibrate-touch
...this will allow you to set up the buttons for touch, but also allow you to calibrate your touchscreen (very important), and create a fruitbox.btn file rather than manually creating one by hand. Then run fruitbox as normal after that. If the touchscreen doesn't work, please let me know and we can do some debugging.

Cheers,
Mike

User avatar
fruitbox
Posts: 470
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Mon Apr 13, 2020 3:14 pm

Wonty wrote:
Mon Apr 13, 2020 12:06 am

No worries at all Mike, if you could pull an image that would be fantastic mate - as i'm going to have to admit defeat (for now). I've had another go this morning by reducing the GPU split to 128 from 256 and by increasing the swap file size (/etc/dphys-swapfile) from the standard 100 to 1024 to see if there was a spike in the System resource occurring around the 40min mark that the size increase would help the RPi do what it was doing then continue about its business with fruitbox; I was happy trading SD Card wear for a few bucks.

Scot
Hi Scot,

I've put an img here...

https://www.dropbox.com/s/eckka8ogi02dr ... g.zip?dl=0

It's based on a Buster release, and will auto-boot into the fruitbox skin chooser menu, and expects the mp3 files to be on a USB memory stick. Make sure the memory stick is inserted before you power up your Pi. Don't try it on a Pi4 though please.

I've had it running for over two hours now with no issues. Let me know how you get on.

Cheers,
Mike

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Mon Apr 13, 2020 11:08 pm

fruitbox wrote:
Mon Apr 13, 2020 3:14 pm
Wonty wrote:
Mon Apr 13, 2020 12:06 am

No worries at all Mike, if you could pull an image that would be fantastic mate - as i'm going to have to admit defeat (for now). I've had another go this morning by reducing the GPU split to 128 from 256 and by increasing the swap file size (/etc/dphys-swapfile) from the standard 100 to 1024 to see if there was a spike in the System resource occurring around the 40min mark that the size increase would help the RPi do what it was doing then continue about its business with fruitbox; I was happy trading SD Card wear for a few bucks.

Scot
Hi Scot,

I've put an img here...

https://www.dropbox.com/s/eckka8ogi02dr ... g.zip?dl=0

It's based on a Buster release, and will auto-boot into the fruitbox skin chooser menu, and expects the mp3 files to be on a USB memory stick. Make sure the memory stick is inserted before you power up your Pi. Don't try it on a Pi4 though please.

I've had it running for over two hours now with no issues. Let me know how you get on.

Cheers,
Mike
Hey Mike,

This is totally brilliant, thank you so much for going to this trouble - so keen to get this dropped on to the Rpi - I'm downloading as I type!

I'll get everything going on the 3B Rpi board that I have been working with so far - will let you know how I go, thank you so much for this mate, hand on heart this is so appreciated.

Scot

ericd43056
Posts: 2
Joined: Tue Apr 14, 2020 3:09 am

Re: fruitbox MP3 jukebox

Tue Apr 14, 2020 3:16 am

I've encountered a problem. I'm not sure how I did this but when I boot up, Fruitbox automatically launches which is good, but when I escape out, the pi reboots, it will not allow me to go into the gui or even a command line, it simply reboots. No matter what I do, I am either in fruitbox or I reboot. Help!!!

Thanks!

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Tue Apr 14, 2020 6:30 am

Wonty wrote:
Mon Apr 13, 2020 11:08 pm
fruitbox wrote:
Mon Apr 13, 2020 3:14 pm
Wonty wrote:
Mon Apr 13, 2020 12:06 am

No worries at all Mike, if you could pull an image that would be fantastic mate - as i'm going to have to admit defeat (for now). I've had another go this morning by reducing the GPU split to 128 from 256 and by increasing the swap file size (/etc/dphys-swapfile) from the standard 100 to 1024 to see if there was a spike in the System resource occurring around the 40min mark that the size increase would help the RPi do what it was doing then continue about its business with fruitbox; I was happy trading SD Card wear for a few bucks.

Scot
I've had it running for over two hours now with no issues. Let me know how you get on.

Cheers,
Mike
Hi Mike, I've downloaded the image and again the thing banged out after 40mins of up time, it gets killed once the 40min duration comes up and i trans through the next song. I've tried kernel updates, network settings as I have been trying to resolve why the hostname hangs for 60seconds (resolved) and it still pops. Will go again in the morning while I work all day with it... will keep you posted - order a RPI zero today so will ultimately try it out on that at somepoint this week I am guessing as well... so want to work out what this is doing!

:-D hope your day is a good one mate.

Scot

----- update - just trying another test... this method Formatted SD card, Stuck Noobs on it, Installed Rasbian Buster Lite from setup, installed Fruitbox, disabled the Networking wait command (I'm still sure its something to do with this), GPU split 256, copied 10 different songs onto SD card, been running now 15mins.. will report back how it goes.
Last edited by Wonty on Tue Apr 14, 2020 8:36 am, edited 1 time in total.

User avatar
fruitbox
Posts: 470
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Tue Apr 14, 2020 7:20 am

Hi Scot

That's so weird...I tried mine on a 3B+, so looks like we have the same hardware. What other differences can there be? The songs themselves perhaps? Maybe worth cutting your database down to just one song, and go from there...if it still bombs, you could send me that one mp3 file so I could try it on my setup?

Cheers
Mike

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Tue Apr 14, 2020 8:39 am

fruitbox wrote:
Tue Apr 14, 2020 7:20 am
Hi Scot

That's so weird...I tried mine on a 3B+, so looks like we have the same hardware. What other differences can there be? The songs themselves perhaps? Maybe worth cutting your database down to just one song, and go from there...if it still bombs, you could send me that one mp3 file so I could try it on my setup?

Cheers
Mike
Yeah totally mate, I'm struggling to see what it is, i'm 100% sure its not fruitbox, the pain is the hardware I am currently using I'll just flip the SD card out, stick in my kodi build for tonight and stream all night long. I'll just see how my next test plays out, else I will sort the song out and we both can give it a go.

Just thought, I will run the image that I got from you last this morning and trial it will just one song on the usb drive mate. Will need to do this is in the morning as that build is in the office and I'm in the house now.. i'll run it all day tomorrow mate while I'm at the desk.

Speak soon and sincere thanks for all this help mate. Scot

----- Update the NOOBS version bombed at 40mins as well. Will give your image and a single song a run in the morning mate! This will not beat me :-D

User avatar
fruitbox
Posts: 470
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Tue Apr 14, 2020 11:28 am

ericd43056 wrote:
Tue Apr 14, 2020 3:16 am
I've encountered a problem. I'm not sure how I did this but when I boot up, Fruitbox automatically launches which is good, but when I escape out, the pi reboots, it will not allow me to go into the gui or even a command line, it simply reboots. No matter what I do, I am either in fruitbox or I reboot. Help!!!

Thanks!
Hi

Are you using the image I released yesterday, or are you installing fruitbox manually?

Cheers
Mike

kramg
Posts: 37
Joined: Sun Jan 27, 2019 10:49 pm
Location: Ottawa, Canada

Re: fruitbox MP3 jukebox - Out of Memory : Kill Process

Wed Apr 15, 2020 2:41 am

fruitbox wrote:
Tue Apr 14, 2020 7:20 am
Hi Scot

That's so weird...I tried mine on a 3B+, so looks like we have the same hardware. What other differences can there be? The songs themselves perhaps? Maybe worth cutting your database down to just one song, and go from there...if it still bombs, you could send me that one mp3 file so I could try it on my setup?

Cheers
Mike
Ditto. 3B set-up over wifi. Running now for 2 hours with no glitch.

Scot - it may be a shot in the dark, but, what do you get if you log in to your pi from a terminal while fruitbox is playing tunes and run "top" ?

<shift>+M will sort it by memory usage

You should get something like:

Code: Select all

pi@raspberrypi:~ $ top

top - 22:37:58 up  3:15,  2 users,  load average: 1.01, 1.06, 1.07
Tasks: 105 total,   1 running, 104 sleeping,   0 stopped,   0 zombie
%Cpu(s): 26.4 us,  2.4 sy,  0.0 ni, 71.2 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :    747.7 total,     36.9 free,     73.9 used,    636.8 buff/cache
MiB Swap:    100.0 total,     99.0 free,      1.0 used.    604.9 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                          
 2784 pi        20   0  189076  25724   8300 S 110.6   3.4 169:03.17 fruitbox-buster                                  
    1 root      20   0   33700   8140   6476 S   0.0   1.1   0:06.86 systemd                                          
  116 root      20   0   30828   6880   6036 S   0.0   0.9   0:00.85 systemd-journal  
On my system fruitbox seems to vary between 3.4 - 3.9% memory usage. What does your's say for fruitbox? Is there anything showing a higher memory usage? . If not, maybe watch it for a while and see if fruitbox memory usage grows?

Cheers,

- gustav

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Wed Apr 15, 2020 4:34 am

fruitbox wrote:
Tue Apr 14, 2020 7:20 am
Hi Scot

That's so weird...I tried mine on a 3B+, so looks like we have the same hardware. What other differences can there be? The songs themselves perhaps? Maybe worth cutting your database down to just one song, and go from there...if it still bombs, you could send me that one mp3 file so I could try it on my setup?

Cheers
Mike
Hi Mike,

Well I've given it my best today! I've been running a single song for the past few hours and kept getting the same result with the image u. The file can be retrieved in this folder mate

https://drive.google.com/drive/folders/ ... sp=sharing

Within this folder are also a sequence of TOP screen grabs I was pulling across two runs - one when I loaded the playlist up with the same song for a hour, then when I let it autoran the song it self. What I noticed was that the men usage and the VM usage each time a new song got loaded increased - basically this just kept rising till the OOM Killer kicked in and dropped fruitbox.

See what you think fella, would be interested in your thoughts in what you see, no idea why this occurs on my HW but not yours. I did a bit of reading and particularly kernels and it all seems to be linked to SW design where I thought the FW was loaded on to the hardware architecture then I found it didn't so tried the TOP approach described above to see if I could identify other processes that are starting etc.

Hope it helps.

Scot

Return to “Graphics, sound and multimedia”