Closed madasus closed 1 year ago
sync_on_startup: True
this should only be used if you have a reason to use it, this causes very high cpu usage like the docs explained
Here is the load average on the docker host for 24 hours prior to upgrade
@NickM-27 I just added that to test- still have high CPU when sync_on_start: False
let's see a screenshot of the frigate system page with that option disabled
oh wait just kidding I see what the problem is, you have not set your detect resolution, and in 0.13 frigate will auto detect the stream resolution and run on that. You should either set the detect resolution manually to 1280x720
or use a sub stream
That was it - thank you. Assumed it was something config related.
See a couple of other weird errors in the logs but i'm not even sure what camera is causing it
2023-09-15 15:58:29.472874440 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3378474740] moov atom not found 2023-09-15 15:58:29.486681343 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3378249800] moov atom not found 2023-09-15 15:58:29.498737277 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3378205d00] moov atom not found 2023-09-15 15:58:29.572189209 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f337814cb80] moov atom not found 2023-09-15 15:58:29.647002029 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f33783c0040] moov atom not found 2023-09-15 15:58:29.647074705 [ERROR:0@13.209] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2023-09-15 15:58:29.647077606 2023-09-15 15:58:29.647078754 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2023-09-15 15:58:29.647079490 2023-09-15 15:58:29.647080113 2023-09-15 15:58:29.672989837 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f33784a9f80] moov atom not found 2023-09-15 15:58:29.673064642 [ERROR:0@13.235] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2023-09-15 15:58:29.673065659 2023-09-15 15:58:29.673066675 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2023-09-15 15:58:29.673067420 2023-09-15 15:58:29.673068021 2023-09-15 15:58:29.743236229 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3378205d00] moov atom not found 2023-09-15 15:58:29.743333358 [ERROR:0@13.305] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception: 2023-09-15 15:58:29.743334236 2023-09-15 15:58:29.743335261 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern' 2023-09-15 15:58:29.743335908
that is just due to the camera resolution auto detection. Just set the detect resolution for each camera and it will be good to go
I set it in the main detect section
detect: max_disappeared: 500 width: 1280
height: 720
Should that be ok?
I don't have anything under each camera
I think that should be fine
thanks - i'll continue to monitor.
Going to close this since the original issue was solved. Going to leave this pinned at the top of the issues board for now because I foresee other users running into the same thing
Describe the problem you are having
After upgrading from 0.12 to 0.13.0 Beta 1 I'm seeing really high CPU on my docker machine. Birdseye appears to be showing all the cameras all the time so I think maybe it is always sensing motion on the cameras?
Assume i just have something wrong in my config that isn't compatible with 0.13.x?
Version
0.13.0 Beta 1
Frigate config file
Relevant log output
Frigate stats
No response
Operating system
Other Linux
Install method
Docker Compose
Coral version
USB
Any other information that may be helpful
No response