Hi All
I have read through the many posts regarding BI memory leak and CPU pegging issues. I have tried numerous things to figure this out and nothing seems to make a difference.
I have multiple locations protected by BI installs. Most have around 30 to 40 cams per location using BI5. I have standardized using 16GB ram, i7-9700K CPU, Intel UHD 630 GPU (on board Asus motherboard) SSD for runtime and OS drive and 7200rpm raid0 for storage. All locations run smoothly with around 5gb of memory use and 25% to 30% CPU. These are retail stores with around 16 hours of activity per day, cams set to record on motion triggers.
This week I began setting up a larger deployment with around 120 cams. I have 2 brand new machines that I built with 16GB ram, i7 3.6GHz CPU, 16TB storage array via 7200rpm SATA drives, M.2 1TB SSD for OS/runtime, W10Pro clean install from media creation tool, and 4port x 1GB Realtek Ethernet controller bridged to a 4Gbit uplink.
These machines are stupid fast and responsive and seemed to be working very well during setup of BI. Once I got to around 45 cams defined in the BI setup things started to crawl like they do when there is a CPU spike. I've dealt with those in BI in the past and it's always something fairly easy to remedy (windows defender issues, FPS being too high, etc...).
Nothing I do seems to remedy this issue though on these new machines. I did enable the Limit Decoding option on the cam setup which DID seem to eliminate the issue however, with that enabled it seems like the cams are not showing real time video on the consoles or UI3 from web. The behavior is very strange as it seems like they are almost asleep until a motion event occurs and then there is an almost 10 second or longer delay before they start showing real time video and/or recording.
Initially we did have audio streams enabled for every camera which seemed to cause a huge spike in CPU use. So that was disabled on the cams and in the BI cam setup as well. I am also forcing the FPS setting in BI to 15.
With these being slightly larger installs than my other locations, I did expect somewhat higher resource utilization however the 20GB mark seems excessive. Although I built these with 16GB, when I saw it approaching 14GB of utilization I added another 16GB to ensure we had ample resources in these larger deployments. So at the moment my 1st box has 32GB in it.
Once the CPU gets pegged at 100% the only way to make the system responsive enough to use or even shut down the BI service is disconnecting the LAN connection. After about 10 seconds of that being disconnected everything drops off and the system becomes usable again.
Couple of other things in our configuration:
-We are using direct to disc recording and BVR format
-Hardware decode is disabled (when we enable GPU options the video output is bizarre and there is no remarkable impact on CPU use)
-All Windows Defender and AV options are disabled, there is no other AV installed
-We are using the on board video controller, Asus motherboard, Intel GPU and NIC.
-Cams are forced to 15FPS. Audio streams are turned off.
Sorry if this is a wordy post, I wanted to include as much information as possible as I have tried numerous troubleshooting ideas to fix this. Previous forum posts have helped when we've run into CPU issues on our other installs but this one leaves me baffled.
Appreciate any suggestions or tips to fix this.
Regards,
-Ryan
I have read through the many posts regarding BI memory leak and CPU pegging issues. I have tried numerous things to figure this out and nothing seems to make a difference.
I have multiple locations protected by BI installs. Most have around 30 to 40 cams per location using BI5. I have standardized using 16GB ram, i7-9700K CPU, Intel UHD 630 GPU (on board Asus motherboard) SSD for runtime and OS drive and 7200rpm raid0 for storage. All locations run smoothly with around 5gb of memory use and 25% to 30% CPU. These are retail stores with around 16 hours of activity per day, cams set to record on motion triggers.
This week I began setting up a larger deployment with around 120 cams. I have 2 brand new machines that I built with 16GB ram, i7 3.6GHz CPU, 16TB storage array via 7200rpm SATA drives, M.2 1TB SSD for OS/runtime, W10Pro clean install from media creation tool, and 4port x 1GB Realtek Ethernet controller bridged to a 4Gbit uplink.
These machines are stupid fast and responsive and seemed to be working very well during setup of BI. Once I got to around 45 cams defined in the BI setup things started to crawl like they do when there is a CPU spike. I've dealt with those in BI in the past and it's always something fairly easy to remedy (windows defender issues, FPS being too high, etc...).
Nothing I do seems to remedy this issue though on these new machines. I did enable the Limit Decoding option on the cam setup which DID seem to eliminate the issue however, with that enabled it seems like the cams are not showing real time video on the consoles or UI3 from web. The behavior is very strange as it seems like they are almost asleep until a motion event occurs and then there is an almost 10 second or longer delay before they start showing real time video and/or recording.
Initially we did have audio streams enabled for every camera which seemed to cause a huge spike in CPU use. So that was disabled on the cams and in the BI cam setup as well. I am also forcing the FPS setting in BI to 15.
With these being slightly larger installs than my other locations, I did expect somewhat higher resource utilization however the 20GB mark seems excessive. Although I built these with 16GB, when I saw it approaching 14GB of utilization I added another 16GB to ensure we had ample resources in these larger deployments. So at the moment my 1st box has 32GB in it.
Once the CPU gets pegged at 100% the only way to make the system responsive enough to use or even shut down the BI service is disconnecting the LAN connection. After about 10 seconds of that being disconnected everything drops off and the system becomes usable again.
Couple of other things in our configuration:
-We are using direct to disc recording and BVR format
-Hardware decode is disabled (when we enable GPU options the video output is bizarre and there is no remarkable impact on CPU use)
-All Windows Defender and AV options are disabled, there is no other AV installed
-We are using the on board video controller, Asus motherboard, Intel GPU and NIC.
-Cams are forced to 15FPS. Audio streams are turned off.
Sorry if this is a wordy post, I wanted to include as much information as possible as I have tried numerous troubleshooting ideas to fix this. Previous forum posts have helped when we've run into CPU issues on our other installs but this one leaves me baffled.
Appreciate any suggestions or tips to fix this.
Regards,
-Ryan
Last edited: