Running on Rpi 3B #125
rymiller11
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
How much RAM do you have on the device? UPB needs to be able able to keep video clips in RAM to prevent SD card wear. It could be that large videos are filling the RAM, this would cause a sudden crash with no error message as you are seeing. You could try reducing the size of the download queue |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thought I'd share for other noobs trying to get this up and running. I was never able to get UPB running with docker but instead am running it directly from the command line (i'll be starting it as a service as soon as I'm happy there are no issues).
The first couple of times I started UPB it would crash and the only message showing in the output was "killed". I increased the verbosity and still never found out why it would crash. I also found out that the video file that was in progress of downloading to my NAS would be corrupted and not viewable. So, whatever happened it was not graceful.
Here's what I did to fix it - or at least it seems to be working better. Using Conky, i saw that my swap file was maxed out (100%). That seemed odd so I increased it from the default 100MiB to 1000MiB and UPB has not crashed since. I see that I'm using at most 20% of the swap file (about 175MiB) and it seems to stick there. If UPB indeed needs 175 and the default is 100 then this may be the answer.
Anyway, hope this helps others trying to get UPB working with cheap hardware.
Here's my setup:
I think if I had an RPi with 1GbE it would copy files much faster. The NAS is 1 GbE but it may be bottlenecked because of the slow/old CPU.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions