Blue Iris Freezing during heavy rain

bensocket

Young grasshopper
Apr 28, 2021
31
13
PA
Hello All

I have a issue that is happening on 2 systems with both systems having basically the same hardware. When it is raining heavy, the live feed will become sluggish and freezes. Then the save clips panel will say compacting database and cycle repeats about every 5 to 10 seconds. Looks like the BI service is crashing in the background and auto restarting. If I set the shield to disable, the system is working ok. Even after a reboot the system has the same problems again.

I think the issue is when there is alot of rain, the triggers are happening alot. I have code project running as well.

System Specs:
Processor 12th Gen Intel(R) Core(TM) i9-12900K 3.19 GHz
Installed RAM 32.0 GB (31.8 GB usable)
Installed Storage
1TB SSD where windows, Blueiris, and DB are located
16TB Seagate Exos where alerts and clips are stored


Code Project Version: 2.6.2.0 on the one system and 2.6.5.0 on the other system.

Blueiris
Support data:
Version: Release 5.9.4.11 x64 (7/21/2024)
Service: Yes [.\user]
Maintenance: Extended
Expires: 12/5/2024
OS: Windows 10 Enterprise LTSC 2021
CPU,GPU: 12th Gen Intel(R) Core(TM) i9-12900K [7%,26%]
RAM: 4.06GB/31.7GB
Clips: 151407 items, 13178/13270GB
Storage: D: +1.59TB

1723053573855.png



Here is a video of the 1 system when the issue is happening.

 

Attachments

  • 1723053551999.png
    1723053551999.png
    63.9 KB · Views: 9
Is it possible that there are too many alerts clips happening and it starts to bottleneck? Maybe I can move alert clips to SSD. With the rain, there are alot of alerts created but then discarded
 
That is a pretty beefy machine, but if all/most of the cameras are triggering at the same time and you have them all going to CodeProject, I could see how you could max out a system.

I don't think moving the video to an SSD will solve the issue.

Questions are can you tighten up the motion detection so that "every" raindrop isn't triggering the system?

Does every camera need codeproject?

Do any of the cameras have AI?

While all that stuff is cool, maybe you can make the motion detection not as sensitive and not have so many cameras go to CodeProject, especially if the cameras have AI built-in - use that instead of CodeProject.

I have a machine that is nowhere near as capable as yours and I have way more cameras, but when at the time Deepstack was the AI and it was new, I went hog heaven with it LOL and the system just couldn't keep up.
 
That is a pretty beefy machine, but if all/most of the cameras are triggering at the same time and you have them all going to CodeProject, I could see how you could max out a system.

I don't think moving the video to an SSD will solve the issue.

Questions are can you tighten up the motion detection so that "every" raindrop isn't triggering the system?

Does every camera need codeproject?

Do any of the cameras have AI?

While all that stuff is cool, maybe you can make the motion detection not as sensitive and not have so many cameras go to CodeProject, especially if the cameras have AI built-in - use that instead of CodeProject.

I have a machine that is nowhere near as capable as yours and I have way more cameras, but when at the time Deepstack was the AI and it was new, I went hog heaven with it LOL and the system just couldn't keep up.

The computer in the video has a total of 17 cameras 13 of which are going to the AI. Most of the cameras have AI build in but not sure how to utilize that. I have my sensitivity set really high so to catch all possible motions far away especially at night time. I will lower this sensitivity
 
Those crashes are either due to a hardware problem or (more likely) a software problem in Blue Iris.

Unfortunately, Blue Iris is not written in a language that is good at producing useful error messages, so about all you can do is report this to the BI developer. If you look in Blue Iris's help file, the very bottom section "Troubleshooting and FAQ" describes how to find error logs in Windows Event Viewer and how to submit them to Blue Iris Support.
 
  • Like
Reactions: Oneup and bensocket
Those crashes are either due to a hardware problem or (more likely) a software problem in Blue Iris.

Unfortunately, Blue Iris is not written in a language that is good at producing useful error messages, so about all you can do is report this to the BI developer. If you look in Blue Iris's help file, the very bottom section "Troubleshooting and FAQ" describes how to find error logs in Windows Event Viewer and how to submit them to Blue Iris Support.

He said it only happens during heavy rain, that leads me to believe too many triggers and instances going to CodeProject at the same time.

You don't think maxing out the CPU with too much motion and 13 cameras being sent to CodeProject with which sounds like is the CPU versus GPU version?

Mine crashed all night during a rain event when I got carried away and tried to use Deepstack on every camera LOL.
 
The computer in the video has a total of 17 cameras 13 of which are going to the AI. Most of the cameras have AI build in but not sure how to utilize that. I have my sensitivity set really high so to catch all possible motions far away especially at night time. I will lower this sensitivity

Go into the camera and set up smart plan with IVS, then go to the IVS screen and draw IVS rules (tripwire or intrusion box) and then select the AI you want it to trigger on (human or vehicle).

Then in BI, there are a few places you need to set this up in BI (assuming you already set up the IVS rules in the camera GUI):

In Camera configure setting check the box "Get ONVIF triggers".

Hit Find/Inspect on the camera setting to pull the coding for the triggers.

Go into Motion Setting and select the "Cameras digital input" box.

On the Alerts tab uncheck the Motions Zones tab (those are alerting you to any BI motion in those areas in Zones A thru H)

On the alerts tab set up how to be notified.
 
  • Like
Reactions: bensocket
He said it only happens during heavy rain, that leads me to believe too many triggers and instances going to CodeProject at the same time.

You don't think maxing out the CPU with too much motion and 13 cameras being sent to CodeProject with which sounds like is the CPU versus GPU version?

Mine crashed all night during a rain event when I got carried away and tried to use Deepstack on every camera LOL.

Certainly, I believe it is pretty obvious that a large number of concurrent camera triggers are contributing to this crash. The integration with the AI tool may or may not be related; I wouldn't say that has been ruled out (or in) specifically based on available evidence.

But in the end, Blue Iris crashes because of faulty code in Blue Iris. Sending BI Support an error report with the crash dump information from the Windows Event Viewer may help the developer identify the specific cause of the crash so that it can be fixed. At the very least it would increase his awareness that this aspect of BI is unstable so that he might give it more attention in the future.