Are restarts normal? Solved issue.

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
I am having an issue where blue iris restarts once or twice per day. It is happening when there are no alerts or anything happening directly in front of the restart. Are restarts just something to live with? How many restarts would be considered normal behavior? By the way, this is a new PC build, with no other software, besides windows 10, on it. I had issues with restarts on my older machine, much more frequently, so figured when I rebuilt, I would have good chances of not having them anymore. Thoughts?
 

SpacemanSpiff

Known around here
Joined
Apr 15, 2021
Messages
1,476
Reaction score
2,488
Location
USA
Maybe review the system logs for insight? Consider shutting down the BI software for a day or two, and see if the machine still exhibits the behavior.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
Perhaps I am misunderstanding or have not articulated the issue properly. The pc does not restart, the blue iris software stops and then restarts.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
Here is what I see in the logs, which is unfortunately not that helpful in this case.

0 10/28/2022 2:50:22.850 AM New Move: 1 items 3.87G [6/72 hrs, 100.3G/100.0G, 1.73T free]
0 10/28/2022 2:50:22.851 AM Stored Delete: nothing to do [92/168 hrs, 924.8G/1.17T, 1.73T free]
0 10/28/2022 2:50:36.545 AM App Intel video hardware detected
0 10/28/2022 2:50:36.545 AM App Nvidia video hardware detected
2 10/28/2022 2:50:36.547 AM App Restarted after unexpected shutdown (5.6.1.3/1500/40)
0 10/28/2022 2:50:36.625 AM App Current profile: Night
0 10/28/2022 2:50:36.656 AM App AI has been started
0 10/28/2022 2:50:36.836 AM New Move: nothing to do [5/72 hrs, 96.5G/100.0G, 1.73T free]
0 10/28/2022 2:50:36.837 AM Stored Delete: nothing to do [92/168 hrs, 924.8G/1.17T, 1.73T free]
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,191
Reaction score
49,089
Location
USA
Watch the RAM - do you have a memory leak and it keeps going up and crashes?

See if the windows log provides any details.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
Watch the RAM - do you have a memory leak and it keeps going up and crashes?

See if the windows log provides any details.
I will take a look at that. I have 32GB of new ram, my old PC also had 32GB. In fact, the only thing that both old and now new computer has is a Nvidia 1080 video card. I was getting multiple software restarts per day with the old PC, now only one to two with the new. I purposely installed no other software on this pc to see if the issue would resolve itself.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,191
Reaction score
49,089
Location
USA
With this new build, did you import in the settings from the old computer or did you set it up new?

If you imported, then you likely brought a bug over that was causing it.
 

SpacemanSpiff

Known around here
Joined
Apr 15, 2021
Messages
1,476
Reaction score
2,488
Location
USA
Perhaps I am misunderstanding or have not articulated the issue properly. The pc does not restart, the blue iris software stops and then restarts.
No, you're spot on. I read your initial post, and did not retain all the relevant info while responding:embarrassed:. Half a cup o' coffee in, lead to a response that was only half applicable.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
Faulting application name: BlueIris.exe, version: 5.6.1.3, time stamp: 0x632cbe44
Faulting module name: ntdll.dll, version: 10.0.19041.2130, time stamp: 0xb5ced1c6
Exception code: 0xc0000374
Fault offset: 0x00000000000ff6a9
Faulting process id: 0x1598
Faulting application start time: 0x01d8ea18d633998c
Faulting application path: C:\Program Files\Blue Iris 5\BlueIris.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 480fddde-c662-4033-a6aa-aa2dfa2ed80e
Faulting package full name:
Faulting package-relative application ID:

The ntdll.dll is something I've seen even on the old pc.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
With this new build, did you import in the settings from the old computer or did you set it up new?

If you imported, then you likely brought a bug over that was causing it.
I did not, because I was aware that was a potential issue. Everything was recreated from scratch. Good thoughts though.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
I might try turning off AI tonight to see if that is a potential issue, even though it seems to operate properly when there is motion detected.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
I send support a request on Sunday. Nothing back, but I did send about 3 pages of info. Yesterday, I installed telgraf on my system and it appears that I am losing RAM throughout the operating period before BI restarts. Just for those that are curious. I've sent BI logs and windows logs. Any advice on what I should look for next. Basically a new build with the only part used between old and new PC being RTX1080 graphic card. Also notice while my RAM decreases, my CPU usage increases. I am not sure why it spikes at approx 5:54AM. The BI app restarted around 6:12AM.


1667307491719.png
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,191
Reaction score
49,089
Location
USA
Don't use the graphics card for hardware acceleration. Turn it off at the camera and global level in BI. Only use a graphics card for AI like deepstack or SenseAI.

See if that stops the memory leak.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
Don't use the graphics card for hardware acceleration. Turn it off at the camera and global level in BI. Only use a graphics card for AI like deepstack or SenseAI.

See if that stops the memory leak.
I am only using it for Deepstack. I have the global and camera settings at Intel+VPP. Is that what you are referring to?
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
I am only using it for Deepstack. I have the global and camera settings at Intel+VPP. Is that what you are referring to?
I noticed that the GPU portion of each camera is set as "any", should that be set to something different?
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,191
Reaction score
49,089
Location
USA
Yes turn off intel+vpp and make it none or default, I forget which it is now. You could have a graphics driver memory leak.

Around the time AI was introduced in BI, many here had their system become unstable with hardware acceleration on (even if not using DeepStack or CodeProject). Some have also been fine. I started to see that error when I was using hardware acceleration.

This hits everyone at a different point. Some had their system go wonky immediately, some it was after a specific update, and some still don't have a problem, yet the trend is showing running hardware acceleration will result in a problem at some point.

However, with substreams being introduced, the CPU% needed to offload video to a GPU is more than the CPU% savings seen by offloading to a GPU. Especially after about 12 cameras, the CPU goes up by using a GPU and hardware acceleration.

My CPU % went down by not offloading to a GPU.

It is best to just use the GPU now for AI and use substreams for BI.
 

zosobao

Getting the hang of it
Joined
Apr 19, 2019
Messages
56
Reaction score
27
Location
Ohio
I changed everything from Intel + VPP to just Intel. I also changed the GPU from any to 0 on each camera page. That sound reasonable, or should I just change hardware encoder to 'none'?
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,191
Reaction score
49,089
Location
USA
No change it to none. Intel is still using hardware acceleration with the built in GPU. If that Intel graphics driver is the culprit then you will still have problems.

Many of us use none and it is just fine. I even deleted the graphics driver once as a test and my system still worked. Hardware acceleration is not needed now as substreams are more efficient.
 
Top