<?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/2764" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-10-21T03:58:59+00:00</updated>

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

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-10-21T03:58:59+00:00</updated>

		<published>2021-10-21T03:58:59+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10918#p10918</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10918#p10918"/>
		<title type="html"><![CDATA[Instability and Troubleshooting]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10918#p10918"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em">Blue Iris is challenging because there are so many external dependencies that could cause issues with BI.  Below are a few of the many external dependencies:<ul><li>Windows</li><li>Server hardware</li><li>Networking</li><li>Hardware drivers from Intel or NVidia for decoding live streams</li><li>Camera vendors to provide reliable streams with supported encoding.</li><li>Gmail or other email servers for email alerts</li><li>Apple / Google platform for mobile app push notifications</li><li>Custom integrations via http request and mqtt interfaces</li></ul>All these 3rd party dependencies can lead to instability.<br><br><strong class="text-strong">Some users mistakenly believe sending us their Logs and/or Event viewer details will allow us to resolve their issue.</strong>  The event viewer details are primarily used to <a href="viewtopic.php?f=14&amp;t=2487" class="postlink">confirm the crash was indeed due to Blue Iris</a>.<br><br>Any known issues are documented.  This article explains how to resolve unknown issues.  If the issue is unknown, i.e. BI is crashing in your environment, isolating the issue is key to resolution.<br><br>The <strong class="text-strong"><a href="https://www.youtube.com/watch?v=-lIOh_bzRWc&amp;list=PLkrnjkAf02D2UN2hjwwHrPWuS08K5hhkh&amp;index=6" class="postlink">Blue Iris status log webinar</a></strong> walks through this article if you prefer to listen instead.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Routine maintenance</strong></span><div style="margin-left:3em">Check <a href="viewtopic.php?f=12&amp;t=2080#Server%20Health" class="postlink">server health section</a> for any known issues.  See if resolving those issues restores stability.<br><br><br></div><strong class="text-strong"><span style="font-size:150%;line-height:116%">Version control</span></strong><div style="margin-left:3em">If you believe a recent update introduced instability, fall back to the prior version and see if stability returns.  Fortunately, BI provides a lot of functionality in regards to <a href="viewtopic.php?f=14&amp;t=2060" class="postlink">version control</a>.<br><br>If the instability makes the system unusable (more than one crash per day), rolling back your BI version or Windows update may be the interim solution to get your system running again.  When you have time to investigate, then reinstall the latest update and proceed through article.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Windows tuning article">Windows tuning article</a></strong></span><div style="margin-left:3em">The place to start is with the <a href="viewtopic.php?f=20&amp;t=2080" class="postlink">Windows tuning article</a> to confirm there are first no conflicts between BI and Windows.  In this article, walk through all the checks.  Double check your Anti-virus and Firewall exemptions.  <br><br>If you have not done so already, consider running BI as a service.  By doing so, Windows will automatically restart BI when it runs into issues.  This gives you time to further investigate instability while also keeping the server running.  See <strong class="text-strong">Running as a service</strong> section in Help.  <br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Startup">Startup</a></strong></span><div style="margin-left:3em">If the software does not start or crashes quickly, the only remedy is to adjust the registry until the software does start.  The <a href="viewtopic.php?f=12&amp;t=2052" class="postlink">Software Startup Issues</a> article will walk you through necessary steps.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Instability">Instability</a></strong></span><div style="margin-left:3em"><strong class="text-strong">Windows Event Viewer</strong><br>The Windows Event Viewer confirms application crashes and the exception associated with the crash.  In the BI Help file, follow instructions in the Troubleshooting and FAQ section to examine the Windows Event Viewer.  If you confirm BI is crashing, review the <a href="viewtopic.php?f=12&amp;t=2487" class="postlink">Windows Events article</a> to understand the issue. <br><br>From this article you should be able to determine:<ul><li>Which version of BI first introduced instability.</li><li>The exception associated with the crash.  Understanding of the exception</li></ul><br><strong class="text-strong">Stability</strong><br>This section explains how to restore stability.<div style="margin-left:3em"><strong class="text-strong">Third party dependencies</strong><br>Removing known instability is the first step.  <div style="margin-left:3em"><strong class="text-strong">Hardware acceleration</strong><br>Temporarily disable hardware acceleration, especially if you see <a href="viewtopic.php?f=14&amp;t=2086#GPU" class="postlink">GPU errors in the logs</a>.  This is often a source for instability.<br><br><strong class="text-strong">Cameras</strong><br>Disable / disconnect cameras that lose connectivity frequently.<blockquote class="uncited"><div>After searching the logs over the last few days and paying attention to what preceeded the unexpect stops. I have discovered a camera that seems to be rebooting constantly when there is no light in the area.  I have disabled that camera and the unexpected stops have not occured for the last 2 days.</div></blockquote><br><strong class="text-strong">Network</strong><br>A reliable network is a huge factor in BI running correctly.  We are not networking engineers.  We outline some known pitfalls in the <a href="viewtopic.php?f=12&amp;t=2539#Network%20tests" class="postlink">Network tests section</a>.<br><br></div><strong class="text-strong"><a href="viewtopic.php?f=27&amp;t=3060" class="postlink">CPU Utilization</a></strong><br>If CPU utilization is &gt;65%, this article explains ways to optimize your server.<br><br><strong class="text-strong"><a href="viewtopic.php?f=27&amp;t=3056" class="postlink">RAM Utilization</a></strong><br>This article explains how to deal with RAM issues.<br><br><br></div><strong class="text-strong"><a name="Re-install windows">Re-install windows</a></strong><div style="margin-left:3em">Identifying the root cause for crashes can be a mystery.  We have known users that uninstalled/reinstalled BI, deleted and recreated cameras, reinstalled windows then BI, reinstalled phone apps, unplugged/replugged their hard drives and things miraculously started working again.<br><br><strong class="text-strong">Customer anecdotal</strong><br><blockquote class="uncited"><div>So after concluding that BI was simply unuseable due to it's random, frequent crashes, in desperation I uninstalled BI. To be clear I did the Windows uninstall, then deleted the leftover BI folders from the C:\ drive and then used the Windows regedit app to delete the registry items for Perspective Software in HKEY_Current _User/software and HKEY_Local_Machine/software. Once this was done I then re-installed BI5 and re-configured the cameras, etc.<br>Now BI seems to be stable. It has not crashed randomly for two days now which is a huge improvement over it's previous behaviour.<br>I will monitor the situation going forward but the initial signs are good.</div></blockquote><br>If you want to test your hardware before reinstalling Windows, you could run sfc /scannow or DISM to see if the hard drive or Windows has issues.  You would need to search on YouTube for guidance.  We are not Windows/hardware experts.  Posting a question to the forum is a good idea as well.<br><br>A very viable next step at this point is to simply rollback Windows using System Restore or re-install Windows using the many Windows options.  The <a href="viewtopic.php?f=12&amp;t=2492" class="postlink">Windows Tools article</a> provides options and details.<br><br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Isolate the issue">Isolate the issue</a></strong></span><div style="margin-left:3em">At this point, it is safe to suspect something with your usage or environment is causing instability.<br><br><strong class="text-strong">Root cause</strong><br><br>At this point, you have to decide whether you want to help engineering identify the root cause.  Not everyone has the technical expertise to help engineering get to the root cause.<br><br>The <a href="viewtopic.php?f=14&amp;t=2739" class="postlink">Isolate Issue article</a> provides an example of providing the right information to quickly identify the root cause.  If you have a good handle of BI functionality and IT, we appreciate any and all support.<br><br>The <a href="viewtopic.php?f=14&amp;t=2703" class="postlink">Server crashes ticket</a> is another example of a good ticket that actually led to resolution.<br><br>If you do not have this skillset, no worries.  BI provides some cool features to save the previous version of the software in case you need to roll back quickly and/or want to change update schedule to latest critical. You may want to consider changing your auto-update schedule at this time to avoid future instability.  <a href="viewtopic.php?f=14&amp;t=2060" class="postlink">Version Control</a> article has details.<br><br><br></div><strong class="text-strong">If you are still reading, you are interested in helping identify the root cause.  See <a href="viewtopic.php?f=14&amp;t=2903" class="postlink">Isolate the issue - Framework</a> article.</strong><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Thu Oct 21, 2021 3:58 am</p><hr />
]]></content>
	</entry>
	</feed>
