Posts: 12
Threads: 3
Joined: Apr 2018
Reputation:
0
hi,
i've just installed moode 7.0.1 on a new 32GB sdcard on a Raspberry Pi Model B Plus Rev 1.2 (512MB)
I've got an external hard drive connected and am using devmon for mounting as it's ARMv6.
So I've tried updating the library within Moode, and also with the mpc update command. These both result in errors in the syslog:
Code: Jan 24 22:24:10 moode kernel: [ 1799.292366] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),global_oom,task_memcg=/,task=mpd,pid=3275,uid=1001
Jan 24 22:24:10 moode kernel: [ 1799.292495] Out of memory: Killed process 3275 (mpd) total-vm:493740kB, anon-rss:279640kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:382kB oom_score_adj:0
Jan 24 22:24:10 moode kernel: [ 1799.557663] oom_reaper: reaped process 3275 (mpd), now anon-rss:16kB, file-rss:0kB, shmem-rss:0kB
Jan 24 22:24:10 moode systemd[1]: mpd.service: Main process exited, code=killed, status=9/KILL
Jan 24 22:24:10 moode systemd[1]: mpd.service: Failed with result 'signal'.
How can I get my music updated in the library? It's about 300GB / 4000 files.
Posts: 1,538
Threads: 106
Joined: Mar 2018
Reputation:
73
Resource issue on older Pi.
You may consider updating to a Quad-core 1GB Pi.... plenty of Pi2B out there at knockdown prices and IMHO are the sweet spot when not needing wifi or bluetooth.
----------
bob
Posts: 6,037
Threads: 177
Joined: Apr 2018
Reputation:
235
I suppose DRONE7 is on the right track, and certainly the newer boards bring performance advantages, but I note that neither an RPi Zero W (512GB/1xARMv6A core) nor an RPi3A+ (512GB/4xARMv8A cores) run out of memory while indexing my 5875-track NAS. I do see the memory consumption rise during the indexing by watching the output from top but there's always 10s of MB free.
I suppose one could play with enabling swap in Raspberry Pi OS to try to avoid the OOM but that's not a settable option within the moOde UI. It's been mentioned elsewere on the Forum but off the top of my head I can't point to the thread.
Regards,
Kent
Posts: 451
Threads: 11
Joined: Sep 2019
Reputation:
28
(01-24-2021, 10:40 PM)comiconomenclaturist Wrote: hi,
i've just installed moode 7.0.1 on a new 32GB sdcard on a Raspberry Pi Model B Plus Rev 1.2 (512MB)
I've got an external hard drive connected and am using devmon for mounting as it's ARMv6.
So I've tried updating the library within Moode, and also with the mpc update command. These both result in errors in the syslog:
Code: Jan 24 22:24:10 moode kernel: [ 1799.292366] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),global_oom,task_memcg=/,task=mpd,pid=3275,uid=1001
Jan 24 22:24:10 moode kernel: [ 1799.292495] Out of memory: Killed process 3275 (mpd) total-vm:493740kB, anon-rss:279640kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:382kB oom_score_adj:0
Jan 24 22:24:10 moode kernel: [ 1799.557663] oom_reaper: reaped process 3275 (mpd), now anon-rss:16kB, file-rss:0kB, shmem-rss:0kB
Jan 24 22:24:10 moode systemd[1]: mpd.service: Main process exited, code=killed, status=9/KILL
Jan 24 22:24:10 moode systemd[1]: mpd.service: Failed with result 'signal'.
How can I get my music updated in the library? It's about 300GB / 4000 files.
You won't be able to power an external USB hard drive from a Pi1's USB port. The Pi1 is simply not capable.
Posts: 12
Threads: 3
Joined: Apr 2018
Reputation:
0
(01-25-2021, 01:47 PM)vinnn Wrote: (01-24-2021, 10:40 PM)comiconomenclaturist Wrote: hi,
i've just installed moode 7.0.1 on a new 32GB sdcard on a Raspberry Pi Model B Plus Rev 1.2 (512MB)
I've got an external hard drive connected and am using devmon for mounting as it's ARMv6.
So I've tried updating the library within Moode, and also with the mpc update command. These both result in errors in the syslog:
Code: Jan 24 22:24:10 moode kernel: [ 1799.292366] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),global_oom,task_memcg=/,task=mpd,pid=3275,uid=1001
Jan 24 22:24:10 moode kernel: [ 1799.292495] Out of memory: Killed process 3275 (mpd) total-vm:493740kB, anon-rss:279640kB, file-rss:0kB, shmem-rss:0kB, UID:1001 pgtables:382kB oom_score_adj:0
Jan 24 22:24:10 moode kernel: [ 1799.557663] oom_reaper: reaped process 3275 (mpd), now anon-rss:16kB, file-rss:0kB, shmem-rss:0kB
Jan 24 22:24:10 moode systemd[1]: mpd.service: Main process exited, code=killed, status=9/KILL
Jan 24 22:24:10 moode systemd[1]: mpd.service: Failed with result 'signal'.
How can I get my music updated in the library? It's about 300GB / 4000 files.
You won't be able to power an external USB hard drive from a Pi1's USB port. The Pi1 is simply not capable.
Ah that's a shame, it used to work on Moode v5 and v6. maybe I should go back to one of those versions.
Posts: 6,037
Threads: 177
Joined: Apr 2018
Reputation:
235
DRONE7 said:
Quote:You won't be able to power an external USB hard drive from a Pi1's USB port. The Pi1 is simply not capable.
and you replied:
Quote:Ah that's a shame, it used to work on Moode v5 and v6. maybe I should go back to one of those versions.
This seems like a non sequitur.
I expect DRONE7 is alluding is the 600ma limitation on the total current through the Pi1 USB ports. By adding the line "max_usb_current=1" to the /boot/config.txt file you can boost this total to 1.2A.
This limitation has nothing to do with the particular version of moOde. If your external USB hard drive worked with a previous version of moOde then either it is self powered or it draws remarkably little current.
Regards,
Kent
Posts: 1,538
Threads: 106
Joined: Mar 2018
Reputation:
73
01-25-2021, 09:11 PM
(This post was last modified: 01-25-2021, 09:14 PM by DRONE7.)
@ TheOldPresbyope
Quote:DRONE7 said:
Not me that was @ vinnn . I wasn't aware how the usb hard-drive was powered as the op hadn't included that info when I replied. Still not confirmed if self or Pi powered but as you say shouldn't be a memory issue.
----------
bob
Posts: 6,037
Threads: 177
Joined: Apr 2018
Reputation:
235
(01-25-2021, 09:11 PM)DRONE7 Wrote: @TheOldPresbyope
Quote:DRONE7 said:
Not me that was @vinnn . I wasn't aware how the usb hard-drive was powered as the op hadn't included that info when I replied. Still not confirmed if self or Pi powered but as you say shouldn't be a memory issue.
Oops. Too many browser windows open at once
Posts: 12
Threads: 3
Joined: Apr 2018
Reputation:
0
(01-25-2021, 01:43 PM)TheOldPresbyope Wrote: I suppose DRONE7 is on the right track, and certainly the newer boards bring performance advantages, but I note that neither an RPi Zero W (512GB/1xARMv6A core) nor an RPi3A+ (512GB/4xARMv8A cores) run out of memory while indexing my 5875-track NAS. I do see the memory consumption rise during the indexing by watching the output from top but there's always 10s of MB free.
I suppose one could play with enabling swap in Raspberry Pi OS to try to avoid the OOM but that's not a settable option within the moOde UI. It's been mentioned elsewere on the Forum but off the top of my head I can't point to the thread.
Regards,
Kent
Thanks for the swap suggestion. I enabled swap as described here: https://www.bitpi.co/2015/02/11/how-to-c...n-rasbian/ and the library is now loaded.
Posts: 12
Threads: 3
Joined: Apr 2018
Reputation:
0
(01-25-2021, 08:23 PM)TheOldPresbyope Wrote: DRONE7 said:
Quote:You won't be able to power an external USB hard drive from a Pi1's USB port. The Pi1 is simply not capable.
and you replied:
Quote:Ah that's a shame, it used to work on Moode v5 and v6. maybe I should go back to one of those versions.
This seems like a non sequitur.
I expect DRONE7 is alluding is the 600ma limitation on the total current through the Pi1 USB ports. By adding the line "max_usb_current=1" to the /boot/config.txt file you can boost this total to 1.2A.
This limitation has nothing to do with the particular version of moOde. If your external USB hard drive worked with a previous version of moOde then either it is self powered or it draws remarkably little current.
Regards,
Kent
Sorry i was replying to the wrong comment. The hard drive is s Seagate bus powered drive and I have not had issues previously with scanning the library in v5/6. Anyway the swap solution seems to be working for now, so I think I'l stick with that for the time being. thanks for you help
|