roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.51k stars 155 forks source link

Viseron Docker uses 100% CPU, throws wall of errors and then crashes/exits #652

Closed Haui1112 closed 11 months ago

Haui1112 commented 11 months ago

Hi there,

I'm playing with this since yesterday and it has worked as far as accessing the camera streams, indicating that the camera parameters are at least mostly correct.

I haven't progressed trying to actually do anything with it yet as I first had to limit the container to 2 cpus so my homelab doesnt catch fire. Sadly, I don't have any hardware accelleration that I know of (Xeon 1220v2, no GPU).

Now I need to address the crashing and then go on to configuring it I suppose.

Here is the latest log and the config. Let me know if you have any questions.

Thanks for making this! :)

viseron.log config.txt

Had to change to config.txt since github is kinda dumb.

roflcoopter commented 11 months ago

My guess is that your machine is running out if memory, darknet can be quite intense. How much RAM do you have?

Haui1112 commented 11 months ago

My guess is that your machine is running out if memory, darknet can be quite intense. How much RAM do you have?

Damn! You hit the nail on the head! I totally missed that the ram usage was going to be quite some if recording is involved. Have commented out the ram restrictions and now it records! Thanks a lot! :)