<?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/forum/27" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2022-02-24T17:28:17+00:00</updated>

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

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-02-24T17:28:17+00:00</updated>

		<published>2022-02-24T17:28:17+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12747#p12747</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12747#p12747"/>
		<title type="html"><![CDATA[Frameworks • Creating short BVR files]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12747#p12747"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em">We sometimes require the original bvr file in order to investigate certain issues such as Record, Export or Playback issues.  Many users use the popular Combine/cut feature in Record settings to reduce the number of files/recordings that are created on your file system.  However, these BVRs often turn out to be quite large, usually 1 GB+ and has a lot of content that is irrelevant to the issue.<br><br>This article explains how to create a short BVR file that isolates the issue.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Small BVR files</strong></span><div style="margin-left:3em"><br>Couple of options to make smaller bvr files.  In Camera settings -&gt; Record tab.<br><br>If you uncheck Combine or Cut Video, that will result in BI cutting the BVR file after each motion trigger.<br>Or you can leave Combine or Cut Video, and change the time length to something small like 15 min.<br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Thu Feb 24, 2022 5:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-28T01:40:06+00:00</updated>

		<published>2022-01-28T01:40:06+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12265#p12265</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12265#p12265"/>
		<title type="html"><![CDATA[Frameworks • Camera audio]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12265#p12265"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>If you were directed to this page you are having audio issues.<div style="margin-left:3em"><br><strong class="text-strong">Audio or 2-way audio</strong><br>I cannot hear audio from the camera.<br>I cannot speak to the camera.<br><br></div>Below are the settings to double check.<br><br><strong class="text-strong">If you need support to get involved, the Next steps / Submit a ticket section explains exactly what is needed to move forward.</strong><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Troubleshooting</strong></span><div style="margin-left:3em"><br><strong class="text-strong">Step 1: Camera connector</strong><div style="margin-left:3em">To get audio to work, especially 2-way, you have to choose the Make / Model appropriate for your camera in the IP Config dialog.   Generic/RTSP will likely not work.  See <a href="viewtopic.php?f=11&amp;t=2043#Step%203" class="postlink">Camera Connector article</a> (Step 3) for best practices when connecting cameras with advanced functionality.<br>If your camera happens to use port 34567 for the RTSP/Media port, then Make/Model = Cantonk/H.264... may work.<br><br></div><strong class="text-strong">Step 2:  Confirm BI Server settings</strong>.<div style="margin-left:3em">Confirm audio is enabled.  Camera settings -&gt; Audio tab.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2437" class="postimage" alt="audio tab.png" onclick="viewableArea(this);" /></dt></dl></div><br>If you cannot hear audio from a remote endpoint (UI3, mobile app), confirm webcasting is also selected.  Below is a screenshot of default settings.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2574" class="postimage" alt="audio_webcast.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Step 3: Console test</strong><div style="margin-left:3em">If Audio does not work from the console, it will not work from any remote endpoints.<br><strong class="text-strong">Live view</strong><br>While testing from the desktop, make sure audio is first turned on for BI and the computer.<ul><li>Computer audio is on and loud enough to hear.</li><li>BI audio is on and loud enough to hear.  Top right of screen.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2439" class="postimage" alt="console sound bar.png" onclick="viewableArea(this);" /></dt></dl></div></li><li>Select the camera.  Confirm audio is active for the camera.  Top left of camera mosaic window.<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2440" class="postimage" alt="console mosaic sound.png" onclick="viewableArea(this);" /></dt></dl></div></li></ul>If console test fails, check <strong class="text-strong">Setup RTSP back-channel for talk support (PCM-U format)</strong> in the IP Config dialog.  <br>Unlikely it will work, but a simple test so why not try.<br><br><strong class="text-strong">Playback test</strong><br>After you get live view working, confirm playback also works.<br>Trigger the camera to force a recording.<br>Can you hear the audio on playback?<br>If not, uncheck/check Also BVR.  Camera settings -&gt; Video tab.<br>Hardware acceleration can have adverse affects on audio.<br><br><strong class="text-strong">MP4 test</strong><br>A simple way to confirm the connector is pulling in the camera audio is to record a sample from the camera.  Export the clip to mp4.  If something is wrong with audio on the console machine (live view / playback tests above), this test at least confirms the BI connector is able to pull the audio from the camera.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2598" class="postimage" alt="camera audio_export.png" onclick="viewableArea(this);" /></dt></dl></div><br>Export settings can be tricky.  Selecting <strong class="text-strong">mp4 format</strong> and <strong class="text-strong">Include audio track</strong> is a must for this test.  <strong class="text-strong">Use sub stream if available is optional</strong>.  If you are recording D2D and have <strong class="text-strong">Re-encode video</strong> unselected, it's very possible your media player cannot play the video format provided by your camera.  Selecting <strong class="text-strong">Re-encode video</strong> almost always works.  <br><br>Basically, the settings above are the safest and almost always works.  The point of the test is to just confirm audio is being sent from the camera and being ingested in the BI server.<br><br></div><strong class="text-strong">Step 4: User permissions</strong><div style="margin-left:3em">Before testing remote endpoints, confirm user logged into mobile app/UI3 has audio privileges.  <br>Global settings -&gt; Users tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2438" class="postimage" alt="mobile devices gotchas_user audio settings.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Step 5: Browser test</strong><div style="margin-left:3em">From a mobile browser, go to the web interface (UI3) and confirm audio works for both the LAN and WAN.<br>If not go to the Encoder settings.  Confirm HA is off.  Hardware encoders are notoriously bad.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2441" class="postimage" alt="mobile devices gotcha_HA off.PNG" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Step 6: Test from the mobile app</strong><div style="margin-left:3em">Before testing on the mobile app, update to the latest version of the app and the BI server. <br>Features/functionality on the mobile app are not guaranteed to run with older versions of the server.<br><br>Confirm audio is turned on for the mobile app.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2442" class="postimage" alt="mobile devices gotcha_audio on.PNG" onclick="viewableArea(this);" /></dt></dl></div></div><strong class="text-strong">Step 7: Two-way audio</strong><div style="margin-left:3em">If your camera has a speaker and you want to talk to the camera (e.g. doorbell camera and someone's at the door):<div style="margin-left:3em">Mic and speaker can't be live at the same time and mic wins ties.<br>Users turn on the speaker and hold down the mic when they want to speak and it will turn back off when you let go.<br><br><br></div></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Next steps / Submitting a ticket</strong></span><div style="margin-left:3em"><br>Camera settings.  Camera settings -&gt; General tab -&gt; Export.<br>If the issue is with a remote endpoint, <div style="margin-left:3em">Confirmation or screenshot showing user permissions are set correctly.  (Step 4)<br>UI3 audio.  Works / does not work. (Step 5)<br>Mobile app audio.  Works / does not work. (Step 6)<br><br></div>You may need to put the camera on the <a href="viewtopic.php?f=15&amp;t=3130" class="postlink">WAN for remote testing</a>.  We will let you know.<br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Jan 28, 2022 1:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-26T23:50:10+00:00</updated>

		<published>2022-01-26T23:50:10+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12256#p12256</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12256#p12256"/>
		<title type="html"><![CDATA[Frameworks • Database troubleshooting]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12256#p12256"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>Having a functioning database is critical to BI performing correctly.  If there are database read/write errors, then bad things happen like recordings/alerts go missing.<br><br>Many users do not realize this, but the Clips list, Alerts list and Timeline are visual representations of records stored in the database. <br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Troubleshooting</strong></span><div style="margin-left:3em"><br><strong class="text-strong">Basics</strong><div style="margin-left:3em">Make sure you followed best practices.  FYI, reviewing entire <a href="viewtopic.php?f=20&amp;t=2080" class="postlink">Windows tuning article</a> is always beneficial.<ul><li><a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Antivirus and firewall exclusions</a></li><li><a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Confirm your database folder is setup correctly.</a></li></ul></div><strong class="text-strong">Clips missing</strong><div style="margin-left:3em">Does BI indicate it is no longer recording?  In the <em class="text-italics">filter by date</em> image below, it appears as though BI stopped recording from Jan 4 - Jan 21 (no red dots).<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2436" class="postimage" alt="record framework_calendar.png" onclick="viewableArea(this);" /></dt></dl></div><br>Not sure yet if BI actually stopped recording or the Database is no longer being updated.  An easy check is to run Repair/Regenerate (see below) and see if BI can resolve the issue.  Another easy check is to open your New folder and see if new recordings are being created by BI.  If so, the issue is with writing to the Database.  <a href="viewtopic.php?f=27&amp;t=3043" class="postlink">Look for database errors in the logs</a>.<br><br>If new recordings are not being created, you probably have a <a href="viewtopic.php?f=11&amp;t=2817" class="postlink">storage issue</a> or <a href="viewtopic.php?f=27&amp;t=3009" class="postlink">recording issue</a>.<br><br></div><strong class="text-strong">Database tools</strong><div style="margin-left:3em">If you right click in the Clips list -&gt; Database section, you have access to the database maintenance functions.  Help provides details on each function.  Repair/regenerate is often used when users notice clips/alerts are missing from the Clips list/Alerts list.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2430" class="postimage" alt="database troubleshooting_maintenance functions.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Log files</strong><div style="margin-left:3em">The logs will tell you if BI is having issues with your Database.  In order to know which errors to look for, we are documenting all the Status log errors.  The ones concerning the database are in the <a href="viewtopic.php?f=14&amp;t=2086#Database" class="postlink">Database category</a>.  Each log error provides details and possible fixes to self-correct.<br><br>The <a href="viewtopic.php?f=27&amp;t=3043" class="postlink">Log files article</a> explains how to easily deal with log files using excel.<br><br></div><strong class="text-strong">Camera stats</strong><div style="margin-left:3em">If particular cameras are missing alerts, the usual issue is lack of key frames.  See <a href="viewtopic.php?f=11&amp;t=2598#Key%20frame%20ratio" class="postlink">key frame ratio section</a> for details.<br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Submitting a ticket</strong></span><div style="margin-left:3em"><strong class="text-strong">Issue</strong>  <div style="margin-left:3em">Clearly describe the issue.  If the issue resides with a remote endpoint, confirm whether there is also an issue in the console.  If you tried the Database maintenance commands, please share.  Anything else you tried.<br><br></div><strong class="text-strong">Storage</strong><div style="margin-left:3em">Screenshot of Alerts folder settings.<br>Screenshot of the Status button -&gt; Storage tab<br><br></div><strong class="text-strong">Camera stats</strong><div style="margin-left:3em">Status button -&gt; Cameras tab -&gt; Export<br><br></div><strong class="text-strong">Logs</strong><div style="margin-left:3em">What do the logs say?  Copy/paste the exact error events from the log file or screenshot the Logs tab.<br><br></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Jan 26, 2022 11:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-26T21:27:24+00:00</updated>

		<published>2022-01-26T21:27:24+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12254#p12254</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12254#p12254"/>
		<title type="html"><![CDATA[Frameworks • CPU Utilization]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12254#p12254"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>Issue:  CPU utilization &gt; 60-75% is not good.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Troubleshooting</strong></span><div style="margin-left:3em">The <strong class="text-strong">CPU management section</strong> in the Help file provides a thorough explanation of CPU utilization.  Below are the most common issues/fixes that alleviate CPU load.<br><br><strong class="text-strong">Antivirus and firewall exemptions</strong><br>BI will not perform well if Windows is in conflict with BI.  Make sure your <a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Anti-virus and Firewall settings</a> are set correctly.<br><br><strong class="text-strong">Cameras</strong><br>CPU utilization is highly dependent on the number of cameras and how the cameras are connected to BI.  Walking through the <a href="viewtopic.php?f=23&amp;t=2426" class="postlink">Connect cameras correctly section</a> in the Checklist documents best practices for adding cameras.  The below bullets highlight some of the key settings to reduce CPU load.  Reviewing the documents listed in the Connect cameras correctly section in its entirety is recommended.<ul><li>For all the high res (2MP+) cameras you need to have <a href="viewtopic.php?f=22&amp;t=2043#Step%202" class="postlink">dual streams</a>.</li><li>Record <a href="viewtopic.php?f=22&amp;t=2778#Record%20tab" class="postlink">direct to disk</a> not re-encode.</li><li>Turn on <a href="viewtopic.php?f=22&amp;t=2778#Video%20tab" class="postlink">hardware acceleration</a>.<br>Your GPU may not support H.265 or complex H.264 profiles.  Always good to <a href="viewtopic.php?f=22&amp;t=2598#Camera%20settings" class="postlink">simplify the camera encoding</a> as much as possible to work with your hardware.</li></ul><br><strong class="text-strong">Streaming</strong><br>Streaming to many endpoints (UI3, mobile apps), web sites, YouTube etc adds load to the server and the network.  A simple test is to reduce the number endpoints (turn UI3, phones, tablets) temporarily and see if CPU decreases.  There is not much that can be done besides getting better hardware.  The <a href="viewtopic.php?f=12&amp;t=2539#Network%20tests" class="postlink">Networking article -&gt; Network tests section</a> does provide some insight on diagnosing server performance.<br><br>One possible CPU issue due to dynamic group layout is documented in the <a href="viewtopic.php?f=13&amp;t=2628#Gotcha%208" class="postlink">5.5 Release Notes -&gt; Gotcha 8</a>.  <br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Jan 26, 2022 9:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-24T16:43:53+00:00</updated>

		<published>2022-01-24T16:43:53+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12222#p12222</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12222#p12222"/>
		<title type="html"><![CDATA[Frameworks • RAM Utilization]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12222#p12222"><![CDATA[
<strong class="text-strong">Introduction</strong><div style="margin-left:3em">We occasionally receive tickets that RAM keeps growing while BI is running.  Occasionally there is a RAM leak introduced by BI and if so we will notify you.  If not, more often than not, hardware issues or drivers cause the leak.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2427" class="postimage" alt="Instability_gotcha 2.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong"><span style="font-size:150%;line-height:116%">Troubleshooting</span></strong><div style="margin-left:3em"><strong class="text-strong">Version control</strong><br>If BI created a memory leak, we usually know quickly and notify users to update the software.  If you believe a recent update has caused the issue, <a href="viewtopic.php?f=14&amp;t=2060" class="postlink">go back to a previous version</a> and see if leak goes away.  This is very helpful information.<br><br><strong class="text-strong">Anti-virus software</strong><br>Otherwise, the usual culprit is Anti-virus software.<br>All the content in this article is good to review.  Pay attention to the <a href="viewtopic.php?f=12&amp;t=2080#Antivirus" class="postlink">Anti-virus and Firewall sections</a>.<br><br><strong class="text-strong">Hardware acceleration</strong><br>Other sources for leaks are drivers.  Turn off hardware acceleration and see if RAM stops growing.  You may need to update your drivers.  Alternatively, go to each of your <a href="viewtopic.php?f=22&amp;t=2598#Camera%20settings" class="postlink">cameras and simplify the encoding</a> and observe if the leaks go away.<br><br><strong class="text-strong">Other hardware</strong><br>Below are examples of RAM and disk drive failures that lead to RAM issues.<br><br>Customer anecdotals:<div style="margin-left:3em"><strong class="text-strong">Antivirus update and software reinstall.</strong><blockquote class="uncited"><div>The Memory issue seems to have gone. <strong class="text-strong">I did some cleanup in BI, rebooted some cameras, and checked Firewall / AV.</strong>  I’m not sure what fixed it. But… till next time. Thanks.</div></blockquote><strong class="text-strong">Reinstalled software</strong><blockquote class="uncited"><div><strong class="text-strong">OK, so I deleted everything BI off the computer, I also reformatted the drive I save footage to. I then reinstalled BI and it seems to be working</strong>... below are the data from about an hour apart. So is the RAM issue (and it appears the CPU usage dropped as well) related to the storage drive filling up? or was it the fresh install of BI that fixed it?<br><br>Update for you. The storage has been maxed out for 5 weeks now. Small increase of CPU usage which dropped the last 2 weeks. RAM usage has stayed below 3gs. <br>I believe that would eliminate everything other than the corrupted update possibility which re installing would have solved. <br><br>Thanks for your help</div></blockquote><strong class="text-strong">Faulty hard drive</strong><blockquote class="uncited"><div>I have recently upgraded my PC (specification attached) and haven’t really been able to get Blue Iris to work properly since ☹<br>In the most recent logs I am getting <strong class="text-strong">out of memory errors (Exception code: 0xc0000005)</strong>.   However this is a brand new top spec gaming PC with 16GB RAM.  The CPU Never goes over 15% and the RAM 5G as far as I can see.<br><br>Blue Iris also regularly crashing out, I have attached the Application Error that seems to cause it (Exception code: 0xc0000005).  So far since purchasing the PC I haven’t been able to get Blue Iris to work properly on it ☹<br><br><strong class="text-strong">Thanks for the attempt at helping, but upon further investigation by me this has actually turned out to be a faulty hard drive.  Once BlueIris was started it kept creeping up to 100% usage and then maxing the RAM out.<br><br>New PC company is sending replacement disk.<br></strong></div></blockquote><blockquote class="uncited"><div>I have been trying to troubleshoot a problem that I've had for a month or two. I started getting Signal: network retry, Signal: restored (these were only a few seconds long between the retry and restore), and DeepStack errors like timeouts and restarts in the logs. Some alerts wouldn't play back. Then the memory would creep up and the server would become so unresponsive I would need to do a hard reset. <br><br>I finally discovered in the system event logs some bad block errors on the disk. Never had any write errors in the BI logs. I finally swapped the local drive where I keep the BI data and everything has been back in business again. Is there a reason BI couldn't detect write errors? It took a month before I figured it out and went through so many settings changes, reinstalls, and tweaks. What proved it was when I tried a full format and it never finished. I even ran a chkdsk and it didn't show any bad sectors. The health was good in the disk utility. I tried reseating the cables, etc. Then finally the system couldn't even boot unless I unplugged the drive.</div></blockquote><strong class="text-strong">Bad RAM</strong><blockquote class="uncited"><div>Update on this ticket.<br><br>I did some more digging and have determined that the “chirping” issue is due to hardware memory errors.  (I was able to verify this with PassMark’s MemTest86)  I’m hopeful the playback stuttering and other issues I’ve been having with Blue Iris are also related to bad RAM.<br><br>The chirp was coming from the buzzer on the motherboard.<br><br>I don’t think it had anything to do with BI other than when BI was running the system was having RAM issues (which were triggering a BIOS level fault that alerted by chirping the buzzer) .   No errors in any windows logs.  Process monitor did show lots of buffer overflows, which led me to test the ram.</div></blockquote><br></div><strong class="text-strong">Logs</strong><br><a href="viewtopic.php?f=27&amp;t=3043" class="postlink">Check the logs</a> for errors.<div style="margin-left:3em"><strong class="text-strong">Storage</strong><br>Storage and RAM issues often go hand in hand.  <a href="viewtopic.php?f=27&amp;t=2817" class="postlink">Check storage</a>.<br><br></div><strong class="text-strong">Isolate the issue</strong><br>If not the above, you need to <a href="viewtopic.php?f=14&amp;t=2764#Isolate%20the%20Issue" class="postlink">isolate the feature / functionality</a> in order to discover the source of the leak.  See if it only happens when camera X is enabled or a particular feature is used.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Submitting a ticket</strong></span><div style="margin-left:3em">The bottom line is if we are aware of a memory issue, we are the first to let you know.  The above documents the usual culprits, many of which are due to hardware failures.  Is it possible that your unique environment has introduced a memory issue?  Possible.  This is why the final steps are to <strong class="text-strong">check the logs for errors</strong> and <strong class="text-strong">isolate the issue</strong>.  If you have additional information regarding log errors we can help.  If you can isolate the issue, we are thankful and happy to investigate further.<br><br><strong class="text-strong">Replying to a ticket after being forwarded to this article</strong><div style="margin-left:3em">If your response after reading above is "Yes, I checked all that and the issue still remains." or something to that extent, then you may want to keep running the last stable version or identify a local reseller that can provide support.  The <a href="viewforum.php?f=21" class="postlink">good tickets sub-forum</a> shows the kind of user expertise that leads to resolution.<br><br>As you can see from the above customer anecdotals, there are some pretty tech saavy users that know Windows and how to diagnose hardware issues.  I also listed the Tools they used to identify root cause below.  If you do not have the hardware expertise, perhaps visit a local PC shop that can evaluate your hardware.<br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Tools</strong></span><div style="margin-left:3em">Tech saavy users have used the following tools to identify RAM issues.<div style="margin-left:3em"><a href="https://www.passmark.com/products/performancetest/index.php" class="postlink">passmark software</a>: RAM tests<br><a href="https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer" class="postlink">Process explorer</a>: May provide hints based on errors.</div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Mon Jan 24, 2022 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-23T22:32:30+00:00</updated>

		<published>2022-01-23T22:32:30+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12204#p12204</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12204#p12204"/>
		<title type="html"><![CDATA[Frameworks • Creating video]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12204#p12204"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>Short helper article to explain how to create videos to better explain issues in a ticket.<br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Video</strong></span><div style="margin-left:3em"><br>I strongly recommend creating a short desktop video with a narrative of the issue.  I use Zoom to record the desktop.  There are many choices provided by Windows.  VLC is also an option.<br><br>FYI.  You can point the phone camera at the desktop and create a video pertaining to a console or UI3 issue as well.<br><br>Some users provide a video without a narrative of what's going on which is more challenging because I have to keep going back and forth between the email and the video to understand.  Alternatively, provide notes as to what you are demonstrating in the video.  For example:<div style="margin-left:3em">At 1:05, I doubled the playback speed to 2x.<br>At 1:49, the scrubber will not stick to the position where I wanted playback to begin.<br>etc. <br><br></div><strong class="text-strong">Mobile device</strong><br>If the issue lies with the Mobile device, phones have made it very easy to create a video with screen share.<ul><li>In iOS, creating a video is simple now.  <a href="https://support.apple.com/en-us/HT207935" class="postlink">https://support.apple.com/en-us/HT207935</a></li><li>Just as simple on an Android. Invoke Screen record.</li></ul><br>If the video (mp4) is too large to send via email, use a file share service.  Many use Google drive but there are lots of choices.  DropBox, Box, iCloud etc.<br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Sun Jan 23, 2022 10:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-18T02:14:37+00:00</updated>

		<published>2022-01-18T02:14:37+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12137#p12137</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12137#p12137"/>
		<title type="html"><![CDATA[Frameworks • Log files]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12137#p12137"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>The log files are invaluable when trying to root out instability and crashes.  With thousands of lines of events, how do you make sense of the logs?  This article explains how to do so.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Activate log files</strong></span><div style="margin-left:3em"><br>If you have not done so already, turn on logging.  Check <strong class="text-strong">Save to file</strong>.  Status button -&gt; Log tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2458" class="postimage" alt="status log_logs.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Understanding the log file</strong></span><div style="margin-left:3em"><br>The log file is really good for providing clues when external functionality that BI depends on is NOT functioning.<br><strong class="text-strong">The <a href="viewtopic.php?f=12&amp;t=2086" class="postlink">Status Log Errors article</a> provides details on error events in the log file.<br>Each error also documents fixes.  If you identify errors, go to the Status Log Errors article, find your error and try to self correct.<br></strong><br>The major categories are:<ul><li>DeepStack:  3rd party solution</li><li>Storage:  Hardware.  Hard drive</li><li>Database: Proxy for hardware issue.  Hard drive</li><li>Recording: Hardware. Hard drive</li><li>GPU: Hardware. GPU</li><li>Memory: Hardware.  Memory</li><li>ONVIF Trigger: Hardware.  Camera</li><li>Registry: Windows</li><li>3rd Party software</li></ul><br>The event code is the first column (digit) in every line.<ul><li>0 = Informational event</li><li>1 = Warning</li><li><strong class="text-strong">2 = Errors</strong></li><li>3 = Motion events</li><li>4 = Check marks</li><li>10 = user access (login / logout)</li></ul>I always look for Errors and try to resolve.<br>Address Warnings when time is available.<br><br><strong class="text-strong">Excel</strong><br>The log files are easy to import into excel.  After doing so, it becomes very easy to process logs that are 1000s of lines long.  One gotcha during the import is to set the date column to Text otherwise the column gets incorrectly translated to a number.<div style="margin-left:3em"><br>1. Once imported, the error code is 2.  Filter the data by error code 2 to easily find all the errors events that occurred on your server.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2404" class="postimage" alt="instability and troubleshooting_error code.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>2.  <strong class="text-strong">For each error, go to the <a href="viewtopic.php?f=14&amp;t=2086" class="postlink">Status log errors</a> file to resolve the issue</strong>.  If you know excel pretty well, it's easy to determine the different types of errors seen by your server.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2405" class="postimage" alt="instability and troubleshooting_errors.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">Crashes</strong><br>Filter for the <strong class="text-strong">Restart after unexpected shutdown</strong> events.  If the event exists, the server crashed.  The time stamp of the event BEFORE the Restart line identifies when the crash occurred.<br><br>If the server crashed, good to see if any of the prior events to the crash provides hints as to the cause.  Continue searching up to determine if common events occur before crashes.  The restart lines always state which version of the software was restarted which is usually the version that crashed.  Always good to know.<blockquote class="uncited"><div>One user identified a camera was constantly rebooting at night prior to a BI crash.  Disabling the camera restored stability.<br></div></blockquote>A good best practice is to examine the log file on a weekly/monthly basis for errors and warnings.<br><br></div><strong class="text-strong"><span style="font-size:150%;line-height:116%">Submitting a Ticket</span></strong><div style="margin-left:3em"><br>The point of this guide is NOT to identify errors and email support.  The point of this guide is to identify errors -&gt; read through the details of your errors and apply the suggested fixes to self-correct.<br><br>If still an issue and your error is documented, provide details on what exactly you did to resolve the issue.  Suggested fixes vary depending on the underlying issue. <br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Jan 18, 2022 2:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-15T18:15:28+00:00</updated>

		<published>2022-01-15T18:15:28+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12108#p12108</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12108#p12108"/>
		<title type="html"><![CDATA[Frameworks • Mobile apps troubleshooting - Connectivity]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12108#p12108"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>This article provides the framework for troubleshooting connectivity issues with your mobile app.<br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Troubleshooting</strong></span><div style="margin-left:3em"><br><strong class="text-strong">Sample Issues:</strong>  <ul><li>User states cannot connect to the WAN and/or the LAN.</li><li>User states the app crashes.</li><li>User states live view, playback etc is not working or intermittent.</li></ul><strong class="text-strong">Diagnostics</strong><div style="margin-left:3em">Needed steps to diagnose/understand the issue.<br><br><strong class="text-strong">Server</strong><div style="margin-left:3em"><strong class="text-strong">Windows</strong><br>Always good to run through the <a href="viewtopic.php?f=12&amp;t=2080#Antivirus" class="postlink">Windows Tuning article</a> just to make sure Windows is not in conflict with BI.  Pay attention to <strong class="text-strong">Anti-virus and Firewall sections</strong>.<br><br><strong class="text-strong">Logs</strong><br>Always check the <a href="viewtopic.php?f=27&amp;t=3043" class="postlink">logs for errors</a>.<br><br></div><strong class="text-strong">Connectivity issues</strong><br>Connectivity issues are issues associated with app crashes or connectivity issues to the server.<div style="margin-left:3em"><strong class="text-strong">Restart</strong><div style="margin-left:3em">Could be as simple as restarting the app.<br>Could be as simple as rebooting the phone.<br>Could be as simple as reinstalling the app.<br><br></div><strong class="text-strong">Lookup (iOS) / Get IPS (Android) key</strong><div style="margin-left:3em">If the apps worked before, the fix could be as simple as updating IP addresses on the app.  The <a href="https://blueirissoftware.com/forum/viewtopic.php?f=19&amp;t=2211#Lookup%20key" class="postlink">Mobile devices article</a> -&gt; <strong class="text-strong">Lookup key section</strong> explains how to easily update those values on the app.<br><br></div><strong class="text-strong">Mobile app server settings</strong><br>Confirm your <a href="viewtopic.php?f=19&amp;t=2211#Server%20settings" class="postlink">mobile app server settings</a>.<ul><li>License key</li><li>Http vs https protocol</li><li>LAN/WAN addresses</li><li>Username</li><li>Password</li></ul>This section also has screenshots of the phone settings needed for the app to work correctly.  <strong class="text-strong">Confirm your phone settings as well</strong>.<br><br><strong class="text-strong">BI server settings</strong><div style="margin-left:3em">The <a href="viewtopic.php?f=19&amp;t=2211#Network%20connectivity" class="postlink">Network connectivity section</a> provides guidelines on how to trouble shoot mobile app connectivity issues.<br><br></div></div><strong class="text-strong">Video streams</strong><br>Issues with live view, playback of alerts.  <div style="margin-left:3em"><strong class="text-strong">Scope</strong><br>Is the issue with a subset of cameras or all the cameras?  If the issue is with one camera, you may need to troubleshoot that one camera.  See troubleshooting articles in the <a href="viewtopic.php?f=26&amp;t=2982#Cameras" class="postlink">Cameras section of the Troubleshooting toolkit</a>.<br><br><strong class="text-strong">Streaming Settings</strong><br>If all the cameras are affected, maybe the stream is too complicated for the media player on your phone.  <a href="viewtopic.php?f=19&amp;t=2088#Mobile%20apps" class="postlink">Try simplifying the stream</a>.<br><br></div></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Submitting tickets</strong></span><div style="margin-left:3em"><br><strong class="text-strong">Support information</strong><div style="margin-left:3em">It's easy to share support info.  It's important as well in order to understand your computer stats and the version of the software you are running.  <br>Before submitting a new ticket, click the Help button (? button).<br>Copy Email support info to copy critical system info to the clipboard.  <br>Then paste the clipboard into the top of your support email.  Below is a snippet from my "Email support" button.<br><br>Email to: <a href="mailto:support@blueirissoftware.com">support@blueirissoftware.com</a><br><br>Support data:<br>Version: Release 5.3.8.12 x64  (1/22/2021)<br>Service: No<br>License: XXX<br>Name: John V<br>Email: &lt;email&gt;@yahoo.com<br>Support: Basic<br><br></div><strong class="text-strong">Steps to reproduce</strong><div style="margin-left:3em">What are the steps to reproduce the error?  A <a href="viewtopic.php?f=27&amp;t=3051" class="postlink">video is always helpful</a>.<br><br></div><strong class="text-strong">Remote access wizard</strong><div style="margin-left:3em">Any errors?  If so, did you go through help to self-correct.  Screenshot of any errors.<br><br></div><strong class="text-strong">Remote device tests</strong><div style="margin-left:3em">Test 1:  Can you access the web interface from the local machine?<br>Test 2: From a browser on the phone, can you connect via UI3 to the server on the LAN?<br>Test 3: From a browser on the phone, can you connect via UI3 to the server on the WAN?<br><br></div><strong class="text-strong">Screenshots</strong><div style="margin-left:3em">Global settings -&gt; Web server tab<br>Global settings -&gt; Web server -&gt; Advanced button<br>Mobile app:  Server settings<br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Gotchas</strong></span><div style="margin-left:3em"><br>Learnings from past tickets.<br><br><strong class="text-strong">Gotcha 1: Cameras are not visible</strong><div style="margin-left:3em"><br>There are many reasons why a camera is not visible on the mobile app.<ul><li>The camera could be marked as hidden.  Camera settings -&gt; General tab.</li><li>Webcasting could be disabled.  Camera settings -&gt; Webcast tab.</li><li><a href="viewtopic.php?f=24&amp;t=2943#Users%20tab" class="postlink">Permissions</a>.  The username logged into the app is a limited account that does not have permission to view all cameras.</li></ul></div><strong class="text-strong">Gotcha 2:  Group/mosaic view is not visible</strong><div style="margin-left:3em"><br>Similar to above.<ul><li>Group webcasting is off.  Gear icon (top right of console) -&gt; Enable group webcast stream.</li><li><a href="viewtopic.php?f=24&amp;t=2943#Users%20tab" class="postlink">Permissions</a>.  The username logged into the app is a limited account that does not have permission to view all groups.</li></ul></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Sat Jan 15, 2022 6:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-01-09T02:34:18+00:00</updated>

		<published>2022-01-09T02:34:18+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12023#p12023</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12023#p12023"/>
		<title type="html"><![CDATA[Frameworks • Record troubleshooting]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12023#p12023"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>This article is about narrowing down record issues to root cause.  Common ticket states I am missing recordings or recordings have skipped.  This is not actionable.<br><br>If you are new to BI, best to review <a href="viewtopic.php?f=11&amp;t=2305" class="postlink">Record tab article / webinar</a>.<br><br>The <strong class="text-strong">Next steps / Submitting a ticket</strong> section at the bottom of the article states needed information to move forward.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Troubleshooting</strong></span><br><br><strong class="text-strong">Record settings</strong><div style="margin-left:3em">Understand your record settings.  The <strong class="text-strong">When triggered</strong> and <strong class="text-strong">When alerted</strong> selections will ONLY record when the camera triggers/alerts.  <br><br><strong class="text-strong">When triggered</strong><br>Camera triggers (trigger tab settings) -&gt; Record<br>Trigger: Camera triggered (motion event in logs).  Easy to confirm whether camera triggered (besides checking the logs).    In the Trigger tab, set <strong class="text-strong">Add to alerts list: = Hi-res JPEG</strong> files.  If the camera triggers, a corresponding alert image is created in your Alerts folder!  Easy way to use BI to tell you what is going on.<div style="margin-left:3em">--&gt; Record: Recording occurs until the trigger ends<br><br></div><strong class="text-strong">When alerted</strong><br>Camera triggers (trigger tab settings) -&gt; AI (if enabled) -&gt; Alert filters (if any.  set in Alerts tab) -&gt; Record<br>Trigger: Camera triggered (motion event in logs).  Easy to confirm whether camera triggered (besides checking the logs).    In the Trigger tab, set <strong class="text-strong">Add to alerts list: = Hi-res JPEG</strong> files.  If the camera triggers, a corresponding alert image is created in your Alerts folder!  Easy way to use BI to tell you what is going on.<div style="margin-left:3em">-&gt; AI: If using AI, DeepStack analysis will tell you if an object was found, i.e. confirmed alert.  Fortunately a DeepStack event will also be registered in the logs.<div style="margin-left:3em">-&gt; Alerts tab:  Filters in the AIerts tab can block an alert.  Easy to check.  Do you see the alert in the Alerts list.  If not, then you know the Alerts tab is somehow blocking the Alert!<div style="margin-left:3em">-&gt; Record:  Recording occurs until the trigger ends</div></div></div> <br><br>BI does NOT record continuously with When triggered/alerted settings.  In addition, <strong class="text-strong">Combine or cut video each</strong> (selected by default) places triggers/alerts into a combined recording file.  Thus, playing back a recording (i.e. a clip) will result in the appearance of gaps when in actuality, BI is just jumping to the next alert.<br><br>So, the time lapse when playing back a file that was created with When triggered/alerted settings is due to BI playing alert 1 and then alert 2 and so on.  The time between alerts are NOT recorded, thus the possible appearance of a gap in the recording.<br><br>See <a href="viewtopic.php?f=11&amp;t=2305" class="postlink">Recording article / webinar</a> for details.<br><br></div><strong class="text-strong">Cameras</strong><div style="margin-left:3em"><br><strong class="text-strong">Camera streams</strong><br><br>Garbage in = Garbage recorded.  <br>Are the cameras functioning?  <br>Is a particular camera not recording?  May have a camera hardware issue.<br>Is a subset of camera(s) not recording?  May have a network hardware issue.<br>Do you have good healthy live video?  Not choppy?  Not lagging?  Not glitching etc.<br><br>If the camera streams are poor, choppy etc then of course the recordings will have issues.  The <a href="viewtopic.php?f=26&amp;t=2982#Cameras" class="postlink">camera streams section</a> has links to articles to resolve streaming issues if any.<br><br><strong class="text-strong">Camera stats</strong><br><br>Know your <a href="viewtopic.php?f=22&amp;t=3142" class="postlink">camera stats</a> and how to fix.  <strong class="text-strong">The key frames and pre-trigger buffer settings are so crucial for BI to perform well when saving D2D</strong>.  See details in <a href="viewtopic.php?f=22&amp;t=2598#Key%20frame%20ratio" class="postlink">key frame section</a>.<br><div style="margin-left:3em"><br>Below is an example from a past ticket.<br>Issue:  I had a dark room and a door opened, someone moved a box and left and the recording never showed any of it.  Not even a single idea the door had ever opened for 25 seconds.<br><br>Your camera stats tell you how the camera is performing.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2338" class="postimage" alt="record _camera stats.png" onclick="viewableArea(this);" /></dt></dl></div><br>The camera stats are terrible.  The key frame ratio is 0.11, i.e. one key frame every 9.09 s.  The person could have entered the dark room and cleaned out everything in 10s.  <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_e_wink.gif" width="15" height="17" alt=";)" title="Wink"><br><br>Fix: User also stated he was experimenting with H.265+/H.264+ encoding which is a major no, no.  H265+ / H264+ are all proprietary encoding which seem to optimize network bandwidth (for 4k+ cameras) by minimizing key frames and thus the issue.<br><br></div></div><strong class="text-strong">Network congestion</strong><div style="margin-left:3em"><br>Surveillance equipment puts a heavy load on the network.  Need to know your <a href="viewtopic.php?f=20&amp;t=2539#Network%20tests" class="postlink">network stats</a>.  If the network is congested, BI can lose connection to a camera or frames may be lost on the network.<br><br></div><strong class="text-strong">Storage</strong><div style="margin-left:3em"><br>The biggest cause of record issues is when recording is set to D2D, but the key frame ratio is low or no pre-trigger buffer is created, <strong class="text-strong">as stated above in bold</strong>.  <br><br>The second cause is BI does NOT have disk space to write the recording.  Confirm your <a href="viewtopic.php?f=11&amp;t=2817" class="postlink">storage is functioning</a>.<br><br></div><strong class="text-strong">BI Server</strong><div style="margin-left:3em"><br><strong class="text-strong">Windows</strong><br>Make sure BI and Windows are working well together.<br>See <a href="viewtopic.php?f=20&amp;t=2080" class="postlink">Windows Tuning article</a> for details. <br>Focus on the <strong class="text-strong">Storage</strong> sections.<br>Always good to review <strong class="text-strong">Firewall and Anti-virus</strong> sections as well.<br><br><strong class="text-strong">Windows power settings</strong><br>Power savings:  Make sure BI is running full throttle all the time.  <br>If the disk drive or the network card is put to sleep, then obviously you will have poor recordings.<br>On a BI server, power saver settings should only put the monitor to sleep and nothing more.<br><br><strong class="text-strong">BI Software - Check logs</strong><br>The <a href="viewtopic.php?f=27&amp;t=3043" class="postlink">logs</a> are a great place to start because it identifies errors associated with hardware BI is dependent on to function: Hard drives, NAS devices, DeepStack etc.<br>Look for <a href="viewtopic.php?f=14&amp;t=2086#Storage" class="postlink">Storage and Recording errors</a>.<div style="margin-left:3em"><br><strong class="text-strong">Server running</strong><br>If you have a gap in your recordings, first make sure the server was running.<br>Search for <strong class="text-strong">Restarted after unexpected shutdown</strong>.  Error code 2 (first column).<br>The timestamp of the preceding line tells you when the server went downs: 10:37:41.516.<div class="codebox"><p>Code: </p><pre><code>0 9/16/2021 10:37:41.516 PMAI                  Delete: nothing to do [62/168 hrs, 2.00M/5.00G, 256.0G free]2 9/16/2021 10:38:03.393 PMApp                 Restarted after unexpected shutdown (5.5.0.11/1500/240)</code></pre></div><br><strong class="text-strong">Other software checks</strong><div style="margin-left:3em">Threads that can temporarily stop recordings.<br><br><strong class="text-strong">Archive thread</strong><br>The archive thread is responsible for moving files based on your Clips and archiving settings and has the ability to stop recordings temporarily.  If you have <strong class="text-strong">Log clip move/delete details</strong> selected in Global settings -&gt; Clips and archiving tab, then below log entries every 5 minutes indicates the thread is running properly.<br><div class="codebox"><p>Code: </p><pre><code>0 1/1/2022 12:07:22.765 AMNew                 Delete: nothing to do [719/720 hrs, 11.0G/100.0G, 297.1G free] 1 locked0 1/1/2022 12:07:22.766 AMAlerts              Delete: nothing to do [167/168 hrs, 50.2M/20.0G, 297.1G free]</code></pre></div>The actual details will be different based on your Clips and archiving setup.  The 0 code event starting with <strong class="text-strong">Delete:</strong>, however, are the identifiers associated with archive thread events.  <br><br><strong class="text-strong">Compact / Repair thread</strong><br>Compact / repair is a UI feature initiated by right clicking on the clip list -&gt; Database -&gt; Repair/regenerate.  If there were issues with its functionality, it would be immediately visible in the UI feedback.<br><br></div></div><strong class="text-strong">CPU Utilization</strong><br>If the CPU is overloaded (&gt;80%), then BI may be too busy to fulfill all the camera settings.<br><a href="viewtopic.php?f=27&amp;t=3060" class="postlink">See link for details</a>.<br><br><br><strong class="text-strong">Hardware overloaded</strong><br><br>You may have so many cameras connected to your server that you overloaded the hardware.  Disable working cameras and see if the problematic cameras start working again.  This is a telltale sign that you have overloaded hardware resources.  <div style="margin-left:3em"><br><strong class="text-strong">Hardware acceleration</strong><br>To determine whether the hardware acceleration (HA) is overloaded, enable all the cameras and turn HA off for the non-working cameras.  By doing so, you have moved the decoding load from HA to the CPU.  See if the non-working cameras start working again.<br><br><strong class="text-strong">Ethernet card</strong><br><br>The Network congestion section above examines whether the server ethernet card is overloaded.<br><br><strong class="text-strong">Hard drives</strong><div style="margin-left:3em"><br>Customer Anecdotal:<br>Symptoms:  The cameras keep freezing and stop recording after so long.  Keeps getting network/signal retry but the network is fine <strong class="text-strong">and if I plug the old machine in it works fine</strong>.    <br><br>The server suddenly ‘freezes’ along with most of the cameras.  There’s doesn’t appear to be one ‘particular model’ of camera that is an issue.  This can happen after half an hour or after 10 hours, it is intermittent.  It can affect 2-3 cameras, or all of them.  Once it freezes the iphone app will connect but says all the cameras are unreachable, the UI3 interface won’t connect/refresh at all, the blueiris cameras on screen are frozen and despite the Server saying it is at 4% RAM, the app on the iphone says it’s at 96%?!<br><br>Once Blue Iris was started it kept creeping up to 100% usage and then maxing the RAM out.<br><br>Issue/Fix: Faulty hard drive which was replaced.<br><br>Google search for many articles on "windows faulty hard drives" to determine whether you have a bad drive.  Here is a <a href="https://www.makeuseof.com/tag/5-signs-hard-drive-lifetime/" class="postlink">link to one finding</a>.<br>System File Checker (SFC) and Check Disk (chkdsk) are popular tools provided by Windows.<br><br><br></div></div></div><strong class="text-strong">BI Software Settings</strong><br><br>Below are accidental software settings that could have stopped recordings.<br><div style="margin-left:3em"><br>The following are ways recordings could have stopped based on BI settings.<br><br><strong class="text-strong">Record settings</strong><br><br>Camera settings -&gt; Record tab<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2339" class="postimage" alt="record_record settings.png" onclick="viewableArea(this);" /></dt></dl></div><br>If the video checkbox is unselected, you turned off recordings for the camera.<br>If you choose one of the "When" settings, the cameras will NOT record unless the camera triggered.<br>Make sure your trigger settings are correct.<br><br><strong class="text-strong">Camera Paused</strong><br>Was the camera temporarily paused in BI?<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2340" class="postimage" alt="camera paused.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong">Shield red</strong><br>Was the shield red?<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2341" class="postimage" alt="red shield.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong">Profile</strong><br>Was the camera not active for certain profiles?<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2342" class="postimage" alt="record camera profile.png" onclick="viewableArea(this);" /></dt></dl></div><br>The image above shows the camera is set to inactive for Profile 2.  Camera settings -&gt; General tab.<br>The current active profile is 2 (Work hours).<br>In the camera border, BI tells you the camera is running Profile 0 (Inactive) instead of Profile 2, which is a great visual reminder of what is going on.<br><br><strong class="text-strong">Camera schedule</strong><br><br>Similar to above, the camera schedule can also force a camera to the Inactive profile.  Camera settings -&gt; Schedule.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2343" class="postimage" alt="record_camera schedule.png" onclick="viewableArea(this);" /></dt></dl></div><br>If you uncheck, Use global schedule when..., all the blank space in the schedule is filled with the Inactive profile.<br><br><strong class="text-strong">Motion sensor</strong><br>Is there a blue border around the camera?  The blue border means the motion sensors are off for the camera.<br>If you chose one of the <strong class="text-strong">When+</strong> record settings, then nothing will record because the camera will not trigger because the motion sensors are off.<br>The Alerts list / Timeline will always be empty because the camera is not triggering.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2344" class="postimage" alt="record blue border.png" onclick="viewableArea(this);" /></dt></dl></div><br><ul><li>Either your Schedule is running the Inactive profile as seen in the image above.  This would result in ALL the cameras not recording.</li><li>Or you paused the camera as stated above</li><li>Or somehow the motion sensor is turned off.  Camera settings -&gt; Trigger tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2345" class="postimage" alt="record motion sensor.png" onclick="viewableArea(this);" /></dt></dl></div></li></ul></div><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Gotchas</strong></span><br>Learnings from past tickets.<br><br>Gotcha 1: <strong class="text-strong">Recordings stopped</strong><div style="margin-left:3em"><br>You first need to understand the scope of the issue.  Did recordings stop across ALL your cameras or do you have issues with one camera?  Easy way to know is by opening the filter by date feature in the Clips list.<br><br>The red dots indicate days with recordings.  Notice in example below, no red dots for Jan 4 - Jan 21.  This implies the issue exists for all cameras.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2435" class="postimage" alt="record framework_calendar.png" onclick="viewableArea(this);" /></dt></dl></div><br>The question to ask yourself is whether Recordings do not exist because BI is not recording or whether the Database is running into errors and not inserting clips / alerts into the database tables.<div style="margin-left:3em"><a href="viewtopic.php?f=27&amp;t=3061" class="postlink">Check for database issues</a>.<br>If not the database, you probably have a <a href="viewtopic.php?f=11&amp;t=2817" class="postlink">storage issue</a>.</div><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Submitting a ticket</strong></span><br><br><strong class="text-strong">Log files</strong><div style="margin-left:3em">Fix any server errors.  The <a href="viewtopic.php?f=27&amp;t=3043" class="postlink">Log files framework</a> explains how to use excel to dissect log files quickly.<br>The <a href="viewtopic.php?f=14&amp;t=2503" class="postlink">Understanding Log Files article/webinar</a> is a case study on how I discovered NAS issues for a user.<br><br></div><strong class="text-strong">If you really believe the issue is with BI software, provide the supporting evidence.</strong><div style="margin-left:3em">Describe the issue.<br>When you discover a gap, send the bvr to us for review.<br>We need a screenshot of the Alert in the Alerts list.  This is how we confirm the camera was triggered/alerted and was supposed to continue recording.  Does not apply to Continuous or Periodic record settings.<br>Specify the time when the gap occurred.<br>Share your camera settings.  Camera settings -&gt; General tab -&gt; Export<br>Share the logs coinciding with bvr file.  ** Very Important **<br>Support info<br><br></div>What we will do with the information.<div style="margin-left:3em">Confirm recordings stopped in the BVR file.<br>Confirm your camera settings are not causing the issue<br>Check the logs to see what could have caused recordings to stop.<br>Were there any errors associated with writing to disk?<br><br></div>Before sending to us, you should first do the above to confirm for yourself the issue is NOT with your settings or your server hardware.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Sun Jan 09, 2022 2:34 am</p><hr />
]]></content>
	</entry>
		<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[Frameworks • Isolate the issue]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<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>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-11-03T17:32:34+00:00</updated>

		<published>2021-11-03T17:32:34+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11123#p11123</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11123#p11123"/>
		<title type="html"><![CDATA[Frameworks • Storage Troubleshooting - Clips and archiving tab]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11123#p11123"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><br><br>This article is focused on the Clips and archiving tab, i.e. Storage.  If you are new and are trying to understand how camera recordings tie into storage on your file system (Clips and archiving tab), the <a href="viewtopic.php?f=23&amp;t=2426" class="postlink">Storage and Recordings section</a> of the Checklist is the place to start.  The webinar walks through the Help files and provides the foundation of how Recordings (from cameras) tie into Storage (Clips and archiving tab).<br><br>This article provides a framework for troubleshooting storage issues and documents learnings from past tickets (Gotchas section).<br><br><strong class="text-strong">If you were directed here, see <strong class="text-strong">Next steps / Submitting a ticket</strong> section for needed information to move forward.  Simply stating you have an issue will not lead to resolution.<br></strong><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Troubleshooting</strong></span><br><br>Providing just a description of the issue will not resolve the issue.<div style="margin-left:3em"><br></div><strong class="text-strong">Framework</strong><div style="margin-left:3em"><br>Follow steps below to address storage issues.<br><br><strong class="text-strong">Basics</strong><br>Make sure you followed best practices.  FYI, reviewing entire <a href="viewtopic.php?f=20&amp;t=2080" class="postlink">Windows tuning article</a> is always beneficial.<ul><li><a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Antivirus and firewall exclusions</a></li><li><a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Storage best practices</a></li></ul><br><strong class="text-strong">Self-correct</strong><br>Double check your Global settings -&gt; Clips and archiving tab settings.  Confirm your cameras are recording files to the New folder or other folders based on your settings.<br><br>Seek guidance from the <strong class="text-strong">Help button</strong>.  Watch the <a href="https://youtu.be/zR2r-dgLznw" class="postlink">Storage and recordings</a> webinar.<br><br><strong class="text-strong">BI stats and warnings</strong> <br>Self-correct BI warnings and errors.  Status button -&gt; Clip storage tab.  Help button provides details.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2268" class="postimage" alt="storage_warning.png" onclick="viewableArea(this);" /></dt></dl></div><br>Similar error when seen in the log files.<br><div class="codebox"><p>Code: </p><pre><code>2 2/7/2022 11:59:19.456 PMClips               C:: 1427, 1.46T/1.95T (-26.3G)</code></pre></div>Status -&gt; Storage tab.  Example of clip storage that should raise concerns.  Red zones are an issue.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2269" class="postimage" alt="storage_NAS errors.png" onclick="viewableArea(this);" /></dt></dl></div><br>User went through best practices listed above (Basics section) to resolve the issue:<br><br>After above fixes:<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2270" class="postimage" alt="storage_NAS fix.png" onclick="viewableArea(this);" /></dt></dl></div><br>Notice how both drives have remaining green (unused) space.  This is a good practice to NOT allocate the ENTIRE drive to BI.<br><br><br><strong class="text-strong">Logs</strong><div style="margin-left:3em"><strong class="text-strong">Archive thread</strong><br>The archive thread is responsible for moving files based on your Clips and archiving settings.  If you have <strong class="text-strong">Log clip move/delete details</strong> selected in Global settings -&gt; Clips and archiving tab, then below log entries every 5 minutes indicates the thread is running properly.<br><div class="codebox"><p>Code: </p><pre><code>0 1/1/2022 12:07:22.765 AMNew                 Delete: nothing to do [719/720 hrs, 11.0G/100.0G, 297.1G free] 1 locked0 1/1/2022 12:07:22.766 AMAlerts              Delete: nothing to do [167/168 hrs, 50.2M/20.0G, 297.1G free]</code></pre></div>The actual details will be different based on your Clips and archiving setup.  The 0 code event starting with <strong class="text-strong">Delete:</strong>, however, are the identifiers associated with archive thread events.  <br><br><br><strong class="text-strong">Log files</strong><br>The logs will tell you if BI is having issues with your Storage.  In order to know which errors to look for, we are documenting all the Status log errors.  The ones concerning storage are in the <a href="viewtopic.php?f=14&amp;t=2086#Storage" class="postlink">Storage category</a> and <a href="viewtopic.php?f=14&amp;t=2086#Recording" class="postlink">Recordings category</a>.  Each log error provides details and possible fixes to self-correct.<br><br>The <a href="viewtopic.php?f=27&amp;t=3043" class="postlink">Log files article</a> explains how to easily deal with log files using excel.<br><br>The <a href="viewtopic.php?f=12&amp;t=2503" class="postlink">NAS Case Study article</a> is a case study on how to leverage the logs to get to Storage issues.<br><br><br><strong class="text-strong">Log tab</strong><br>Might be easier to look for errors in the Logs tab if you check logs frequently.  See <a href="viewtopic.php?f=20&amp;t=2080#Routine%20maintenance" class="postlink">Routine maintenance guidance</a> for best practices.  Keep in mind the Log tab is a snapshot in time of the recent events.  Just because Storage and Recording errors do not pop up in the Log tab does NOT mean Storage and Recording errors do NOT exist.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2271" class="postimage" alt="storage_storage error.png" onclick="viewableArea(this);" /></dt></dl></div><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Tools</strong></span><div style="margin-left:3em">Many tech saavy users have identified storage access errors or hard drive issues using the following tools.  Understanding how to use each tool is up to you.<div style="margin-left:3em"><br><a href="https://windirstat.net/index.html" class="postlink">windirstat</a><br>CrystalDiskInfo<br><a href="https://docs.microsoft.com/en-us/sysinternals/downloads/procmon" class="postlink">procmon</a><br><a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sfc" class="postlink">sfc</a>: Windows tool.  Scans and verifies the integrity of all protected system files.<br><br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Next steps / Submitting a ticket</strong></span><br><br>See <a href="viewtopic.php?f=21&amp;t=2980" class="postlink">Storage ticket</a> for details.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Gotchas</strong></span><br>This section documents key learnings from past tickets.<br><br><strong class="text-strong">Clips list / Alerts list</strong><div style="margin-left:3em">Issue: My clips list / alerts list is blank.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2535" class="postimage" alt="storage troubleshooting_database empty.png" onclick="viewableArea(this);" /></dt></dl></div><br>It's very unlikely BI deleted your recordings.  Check the filesystem where you told BI to save your recordings.  For example my New folder saves to G:\BlueIris\New folder.  Global settings -&gt; Clips and archiving tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2536" class="postimage" alt="storage troubleshooting_new.png" onclick="viewableArea(this);" /></dt></dl></div><br>And when I look at the content in the folder, I can confirm my recordings are there.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2537" class="postimage" alt="storage troubleshooting_folder.png" onclick="viewableArea(this);" /></dt></dl></div><br>As you can see, recordings are saved based on the camera short name, e.g. Cam6.  Since my short name Cam6 is assigned to an existing camera in BI, the recordings and alerts appear in the Clips list and Alerts list<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2538" class="postimage" alt="storage troubleshooting_camera short name.png" onclick="viewableArea(this);" /></dt></dl></div><br>If I change the short name to something else, e.g. Cam50, the Clips/Alerts list will be empty.  Make note, the recordings and alerts are NOT deleted.  The association between the camera short name and entries in the database, alerts and clips, are now broken.  As soon as I change the camera short name back to Cam6, all my alerts and recordings reappear in the UI.<br><br><strong class="text-strong">So, if your clips list and alerts list is suddenly empty, first confirm the recordings exist.  Second, make sure the camera short name for one of your cameras did not change.</strong><br><br><br></div><a name="NAS"><strong class="text-strong">NAS</strong></a><div style="margin-left:3em"><br>The category is NAS but this section can apply to RAID storage as well.  Basically any non-internal drives.<br>USB drives may also apply.<br><br><strong class="text-strong">Gotcha 1: Playback</strong><div style="margin-left:3em"><br>Many permutations of the symptoms, but basically playback is NOT working and your storage includes non-internal drives.<br><br><strong class="text-strong">New folder and database folder</strong><br>If you are using the external storage for the New folder and/or database folder, move those folders back to your local hard drive, e.g. C: drive.<br>Create a small New folder on your local drive (c:) (via Clips and archiving) and delete files after 1 day so as not to fill up your c: drive.  <br>If your database folder is NOT local, move the database folder as well.<br>See if playback starts working?<br><strong class="text-strong">Then you know the issue is with your storage.</strong>  This is how you identify the root cause by turning features off or simplifying your setup.<br><br><strong class="text-strong">Windows</strong><br>Confirm you setup storage correctly so Windows is NOT in conflict.<br>Double check you connected the <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Storage device correctly</a>.<br>It's good to review the checks in the entire article.<br><br><strong class="text-strong">Troubleshooting external storage</strong><br>Instead of writing directly to external storage (New and Database folders on external storage), see if moving files to Stored from New works?  <br>Can you now playback from the raid drive?  Example of simplifying the setup and observing if functionality works.<br><br><strong class="text-strong">Logs</strong><br><a href="viewtopic.php?f=14&amp;t=2764#Log%20files" class="postlink">Check the logs</a> for Record and Storage errors.  Log files are NOT the same as the Log tab.<br><br></div><strong class="text-strong">Gotcha 2:  Storage fills up.</strong><div style="margin-left:3em"><br>Any time there are problems with NAS devices, it almost always has to do with permission issues or the NAS stopped communicating with the BI server.  Unfortunately, the issue  manifests itself with the drive containing the New folder (often the C: drive) filling up and crashing the server.<br><br>Common issues/fixes:<ul><li>Database -&gt; Repair / Regenerate may resolve the issue</li><li>Double check your <a href="viewtopic.php?f=12&amp;t=2080#Antivirus" class="postlink">Anti-virus/Firewall settings</a>.</li></ul>  <br>The logs will show the write errors well before filling up the C: drive, but this requires users paying attention to the Status button when it turns red or occasionally monitoring their logs for errors.<br><br>The tell tale errors are MoveFile Errors as seen in the below log snippet.  Routinely check logs for <a href="viewtopic.php?f=14&amp;t=2086#Storage" class="postlink">Storage and/or Record errors</a>.<br><div class="codebox"><p>Code: </p><pre><code>0 7/19/2021 7:32:01.679 PMNew                 Move: 2 items 3.66G [602.1G/600.0G, 326.2G free] 126 locked0 7/19/2021 7:32:01.788 PMStored              Delete: 2 items 4.24G [2.93T/2.92T, 1.99T free]0 7/19/2021 7:32:01.791 PMAlerts              Delete: nothing to do [1439/4800 hrs, 895.5M/100.0G, 329.9G free]1 7/19/2021 7:32:01.860 PMClips               MoveFile Error 2: F:\BlueIris\New\FrontDoor.20210719_080000.bvr1 7/19/2021 7:32:01.925 PMClips               MoveFile Error 2: F:\BlueIris\New\FrontDoorStation.20210719_080000.bvr</code></pre></div>The above errors are stating BI had errors moving files to the F: drive (NAS drive).<br><br>The Fix:<br>Use the exact same <a href="viewtopic.php?f=20&amp;t=2080#Local%20admin%20account" class="postlink">Windows username/password on your NAS device</a> to provide the easiest chance for BI to access your NAS storage.<br>Check the <a href="viewtopic.php?f=20&amp;t=2080#Server%20Health" class="postlink">Storage tab in the Status button</a> to see whether BI recognizes your NAS device.  There should be no RED regions.  <br><br>Second, you need to make sure your NAS is working properly.  Pay attention to log errors as mentioned above.  The <a href="viewtopic.php?f=12&amp;t=2503" class="postlink">Log Files - Storage/Record Issues article</a> documents how to approach the log files in order to understand the issue.  In this case, the user's NAS would run correctly for 21 straight days before denying access to BI and causing BI to crash a few days later.<br><br>Below is a quote from another user that decided to replace his NAS storage.<blockquote class="uncited"><div>I went to the Status page, which showed the overallocated storage, and clicked on Repair DB. Then slowly the data migrated to NAS storage. Maybe it lost contact with the NAS and needed a kick to restart it. All is well, now.<br>I'll download the NAS logs and give you more information shortly.<br>I tried to dump the logs on the NAS, but it hung up and now won't boot. Probably too much log. So it looks like the NAS just wasn't responding like it should.</div></blockquote>Troubleshooting your NAS device is beyond BI support.<br>The <a href="https://blueirissoftware.com/forum" class="postlink">forum</a> may provide insight.<br><br></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Nov 03, 2021 5:32 pm</p><hr />
]]></content>
	</entry>
		<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[Frameworks • Instability and Troubleshooting]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<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>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-08-03T23:08:01+00:00</updated>

		<published>2021-08-03T23:08:01+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9888#p9888</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9888#p9888"/>
		<title type="html"><![CDATA[Frameworks • Storage Troubleshooting - NAS Case Study]]></title>

					<category term="Frameworks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=27" label="Frameworks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9888#p9888"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>When there are issues with your BI Server, the log files are a good place to start to understand the problem.  The purpose of this article is to provide an example of how we use the logs in order to get hints as to the underlying issue.  This article provides guidance on how to examine the log files.  There are many causes for a server crash or poor performance.  This article should at least allow you to diagnose and self-correct or provide key information to help BI Support diagnose the issue.<br><br>There is a recorded webinar associated with this article if you prefer to listen rather than read.  <a href="https://youtu.be/-lIOh_bzRWc" class="postlink">The Blue Iris status log</a>.<br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Case Study</strong></span><br><br><br><strong class="text-strong"><span style="text-decoration:underline">NAS Write Errors</span></strong><br><br>I found this ticket interesting because the problem did not appear immediately.  It took several days of running before the problem appears.  This user had a small/medium sized server load with 14 cameras.  The July log file shared for diagnosing the issue had 198,901 lines from July 1 - July 20.<br><br><br><br><span style="text-decoration:underline">So how do you approach the problem?</span><br><br>Start with the symptoms.  The user reported:<br><blockquote class="uncited"><div>Every few months (although not consistently) my primary drive gets full and goes past the limits (600G of 1T) and then BI stops moving files to the ‘stored’ network folder.</div></blockquote><br><br><span style="text-decoration:underline">Analysis / Thought Process</span><br><br>From this information, I knew there is probably an issue with Global settings -&gt; Clips and archiving.  This means there should be <a href="viewtopic.php?f=12&amp;t=2086" class="postlink">Storage and/or Recording errors</a>.<br><br>The logs happened to begin with camera connectivity errors.  However, the ticket is in regards to storage, so I mentioned the issue in my analysis report (further below) but did not focus on this issue.<br><div class="codebox"><p>Code: </p><pre><code>0 7/1/2021 12:00:00.449 AMApp                 Today's sunrise: 7:11 AM, sunset: 10:05 PM1 7/1/2021 12:00:03.467 AMHVAC                Signal: network retry1 7/1/2021 12:00:26.291 AMHVAC                Signal: Failed to connect1 7/1/2021 12:00:33.612 AMHVAC                Signal: network retry1 7/1/2021 12:00:56.176 AMHVAC                Signal: Failed to connect3 7/1/2021 12:01:01.581 AMWine                MOTION1 7/1/2021 12:01:03.756 AMHVAC                Signal: network retry1 7/1/2021 12:01:26.394 AMHVAC                Signal: Failed to connect1 7/1/2021 12:01:33.969 AMHVAC                Signal: network retry1 7/1/2021 12:01:56.624 AMHVAC                Signal: Failed to connect</code></pre></div>The user stated the logs were created since the last crash.  I went to the end of the logs and confirmed many, many Clip: Disk full (recording) errors at the end of the log.  Thus, I knew these logs contained a point of time where the server was functional and crashed due to Storage &amp; Recording issues as the user stated.  The logs should tell me the problem.<br><div class="codebox"><p>Code: </p><pre><code>2 7/20/2021 3:40:35.909 PMBasketball          Clip: Disk full2 7/20/2021 3:40:35.914 PMGarage              Clip: Disk full2 7/20/2021 3:40:36.237 PMMudRoom             Clip: Disk full2 7/20/2021 3:40:38.156 PMBasementEntrance    Clip: Disk full2 7/20/2021 3:40:38.342 PMDriveway            Clip: Disk full2 7/20/2021 3:40:39.445 PMMudRoomSide         Clip: Disk full2 7/20/2021 3:40:40.477 PMSide                Clip: Disk full2 7/20/2021 3:40:40.721 PMHVAC                Clip: Disk full2 7/20/2021 3:40:41.448 PMDrivewayRight       Clip: Disk full2 7/20/2021 3:40:41.589 PMFrontDoorStation    Clip: Disk full2 7/20/2021 3:40:41.702 PMPoolEq              Clip: Disk full2 7/20/2021 3:40:42.570 PMPool                Clip: Disk full2 7/20/2021 3:40:44.314 PMFrontDoor           Clip: Disk full2 7/20/2021 3:40:45.788 PMDrivewayLeft        Clip: Disk full2 7/20/2021 3:40:45.924 PMGarage              Clip: Disk full2 7/20/2021 3:40:45.974 PMBasketball          Clip: Disk full2 7/20/2021 3:40:46.316 PMMudRoom             Clip: Disk full2 7/20/2021 3:40:48.202 PMBasementEntrance    Clip: Disk full</code></pre></div>So then, I went back to the top of the log files.  I started scrolling down, scanning for Storage / Record errors.  After scrolling through several, several pages (remember logs have 200k lines), I saw the below common pattern repeatedly.<br><div class="codebox"><p>Code: </p><pre><code>0 7/1/2021 3:47:40.393 AMNew                 Move: 2 items 865.3M [600.8G/600.0G, 328.4G free] 80 locked0 7/1/2021 3:47:40.397 AMStored              Delete: nothing to do [2.92T/2.92T, 1.99T free]0 7/1/2021 3:47:40.412 AMAlerts              Delete: nothing to do [992/4800 hrs, 625.4M/100.0G, 329.2G free]</code></pre></div>The Clips and archiving settings were fairly simple:  New -&gt; Stored.<br>I also starting observing that New after the (successful) Moves would hover around 328GB free, i.e. BI is managing storage correctly.<br><br>Since the log file was so large, I simply started searching for the next <strong class="text-strong">Move:</strong> command.  With search, I quickly pounded through all the Move commands observing whether New remained around 328 GB (sometimes 330 GB, sometimes 327 GB).  <br><br>Even with search, getting through all the Move commands in just ONE day took several, several clicks.  I then would scroll down to the next day, then search for the next Move: command.  By doing, I was fairly quickly able to narrow down the issue to the day.  Eventually (not going to say quickly), I found the first <strong class="text-strong">Move:</strong> error.<br><br>On July 19, 2021 I found the first Move error (the needle in the haystack).  This was line 147,021 in the log file.  Notice how free storage for the first time dropped below 327 GB.  Looking back, I probably should have started from the bottom of the file and searched up.<br><div class="codebox"><p>Code: </p><pre><code>0 7/19/2021 7:32:01.679 PMNew                 Move: 2 items 3.66G [602.1G/600.0G, 326.2G free] 126 locked0 7/19/2021 7:32:01.788 PMStored              Delete: 2 items 4.24G [2.93T/2.92T, 1.99T free]0 7/19/2021 7:32:01.791 PMAlerts              Delete: nothing to do [1439/4800 hrs, 895.5M/100.0G, 329.9G free]1 7/19/2021 7:32:01.860 PMClips               MoveFile Error 2: F:\BlueIris\New\FrontDoor.20210719_080000.bvr1 7/19/2021 7:32:01.925 PMClips               MoveFile Error 2: F:\BlueIris\New\FrontDoorStation.20210719_080000.bvr</code></pre></div><br><br><span style="text-decoration:underline">Analysis Report</span><br><br>From here, it was apparent BI could not move files to Stored and would eventually fill up the New drive and crash.  Analysis report below.<br><blockquote class="uncited"><div>Everything seems to be running ok. Move 1 files to Stored.  Delete 1 file in Stored to make space.<br><br>0 7/8/2021 5:23:43.700 PMNew                 Move: 1 items 3.20G [602.6G/600.0G, 326.2G free] 100 locked<br>0 7/8/2021 5:23:43.919 PMStored              Delete: 1 items 1.38G [2.93T/2.92T, 1.99T free]<br>0 7/8/2021 5:23:43.923 PMAlerts              Delete: nothing to do [1173/4800 hrs, 712.4M/100.0G, 329.4G free]<br><br><br>Continues working until 7/19 at 7:27 PM<br><br>0 7/19/2021 7:27:01.363 PM New                 Move: nothing to do [599.8G/600.0G, 328.5G free] 126 locked<br>0 7/19/2021 7:27:01.366 PM Stored               Delete: nothing to do [2.92T/2.92T, 2.00T free]<br>0 7/19/2021 7:27:01.373 PM Alerts               Delete: nothing to do [1439/4800 hrs, 895.5M/100.0G, 328.5G free]<br><br>On 7/19 @7:32 PM, first time BI cannot move files to the NAS.<br><br>0 7/19/2021 7:32:01.679 PM New                 Move: 2 items 3.66G [602.1G/600.0G, 326.2G free] 126 locked<br>0 7/19/2021 7:32:01.788 PM Stored               Delete: 2 items 4.24G [2.93T/2.92T, 1.99T free]<br>0 7/19/2021 7:32:01.791 PM Alerts               Delete: nothing to do [1439/4800 hrs, 895.5M/100.0G, 329.9G free]<br>1 7/19/2021 7:32:01.860 PM Clips               MoveFile Error 2: F:\BlueIris\New\FrontDoor.20210719_080000.bvr<br>1 7/19/2021 7:32:01.925 PM Clips               MoveFile Error 2: F:\BlueIris\New\FrontDoorStation.20210719_080000.bvr<br><br><br>From there on, drive containing New starts getting full until BI crashes.  Drive containing New folder was steady at 329 GB free for many days.  Now it is slowly depleting.<br>Below snapshot shows, 10+ GB have been eaten (316.6 GB free).<br><br>0 7/19/2021 7:52:03.882 PM New                 Move: 6 items 14.5G [611.8G/600.0G, 316.6G free] 126 locked<br>0 7/19/2021 7:52:03.885 PM Stored               Delete: nothing to do [2.92T/2.92T, 1.98T free]<br>0 7/19/2021 7:52:03.895 PM Alerts               Delete: nothing to do [1440/4800 hrs, 896.0M/100.0G, 331.2G free]<br>1 7/19/2021 7:52:03.966 PM Clips               MoveFile Error 2: F:\BlueIris\New\Garage.20210719_080000.bvr<br>1 7/19/2021 7:52:04.025 PM Clips               MoveFile Error 2: F:\BlueIris\New\BasementEntrance.20210719_080000.bvr<br><br>Last move before BI crashes.  Only 4k left on hard drive.<br><br>0 7/20/2021 10:04:52.773 AM New                 Move: 129 items 329.6G [929.3G/600.0G, 4K free]<br>0 7/20/2021 10:04:52.779 AM Alerts               Delete: nothing to do [1454/4800 hrs, 897.5M/100.0G, 329.6G free]<br>1 7/20/2021 10:04:52.800 AM Clips               MoveFile Error 0: F:\BlueIris\New\MudRoom.20210719_080000.bvr<br><br><strong class="text-strong">Question is why did BI stop communicating with the NAS on July 19?</strong></div></blockquote><strong class="text-strong">This ticket is still not resolved.  Ken added more details to the log to gather more information.  The user is reaching out to the forum and the NAS vendor as well.</strong><br><br>I closed the analysis report by including the other issues I found in the log files.<br><blockquote class="uncited"><div>Other recommendations:<br>Your HVAC camera is always disconnecting.  You could try and resolve that issue.  See the <a href="viewtopic.php?f=12&amp;t=2484" class="postlink">No signal article</a>.</div></blockquote><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Aug 03, 2021 11:08 pm</p><hr />
]]></content>
	</entry>
	</feed>
