Closed jcannon23 closed 1 year ago
Can you check how many python processes you have running
ps aux | grep -i python | wc -l
I have 10 python processes running
how many cameras?
7 cameras
Same issue here, this is shortly after a python codecs update that reset the cpu use. 6 cameras.
This is normal. All decoding and memory usage is offloaded onto that plugin which will tear down the processes, freeing everything. Nothing else uses CPU or memory now.
@koush I upgraded from 0.44 and there was almost no cpu usage, Now python is at 50% cpu all the time.
Echo'ing @madmax, in prior releases, my CPU and memory utilization were much lower. This is a recent development.
Same here - was "down" to 30-50 cpu on some of the threads. After this last update I am getting several threads spiking intermittently at 150+ cpu and stalling the mac entirely.
Please let me know which motion detector is being used.
@Koush PAM Diff Motion Detection
I'll maybe look into it at some point. Use OpenCV instead, that's preferred to PAM diff (which I dont plan on maintaining much further due to native builds/dependencies). Or upgrade to the supported Scrypted (+optional NVR) app which has a custom GPU accelerated motion sensor. https://github.com/koush/nvr.scrypted.app/releases
The Python Codec is using a large amount of CPU and Memory resources and has been causing my machine to crash.