<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/topic/2903" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-12-08T06:16:33+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/topic/2903</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-12-08T06:16:33+00:00</updated>

		<published>2021-12-08T06:16:33+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11545#p11545</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11545#p11545"/>
		<title type="html"><![CDATA[Isolate the issue]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11545#p11545"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><br><br>This article provides a framework on how to isolate the issue so BI support can replicate the problem and resolve the root cause.  This is the final step in resolving instability as described in the <a href="viewtopic.php?f=14&amp;t=2764" class="postlink">Instability and Troubleshooting article</a>.<br><br><span style="font-size:150%;line-height:116%">Isolate the issue</span><br><br>Reinstall the version causing instability if you reverted back to an older version.  Below is an overview of the key components to getting to resolution.<ul><li>Verify all Security Software Exemptions.</li><li>Monitor RAM and CPU usage to verify these are stable leading to the issue.</li><li>Attempt to isolate any source of instability by temporarily disabling specific camera, functionality etc.</li></ul><strong class="text-strong">Windows or Third Party Software</strong><br>Are updates to Windows or other third party software the issue.<br><br>The biggest question to ask yourself when observing instability is what has changed?<div style="margin-left:3em"><br><strong class="text-strong">Windows update</strong><br>Was there a Windows update?<br>While most users (including myself) never suspect a Windows update can cause issues, it is very possible.  Common ticket:<blockquote class="uncited"><div> I have a blue iris setup, exclusive windows host running for the last couple years without issue. In the last few weeks it has been totally unreliable. I have 3 times wiped the computer and started from scratch, once replacing the hard drive.</div></blockquote>The fix was rolling back a Windows update.<br><blockquote class="uncited"><div>Yesterday, I did an uninstall of the latest windows updates. The computer has since been running fine for the last 6 hours or so, versus crashing every15 minutes.</div></blockquote>Another testimonial from another user.  <br><br>This user had RAM issues after an update.<br><blockquote class="uncited"><div>UH-Oooo    what happened ?    this was before the latest, Ver xxx?   I’ve never ran over 4 gig RAM.     Hey this all started as a CPU thing.. we should have never said RAM.  (HAHA).<br><br>What I am seeing is something happens and the RAM grows a bit..  then it falls back but stabilizes at a higher amount.  Then something happens again and it rises,, then it falls back to a higher amount again.. </div></blockquote><blockquote class="uncited"><div>OK  about my memory issue.. seems it was a windows update fault?      <br>The KB5005539 (.net update) I think was the issue, and strangely  KB5006670 seems to have fixed it.</div></blockquote>If you suspect a Windows update is causing instability, use System Restore to remove the update.<br>See <a href="viewtopic.php?f=12&amp;t=2492" class="postlink">Windows Tools article</a> for details.<br><br><strong class="text-strong">Anti-virus &amp; Firewall</strong><br>Was there an update to your Antivirus or Firewall software?<br><br></div><br><strong class="text-strong"><a name="Common framework">Common framework</a></strong><br><br>This section explains how to <strong class="text-strong">isolate BI functionality</strong> in order to identify root cause.  A detailed description of your setup is not isolating the issue.  The cool part is you can leverage BI functionality to isolate any source of instability by temporarily disabling specific camera(s), functionality etc.<ul><li>Rule out hardware acceleration (HA) by turning it off</li><li>Rule out working cameras</li><li>Rule out camera features that are working fine.</li></ul><div style="margin-left:3em"><strong class="text-strong">Hardware acceleration</strong><br>The usual culprit.  Turn off hardware acceleration for all cameras.  <br>Global Settings -&gt; Cameras tab.  Set Hardware accelerated decode = No.<br>Do the same for each camera.  Camera settings -&gt; Video tab.<br><br>Does stability return?  If so, scroll down to <strong class="text-strong">Isolate Camera &amp; HA section</strong> to determine whether there is HA incompatibility with all cameras or some cameras.<br><div style="margin-left:3em"><br><strong class="text-strong">Isolate camera(s)</strong><br>At this point, server is still crashing even though HA is disabled.<br>If not, skip to Isolate Camera &amp; HA section below.<br><br><strong class="text-strong">New camera</strong><br>Did you add a new camera?  Maybe the conflict is with the hardware and that one particular camera.  <br>Simply disable the camera.  Does stability return?<br><br>If the software crashes too soon after startup, you may need to <a href="viewtopic.php?f=14&amp;t=2052#Troubleshooting%20Crashes" class="postlink">leverage the registry to isolate the problematic camera</a>.<div style="margin-left:3em"><br><strong class="text-strong">Camera feeds</strong><br>This section determines whether the issue is with the video feeds coming from the camera or features in BI.<br>Turn the shield to red.  This turns off everything besides streaming.  If the server still crashes it is one or more camera feeds.<br>While the server is down, <a href="viewtopic.php?f=14&amp;t=2052#Troubleshooting%20Crashes" class="postlink">use the registry</a> to disable all the cameras.<br>Start the server and re-enable cameras one by one to identify the offending camera(s).<br><br>For the offending camera(s), go through all the settings on the camera and self-correct by simplifying the streams.<br>The <a href="viewtopic.php?f=11&amp;t=2598" class="postlink">Camera setup article</a> has details.<br><br><br><strong class="text-strong">BI Camera settings</strong><br>If the server is stable with the shield red, the camera feeds are fine.<br>If the video feed is not causing the crash, then it must be the camera settings on a camera(s).<br>Time to identify the offending camera(s) and the camera setting(s) in BI causing instability.<br><br>Disable all the cameras.<br>Turn Shield to green.<br>Enable cameras one by one.  Isolate the bad camera(s)<br><br>Restart BI if crashed.<br>Isolate the bad setting(s) on the camera(s) that causes the crash by turning features off, e.g. DeepStack.<br>The issue often lies with settings in the Trigger, Record or Alerts tab in Camera settings.<br>Report issue to support.  See <a href="viewtopic.php?f=14&amp;t=2764#Submitting%20ticket" class="postlink">Submitting ticket</a>.<br><br></div></div><strong class="text-strong">Isolate Camera &amp; HA</strong><br>At this point, we know HA is causing crashes.  However, we have not identified an offending camera.  <br>See if incompatibility between HA and a camera(s) is causing the instability.<br>If you turned off HA for all cameras and stability returned, follow steps below.<ul><li>Disable all your cameras.</li><li>Turn HA back on for all the cameras at the global level.  <br>Global Settings -&gt; Cameras tab -&gt; Hardware accelerated decode.  Choose appropriate setting.</li><li>Enable HA for each camera one by one and confirm stability.</li></ul>The camera(s) that causes instability is the culprit.  Turn off HA for those camera(s).  <br><br>If all the cameras are unstable, HA is the problem.  Turn HA off for all the cameras.<br><br>Crashes are frequently due to updated hardware drivers that introduced bugs.  If HA is suddenly causing instability for all cameras, was there a Windows update recently?  If a Windows update is the issue, then you may need to leave hardware acceleration (HA) off until there is a Windows resolution.  Or you may have to revert back to the previous Windows version.  See System Restore section in <a href="viewtopic.php?f=12&amp;t=2492" class="postlink">Windows Tools article</a>.<br><br><br></div><strong class="text-strong">Additional questions</strong><br><br>The common framework helps identify common causes for instability.<div style="margin-left:3em">Is hardware acceleration causing instability?<br>Which camera(s) are causing the issue?<div style="margin-left:3em">Did you recently add a camera?<br>If you turn off cameras from a particular vendor, does stability return?</div>If a camera causes instability, is the issue with the video feed?<br>If not, is the issue with a particular camera setting?  What is the root cause?</div><br>However, many issues are due to the combination of features plus your environment.  Below are additional questions to ask yourself to get to the root cause.<br><br>Think of Blue Iris as blocks or modules that work together.  The point of below questions is NOT to answer every question.  The point of below is to help you think of relevant questions and investigate further to identify how to reproduce the error.<ul><li>If stability <strong class="text-strong">does not return</strong> after turning the shield to red what else is on?  This is a big clue. <br>Are you streaming to YouTube or website?<br>Are you streaming to your Home Automation system?<br>Are you posting to a website?<br>Are there inputs to BI besides cameras?  Any DIO devices?</li> <li>Is auto-cycle on?  Group cycle or camera cycle?  Turn it off.  Does stability improve?</li><li>Are you uploading files to the cloud via FTP?</li><li>Are you constantly streaming video to a Web Interface, iPad, via mqtt or Webcasting?  Does stability improve if you turn it off?</li><li>Do you notice crashes when someone connects remotely via the web interface or mobile apps?</li></ul>In summary, we love customer support that leads to the narrowing down of the problem (usually with reproducible steps) so engineering can then determine where in the software to look and identify the problem.  <br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Submitting ticket">Submitting ticket</a></strong></span><div style="margin-left:3em"><br><strong class="text-strong">Support info:</strong> Include support info in body of email.  Global settings -&gt; About tab -&gt; Email support button.  Copy/paste information in body of email.<br><strong class="text-strong">Describe the issue.</strong><div style="margin-left:3em">Were you able to isolate the issue?  Can you reproduce the crash?  If so, what are the reproducible steps?</div><strong class="text-strong">Server health</strong><div style="margin-left:3em">Confirm any and all errors in the logs were addressed and resolved prior to submitting a ticket.<br>Logs from previous month.  Need to see a full month of logs.<br>Camera stats.  Status button -&gt; Cameras tab -&gt; Export<br>Storage.  Screenshot of Status button -&gt; Storage tab.</div><strong class="text-strong">Windows Information</strong><div style="margin-left:3em">Include the event viewer crash info.  The Troubleshooting and FAQ section in Help provides details.  Copy / paste information into body of email.  Any other clues seen in Event viewer such as other frequent Errors.<br></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Dec 08, 2021 6:16 am</p><hr />
]]></content>
	</entry>
	</feed>
