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

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-02-23T17:25:55+00:00</updated>

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

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-02-23T17:25:55+00:00</updated>

		<published>2021-02-23T17:25:55+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=8137#p8137</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=8137#p8137"/>
		<title type="html"><![CDATA[Status log errors]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=8137#p8137"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><div style="margin-left:3em"><br>The Status -&gt; log provides the clues as to what may be causing issues with Blue Iris.  This article provides a list of problems/error messages with an explanation of the underlying issue and the remedy.  <br><br>The Status-&gt;Log tab shares good summary information regarding the health of the server.  Keep in mind the <strong class="text-strong">log tab</strong> and the <strong class="text-strong">log file</strong> are two separate things.  The log file contains a chronological list of all events executed on the server.  See details on the differences between the log tab and the log file <a href="viewtopic.php?f=14&amp;t=2764#Log%20files" class="postlink">here and when to use either</a>.<br><br>The errors are divided into categories:<ul><li>DeepStack</li><li>Storage</li><li>Database</li><li>Recording</li><li>GPU</li><li>Memory</li></ul><br></div><span style="font-size:150%;line-height:116%"><a name="DeepStack">DeepStack</a></span><div style="margin-left:3em">The <a href="viewforum.php?f=16" class="postlink">DeepStack sub-forum</a> has many articles to get DeepStack running correctly.<ul><li>The <strong class="text-strong">DeepStack + Blue Iris article</strong> is a great resource to understand the DeepStack integration and get it running.</li> <li>The <strong class="text-strong"><a href="viewtopic.php?f=16&amp;t=2485" class="postlink">DeepStack Gotchas article</a></strong> documents learnings from past tickets.</li></ul><div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">DeepStack:  Server Error 100</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1381" class="postimage" alt="deepstack server error.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>The DeepStack Server Error 100 means DeepStack is responding with a 100 error instead of processing the image.  <br><br>A common culprit is DeepStack is NOT responding by the timeout.  Global settings -&gt; AI tab.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2108" class="postimage" alt="status log errors_deepstack_server 100 error.png" onclick="viewableArea(this);" /></dt></dl></div><br><a href="viewtopic.php?f=16&amp;t=2485" class="postlink">Gotcha 14</a> has more details.  Annecdotal from a customer.<br><blockquote class="uncited"><div>I had, when running DS in my virtualized win10 without gpu/tpu, a lot of DeepStack 100 errors under "cancelled" alerts.  Nothing found on the web about any possible reasons.  Then, looking in the logs, I found that DS was taking more time than the timeout I set, so this error 100 is caused by no reply in the given time, I suppose.</div></blockquote>Other suggestions for next steps:<ul><li>Restart BI</li><li>If DeepStack was working before, consider reinstalling DeepStack.</li><li>Troubleshoot your DeepStack server by isolating the BI server from the DeepStack server by running each independently.  The "Run DeepStack Manually to Confirm Installation" section in the DeepStack article provides details.  See article link above.</li></ul><br><br><strong class="text-strong"><span style="text-decoration:underline">DeepStack:  Not running or unreachable</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1460" class="postimage" alt="deepstack unreachable.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  Error message is obvious.  BI cannot talk to DeepStack<br><br>Fix:<ul><li>Double check your server settings.  Global settings -&gt; AI.  Confirm the server address and port number.</li><li>If your settings are correct, you probably installed the wrong version of the software from DeepStack.<br>See the Gotcha in the <a href="viewtopic.php?f=16&amp;t=2719" class="postlink">DeepStack article</a> -&gt; DeepStack AI Installation section.</li></ul><br></div></div><span style="font-size:150%;line-height:116%"><a name="Storage">Storage</a></span><div style="margin-left:3em">Storage errors pertain to the Clips and archiving settings.  These errors usually pop-up when BI is dependent on a NAS drive or an external drive which is causing problems.  This is best illustrated with an example.  <br><br> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_idea.gif" width="15" height="17" alt=":idea:" title="Idea"> The <a href="viewtopic.php?f=12&amp;t=2503" class="postlink">Storage / Record Issues article/webinar</a> walks through examining log files to identify root cause.  The logs start with MoveFile errors, i.e. moving files from one drive to another based on your Clips and archiving tab was having issues.  Eventually the New folder filled up resulting in Clip write errors (Clip: Disk full).<br><br> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_exclaim.gif" width="15" height="17" alt=":!:" title="Exclamation"> If you find errors, try to troubleshoot yourself first.  Each error provides next steps / fixes.  In addition, make sure you are following best practices as well.  See <strong class="text-strong">Storage best practices</strong> in <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Windows Tuning article</a>.<div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">Move / Delete events</span></strong><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]</code></pre></div>The Move event is saying 2 recordings were moved from New to Stored (assuming Stored based on 2 items were moved which then resulted in 2 items being deleted in Stored to make room for the files moved from New).<br>602.1/600 means 600 GB was allocated and the folder is currently over by 2.1 GB thus the move.<br>The drive holding New has 326GB free which is good since New and the Database are often stored on the same drive.<br>126 locked means you have 126 locked files in BI.<br>Click on Help button in the Storage tab of the Status button for more information.<br><br><strong class="text-strong"><span style="text-decoration:underline">MoveFile Errors</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=968" class="postimage" alt="MoveFile Error.JPG" onclick="viewableArea(this);" /></dt></dl></div><div style="margin-left:3em"><strong class="text-strong">MoveFile Error 0</strong><br>BI is having problems accessing/copying files to a drive and is receiving a Windows error.  This is usually due to NAS permissions.  Check the NAS login exactly matches the username/password used by the account running BI or the service account running BI as a service.<br>Confirm Windows is not in conflict with BI by walking through checks in the <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a>.  <br><br><strong class="text-strong">MoveFile Error 2</strong><br>The database has records of files that no longer exist on your Windows filesystem.  This is usually due to users accessing / deleting files manually.<br>Fix:<br><ul><li>A database repair/regenerate will cause BI to rescan the storage folders and synchronize.  From the clip list, right click -&gt; Database -&gt; Repair/Regenerate.</li><li>If the warnings continue, there may be issues with your hard drive.  Monitor logs for Record/Storage errors.  See <a href="viewtopic.php?f=12&amp;t=2080#Routine%20maintenance" class="postlink">routine maintenance section</a> for best practices.</li></ul><strong class="text-strong">MoveFile Error 3</strong><br>Similar to above, Error 3 means Folder is not found.  The usual issue is an external drive such as a USB drive or a NAS device has lost connection to the BI server.  Double-check all your external hard drives are functional and accessible by BI.  <br>Another common cause is you renamed BI storage directories through Windows Explorer instead of the Clips and archiving tab which is a major no, no.<br>Fix: Go through your Clips and archiving tab and confirm all drives that are being used by BI exist and are functional.<br><ul><li>Check your Clips and archiving settings so that you are not over-allocating disk space.  The Status log -&gt; Clip Storage tab provides a quick visual if storage was allocated correctly.  There should be no red regions.  Click on the Help button within the Clips and archiving dialog to get dialog specific help.  The Storage and Recordings webinar also walks through these settings.  <a href="https://www.youtube.com/c/BlueIrisSupport/videos" class="postlink">YouTube link</a>.</li><li>Are you running BI as a service?  Running the service under the LocalSystem account can cause issues.  Disable and re-enable the service on settings/startup to run with your own local Windows account (w/ admin privileges). See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Are you using a NAS device for storage?  Are you also running BI as a service?  If so, the Windows username/password used to run the service has to be identical to the credentials on the NAS device otherwise writing to the NAS device <strong class="text-strong">will not work</strong>.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Double check all security software exemptions for BlueIris.exe and the recording folders.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li></ul><br></div><strong class="text-strong"><span style="text-decoration:underline"><a name="NAS Access Errors"><span style="text-decoration:underline">NAS Access Errors</span></a></span></strong><br>When BI identifies NAS access errors, common error codes returned by the NAS device are:<div class="codebox"><p>Code: </p><pre><code>ERROR_LOGON_FAILURE              1326LERROR_WRONG_PASSWORD             1323LERROR_GEN_FAILURE          31L // A device attached to the system is not functioningERROR_SHARING_VIOLATION          32L// BI cannot access the file because it is being used by another processERROR_REQUEST_ABORTED            1235L// The request was aborted by the NAS deviceERROR_INTERNAL_DB_ERROR          1383LERROR_FILE_READ_ONLY             6009L// The requested file is read only</code></pre></div>The Status-&gt;Log entry will look like below with various error code numbers.<blockquote class="uncited"><div>1 4/6/2021 09:55:14.025 Clips               MoveFile Error 1235: c:\BlueIris\New\Cam2\Cam2.26052021_180000.bvr</div></blockquote>Fix:<br><div style="margin-left:3em">Run through <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a>.  Following sections are important.<ul><li>Local admin account section</li><li>Antivirus / Firewall sections</li><li>Storage section</li></ul></div><br><br><strong class="text-strong">Storage Drive</strong><br>Issue: BI takes a long time to start<div style="margin-left:3em">If your BI takes a long time to start, i.e. 5+ seconds, you could have corrupt files. Run Microsoft's System File Checker on your hard drive to see if there are any damaged files. From command prompt, run "sfc /scannow".</div><br><br></div></div><span style="font-size:150%;line-height:116%"><a name="Database">Database</a></span><div style="margin-left:3em"><br><strong class="text-strong"><span style="text-decoration:underline">Gotcha 1: DB Compact Error</span></strong><br><br>BI performs a daily database compact/repair usually at 2 am.  See Global settings -&gt; Clips and archiving tab.<br>The database compact only takes as much time as it takes to copy the DB folder, usually seconds.  The start and stop of the DB operations is logged.<br>Most of the Compact/Repair is just to make sure the list of recordings listed in the Clips list matches the files actually existing on the file system.  For example, if you deleted a recording on the file system, Compact/repair will pick this up and delete this record from the database.<br>Any alerts associated with that clip/recording would also be wiped out.<br><br>This DB Compact Error (00000070) means "DISK FULL".  Please ensure the drive with the DB always has enough space for a complete copy of that folder.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1183" class="postimage" alt="db compact error.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2050" class="postimage" alt="status log errors_database.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong"><span style="text-decoration:underline">Gotcha 2: AddtoBIDB failed &lt;error number&gt;</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1384" class="postimage" alt="AddtoBIDB failed.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  This error means an alert was not written to the database.  The consequence is a missed alert on the Alerts list as well as missed Alert actions (e.g. Push notification, email, SMS etc).<br><br>The database error is most probably caused by improper antivirus exemptions.<br>Run through the <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> just to make sure Windows is not in conflict with BI.<br>In addition, confirm the <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">drive containing the database</a> is setup correctly.<br><br><br><br><strong class="text-strong"><span style="text-decoration:underline">Gotcha 3: Database errors - Alerts</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1562" class="postimage" alt="database delete errors.png" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  The logs may list errors after the Delete / Move commands for the Alerts folder.<br>The actual issue is the CLIPS.DAT file is somehow corrupted.  This could be something like an item in an unexpected folder/view or it could be something worse like corruption in the headers.<br><br>Problem: The error number represents inconsistencies between the file system and the db records.  BI uses the db to keep track of file recordings that were created and deleted.  The errors mean there is a record in the database of a recording file.  However, when BI searched the file system for the file, the file does not exist.  This inconsistency is often due to users manually deleting camera recordings on the file system.<br><br>Fix: <ul><li>Please right-click in the clips list and select Database -&gt; Compact/Repair<br>Deletes "holes" in the database, e.g. deleting records of deleted items.</li><li>If errors remain, right-click in the clips list and select Database -&gt; Repair/Regenerate.<br>Repair/regenerate will try to synchronize the database with content on the file system.</li><li>If errors remain, choose Database -&gt; Delete &amp; Regenerate.  <br>The function will delete (start from scratch) and recreate the database by rescanning your hard drive and rediscover all your recordings in the All clips folder.  <br>The Alerts folder will also be rescanned to regenerate the Alerts list.  However, for most users, the Alerts folder is empty which means the Alerts list will be deleted.  If you choose to save <strong class="text-strong">Hi-res JPEG files</strong>, the Alerts list can be recreated with the saved images.  However, keep in mind the alert list will JUST have a snapshot of the alert.  To actually playback the alert, you need to go to the corresponding Clip and scan to the time of the incident.<br>Since the Database is completely recreated, data that is ONLY stored in the DB may be lost, such as memos, alert images and other flags that exist only in the database.</li><li>If still not resolved, you may be having hardware issues (RAM, Drive where DB resides).<br>Make sure the database folder resides on a local, fast (and error free) drive<br>Double check the folder (containing the database) is excluded from antivirus software.  See <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.<br>Make sure there is enough free space on the drive containing the database to duplicate/copy the Database folder at all times.<br>Check health of storage drives.  Status button -&gt; Storage tab.  There should be no red spaces.<br>Windows comes with sfc /scannow (system file checker).  Hard drive vendors, e.g. WD Purple, also comes with software to check their hard drives.</li><li>If this issue happens repeatedly, zip up the database folder and send to us via a file sharing service, e.g. google drive.</li></ul><br></div><span style="font-size:150%;line-height:116%"><a name="Recording">Recording</a></span><div style="margin-left:3em"><img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_idea.gif" width="15" height="17" alt=":idea:" title="Idea"> Recording errors have to do with dumping video to files or saving JPEGs based on your record settings.  The New folder is usually the issue/focus, however, BI provides the flexibility to choose any folder.  The errors here are a mixed bag.  Since the content being stored is live video, the issue could be with the camera settings resulting in record errors.  Or the issue could be with Windows or Server hardware (RAM / disk drive) and not being able to write to the drive.<br><br> <img class="smilies" src="https://blueirissoftware.com/forum/images/smilies/icon_exclaim.gif" width="15" height="17" alt=":!:" title="Exclamation"> If you find errors, try to troubleshoot yourself first.  Each error provides next steps / fixes.  In addition, make sure you are following best practices as well.  See details in <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Windows Tuning article</a>.<br><br><br><strong class="text-strong">Encoder missing error</strong><div style="margin-left:3em">Rarely seen today because 32-bit Windows is rarely used anymore.  The issue is Windows 32 does not support H.265.<br>Thus, if you set your camera settings to H.265 encoding, this problem may occur.<br><br>Fix:<ul><li> Upgrade Windows to 64 bit</li><li> Change camera encoding to H.264</li></ul></div><strong class="text-strong">Access denied creating file.</strong><div style="margin-left:3em">BI was not able to create a recording file because of Windows privileges.<br><br>Fix:<ul><li>Are you running BI as a service?  Running the service under the LocalSystem account can cause issues.  Disable and re-enable the service on settings/startup to run with your own local Windows account (w/ admin privileges). See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Are you using a NAS device for storage?  Are you also running BI as a service?  If so, the Windows username/password used to run the service has to be identical to the credentials on the NAS device otherwise writing to the NAS device <strong class="text-strong">will not work</strong>.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li><li>Double check all security software exemptions for BlueIris.exe and the recording folders.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li></ul></div><strong class="text-strong">Out of Memory</strong><div style="margin-left:3em">BI ran out of memory.<br><br>Largely seen when running 32-bit Windows.  If BI is using more than 1 GB of RAM on a Windows 32 machine, this is a very good indicator that you need a 64-bit system.<br><br>Fix: <ul><li>Upgrade to a 64-bit Windows machine.</li><li>If you are using the server running BI for other applications, you may need to reassign this machine as a dedicated BI machine with no other applications running.</li><li>The amount of cameras connected to BI may be causing the memory issue.  Disable cameras and see if stability returns.</li><li>Recording Direct to Disk (D2D) may decrease RAM usage as well.</li></ul></div><strong class="text-strong">Clip: Disk full</strong><div style="margin-left:3em">Hard drive is full.  Recordings from your cameras can no longer be written to storage.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1388" class="postimage" alt="status log_clip disk full.PNG" onclick="viewableArea(this);" /></dt></dl></div>Quick fixes:<ul><li>One user stated right click in Clips list -&gt; Database -&gt; Repair/Regenerate got Storage working again.</li><li>Always good to double check your <a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Antivirus exemptions</a>.</li></ul>If the quick fixes do not work, you will need to figure out what broke with your storage setup.<ul><li>Check your Clips and archiving settings so that you are not over-allocating disk space.  The Status log -&gt; Clip Storage tab provides a quick visual if storage was allocated correctly.  There should be no red regions.  The Help button provides details.</li><li>Another common issue is your archiving setup moves content from the C: drive to a NAS drive (New -&gt; Stored).  For some reason, BI is no longer able to connect to the NAS drive.  Storage on New fills up.  Before the New folder fills up, the logs will have MoveFile storage errors.<br><br>I document this scenario in the <a href="viewtopic.php?f=14&amp;t=2503" class="postlink">Storage / Record Issues case study</a>.</li><li>Otherwise, you will need to look for Recording / Storage errors in the logs.  Each documented error listed in this article describes the issue and possible fixes.</li><li>Finally, understand how Clips and archiving works in BI.  Click on the Help button within the Clips and archiving dialog to get dialog specific help.  The Storage and Recordings section of the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=23&amp;t=2426" class="postlink">Checklist</a> shares articles/webinars for better understanding.</li>  </ul></div><strong class="text-strong"><a name="Clip: Disk Not Ready">Clip: Disk Not Ready</a></strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1389" class="postimage" alt="status log_clip disk not ready.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>One symptom is BI stops recording at night and after accessing the console directly in the morning, BI starts recording again.<br>The underlying issue is BI cannot access the hard drive because Windows has possibly put the PC to sleep (common for laptops).<br><br>Another cause could be the BI Server has lost connection to the NAS storage device and thus stopped recording. This is most often due to the username/password used to run the BI service is not identical to the username/password on the NAS devices. <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Storage section</a> has details.<br><br>Fix:<ul><li>Check Windows Power and sleep settings.</li><li>If using a NAS, make sure NAS is setup correctly to work with BI.  <a href="viewtopic.php?f=20&amp;t=2080#Storage" class="postlink">Storage section</a> has details.</li></ul></div><strong class="text-strong">AVI 1GB limitation</strong><div style="margin-left:3em">Just a warning message.  AVI files have a 1GB file size limit.  So if a user chooses to record in AVI format (rarely used today) and the camera record settings choose the default parameters, i.e. Combine or cut video with size equal to 4 GB, then there is a conflict.  The warning message appears to notify user of the conflict but no action needs to be taken.<br><br></div><strong class="text-strong">Cannot append;  possibly corrupt</strong><div style="margin-left:3em">Two possible issues.  The file is open but for some reason, BI is not able to write to the file.  Possible issue could be the the disk is full.  <br><br>Fix: <ul><li>Make sure you are on the most recent release.</li> <li>Double check free space in your storage directories.  The Status log -&gt; Clip Storage tab provides a quick visual if storage was allocated correctly.  There should be no red regions.  Click on the Help button within the Clips and archiving dialog to get dialog specific help.  The Storage and Recordings webinar also walks through these settings.  <a href="https://www.youtube.com/c/BlueIrisSupport/videos" class="postlink">YouTube link</a>.</li><li>Check Status-&gt;log for errors.</li></ul>The second issue is a trigger event has occurred, but the camera stream is sending very few key frames resulting in no files being created.<br>If you do not know what are key frames, review the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=11&amp;t=2049" class="postlink">Camera Streams Optimization article</a> to set your camera settings to work well with BI.<br>This issue occurs when the software is attempting to append to the recording file, yet there are no key frames in the stream. If you are recording direct to disk, make sure you have adequate key frames to start recording. Key frame value above 0.50/sec is recommended. The Status -&gt; Cameras tab will provide camera stats.  5.3.9+ should resolve this issue in software.<br><br>Fix:<ul><li>Upgrade to 5.3.9+</li><li>Review the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=11&amp;t=2049" class="postlink">Camera Streams Optimization article</a> to set your camera settings to work well with BI.</li></ul></div><strong class="text-strong">Format change</strong><div style="margin-left:3em">BVR files have different formats based on certain BI settings.  If those settings are changed, the BVR recording for that camera will change resulting in a new recording file being created.  This is just an informational message.  If you are usually expecting 3 recording files per day (default recording settings) you may unexpectedly see 3+ on occasion.  A BVR file format change is the culprit due to BI camera setting changes.<br><br></div><strong class="text-strong">Clip: write error</strong><div style="margin-left:3em">2 2/6/2021 4:40:01.700 PM Basement             Clip: write error 80000000, undefined<br>2 5/8/2021 1:36:00.782 AM Kitchen                Clip: write error 80000057, undefine2 5/14/2021 4:51:09.384 PM    App<br><br>Generic error when BI attempts writing a recording to file.  Error code 80000057 provides a little more clarity.  The 57 error means "invalid format".<br><br>Fix:<ul><li>Confirm the "New" directory is using a local SSD drive (ideally).</li><li>Reboot machine</li><li>Check physical hard drive.  File write errors could very well indicate hardware issues.</li><li>Double check all security software exemptions for BlueIris.exe and the recording folders.  See <a href="https://blueirissoftware.com/forum/viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> for details.</li></ul></div><strong class="text-strong">WriteBlueAlert no bitmap 0</strong><div style="margin-left:3em"><div class="codebox"><p>Code: </p><pre><code>2 28/10/2021 8:27:58.233 AMCam2                WriteBlueAlert no bitmap 0</code></pre></div>This error means there is no key frame available in the pre-trigger buffer in order to decode the camera feed.  The key frame ratio has to be &gt;0.5 for BI to work well.  The usual culprits are:<ul><li>You may have <strong class="text-strong">Limit decoding unless required</strong> selected.  Camera settings -&gt; Video tab.</li><li>You selected a proprietary encoding for the camera.  H.264+ / H.265+ / Smart Codec</li></ul>Fix:<br>Change the camera encoding.  See <a href="viewtopic.php?f=22&amp;t=2598#Camera%20settings" class="postlink">Camera settings</a> for details.<br>Turn off <strong class="text-strong">Limit decoding unless required</strong>.  See <a href="viewtopic.php?f=22&amp;t=2778#Video%20tab" class="postlink">Video tab</a> for best practices.<br>Increase pre-trigger buffer size.  See <a href="viewtopic.php?f=22&amp;t=2598#Key%20frame%20ratio" class="postlink">key frame / pre-trigger section</a> for details on setting proper pre-trigger buffer size based on the key frame ratio.<br><br>The WriteBlueAlert error is problematic because they occur after a camera triggers and before the event is written to the database.  <strong class="text-strong">The user will perceive missed alerts on the alerts list because of this error.<br></strong><br><br><br></div></div><span style="font-size:150%;line-height:116%"><a name="GPU">GPU</a></span><div style="margin-left:3em"><strong class="text-strong"><span style="text-decoration:underline">Error: CGadSocket thread</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1167" class="postimage" alt="cgadsocket.PNG" onclick="viewableArea(this);" /></dt></dl></div>Issue:  We suspect this issue is due to an incompatibility between the cameras encoding and your hardware acceleration.  If hardware acceleration is not the culprit, the issue has to lie with software decoding.<br><br>Fix: <ul><li>Turning off hardware acceleration for problematic cameras is the quick fix.  If your CPU utilization is ok, then no worries.</li><li>Review <a href="viewtopic.php?f=11&amp;t=2598#Camera%20settings" class="postlink">camera settings</a> and make adjustments to your camera encoding settings.  The article provides tips on simplifying the camera encoding which may make the camera compatible with your hardware acceleration.</li><li>Update your drivers for the graphics card.</li></ul><br><strong class="text-strong"><span style="text-decoration:underline">Warning: 4/17/2021 9:57:35.064 AM            HW encode                        Setup failed: &lt;error code&gt; for 'recording 0'</span></strong><br><br>Error codes: -1, -22<br><br>This error is saying you want to stream the saved camera video using your HWVA accelerator but it's causing problems so BI does so with software.  Keep in mind streaming to file (i.e. exporting to an mp4) or streaming to a website is the same functionality for the software.  This is a warning message because if the streaming fails in hardware, BI will continue by using software encoding.  BI will continue future attempts with HWVA and will continue to switch to software encoding with each failure.<br>It is possible that the hardware can only support one stream at a time and is busy when BI makes the streaming request.<br>It's also possible the hardware can only decode streams.  In that case, it's best to turn HWVA off when trying to stream.<br>Streaming occurs in many places.  One common place is with the web server.  Global settings -&gt; Web server -&gt; Advanced -&gt; Configure.  Change Hardware acceleration to No.<br>Streaming is also used when exporting to mp4.  For example, right click on an alert in the clip list -&gt; Convert/Export -&gt; Configure.<br><br>Fix: Turn off HWVA as seen below.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1336" class="postimage" alt="encoding_no_hw.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong"><span style="text-decoration:underline">"live sem stuck" error</span></strong><br><br>Issue:  Blue Iris is getting errors when accessing your hardware acceleration (gpu) to decode a camera stream.<br>Fix:  <ul><li>Turn off HA for that particular camera and confirm issue goes away.  You may leave HA off if CPU utilization is ok.</li><li>Otherwise, you may need to update the firmware on the graphics card or the camera until there is compatibility.</li>  <li>Otherwise, simplify the camera encoding and observe whether issue goes away, e.g. H265 -&gt; H264.  Switch encoding profile from Main -&gt; Baseline.</li></ul><br><br><strong class="text-strong"><span style="text-decoration:underline">HW VA not compatible: &lt;error number&gt;</span></strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1459" class="postimage" alt="hwva.png" onclick="viewableArea(this);" /></dt></dl></div><br>Issue:  "HW VA not compatible" are just warnings or messages not errors.  HW VA stands for Hardware Video Acceleration.  Basically, the software now turns off HA automatically for a camera if it determines the stream is not compatible and this is logged to Status-&gt;log as well. <br><br>Fix: If you want to fix the problem, you can go to the camera settings on the camera and adjust the encoding to a more simple format that may start working with your hardware. A simple example is if the camera was set to H.264 High encoding, adjust the setting to H.264 Baseline. If you were using H.265, switch to H.264.  See <a href="viewtopic.php?f=11&amp;t=2598#Camera%20settings" class="postlink">Camera setup article</a> for details.<br><br>Alternatively, driver updates may occasionally resolve the issue. And at times, the only solution is to leave the setting at No and let BI decode the camera stream via software. As long as the CPU utilization is reasonable, the No setting should be fine.<br><br><br></div><span style="font-size:150%;line-height:116%">Memory</span><div style="margin-left:3em"><br><strong class="text-strong">8000007a Error</strong><div style="margin-left:3em"><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1229" class="postimage" alt="8000007a error.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>The 7A error during clip/alert playback means "insufficient buffer", a type of "out of memory" error.  <br><br>Fix: <ul><li>Dial back number of cameras.  If successful, your server needs more RAM to operate your cameras.</li><li>Switching to D2D can reduce RAM requirements.</li></ul>  <br>If the error is reproducible on specific clips, please send a BVR example for review.<br><br><br></div><strong class="text-strong">Clip: H264 encoder missing (X x Y)</strong><br><br>X x Y are image resolutions: 856 x 480, 704 x 480, 512 x 512, 640 x 480 etc<div style="margin-left:3em"><div class="codebox"><p>Code: </p><pre><code>2       12/17/2021 6:14:28.436 AM      Side_CamClip: H264 encoder missing (856x480)2 1/5/2022    1:00:20 PMGarbage             Clip: H264 encoder missing (640x480)2 1/5/2022    1:00:37 PMAisle16             Clip: MJPG encoder missing (704x480)2 1/5/2022    1:00:39 PMFrontFacingShop     Clip: H264 encoder missing (856x480)2 1/5/2022    1:00:43 PMAisle38-40-360      Clip: H264 encoder missing (512x512)2 1/5/2022    1:00:47 PMAisle16             Clip: MJPG encoder missing (704x480)</code></pre></div>Issue: This error is usually seen when the PC or Windows is running out of memory.<br><br>Fix: <br><strong class="text-strong">Antivirus exemptions</strong><br>Most common fix is to setup correct <a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Antivirus exclusions</a> so BI can run uninhibited.<br><br><strong class="text-strong">DeepStack</strong><br>This issue seems to pop up more when running DeepStack.  Details from a ticket below.<div style="margin-left:3em"><br>User wanted to use 2 custom models.  Running one model was fine: objects:0,dark.  Running two models resulted in the issue: objects:0,dark,combined.<br><br><strong class="text-strong">User test:</strong><br>I set my AI preferences to use objects:0,dark,combined. I then restarted BI and walked outside to cause 12 triggers in 2 minutes. It looks like BI bumped the RAM but never released it. So I went back outside and did another walk around. The Physical and Commit Charge both increased slightly and never released. So it appears that you are correct. After the course of several alerts, I would run out of memory.<br><br><strong class="text-strong">Process Explorer</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2355" class="postimage" alt="status log error_H264 encoder error.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Event Viewer</strong><br><br>Event Viewer will also confirm resource depletion when BI crashes.<br><div class="codebox"><p>Code: </p><pre><code>Log Name:      SystemSource:        Microsoft-Windows-Resource-Exhaustion-DetectorDate:          12/28/2021 8:12:59 AMEvent ID:      2004Task Category: Resource Exhaustion Diagnosis EventsLevel:         WarningKeywords:      Events related to exhaustion of system commit limit (virtual memory).User:          SYSTEMComputer:      DESKTOP-4SS4SEQDescription:Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: python.exe (9392) consumed 8961937408 bytes, python.exe (9420) consumed 4247379968 bytes, and python.exe (9384) consumed 4187844608 bytes.</code></pre></div></div></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Feb 23, 2021 5:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
