I started the scan for my movie collection (roughly 140 movies) on my Raspberry Pi 3B. It has become unresponsive and I can’t ssh in now. It seems to be due to all the ffmpeg instances. I have two questions:

Should I wait for an hour or should I just reboot the server? Also, is there a way to disable the setting for chapter images from the web UI? I can’t find it in the setting.

You are viewing a single thread.
View all comments View context
5 points

Thanks so much. Sound like I need to learn a bit more about docker. That’s how I installed it.

permalink
report
parent
reply
7 points
*

In case you ran it using a docker run command, read this. Otherwise if you use compose, try something similar to the following:

services:
  service:
    image: nginx
    deploy:
      resources:
        limits:
          cpus: '3'
          memory: 512M
        reservations:
          cpus: '0.25'
          memory: 128M
    cpuset: "1"
    ports:
      - "80:80"

source

permalink
report
parent
reply
4 points

I’m using docker compose. Thank you so much, this is fantastic!

permalink
report
parent
reply
5 points

I have no idea what your experience level is, so I’m saying this just to make sure: DON’T copy this verbatim. The resources bit is what you’d need to adapt into your own compose file. If you have questions, feel free to ask 👍

permalink
report
parent
reply
1 point
*

It seems I’m out of luck on this kernel / hardware. After applying some limitations I get the following when I run the container:

Your kernel does not support memory soft limit capabilities or the cgroup is not mounted. Limitation discarded.

permalink
report
parent
reply
2 points
*

Oh strange, a quick Google search doesn’t bring up much of anything either. With loads of people having Pi’s and presumably also having tried to limit the capabilities, you’d think someone else would’ve posted something about it. If it really bugs you, maybe try a fresh install of Raspbian Lite 64bit and see if things work? Otherwise I think it might just be a limitation of the Pi.

permalink
report
parent
reply

Community stats

  • 26

    Monthly active users

  • 8

    Posts

  • 20

    Comments

Community moderators