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

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2022-02-23T00:19:04+00:00</updated>

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

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2022-02-23T00:19:04+00:00</updated>

		<published>2022-02-23T00:19:04+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=12722#p12722</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=12722#p12722"/>
		<title type="html"><![CDATA[Infrastructure: Servers and Networks • Hardware acceleration (GPUs)]]></title>

					<category term="Infrastructure: Servers and Networks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=20" label="Infrastructure: Servers and Networks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=12722#p12722"><![CDATA[
<strong class="text-strong"><span style="font-size:150%;line-height:116%">Introduction</span></strong><div style="margin-left:3em"><br>Hardware acceleration is one lever that can be used to optimize your BI server.  This article provides clarity on leveraging GPUs when available in BI.<br><br>If you are interested in determining hardware specifications for a new server, see <a href="viewtopic.php?f=20&amp;t=2463#Server%20Recommendations" class="postlink">server recommendations</a>.<br><br>If you need to know how to activate GPUs on your BI server, see the <a href="viewtopic.php?f=22&amp;t=2778#Video%20tab" class="postlink">video tab</a>.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">iGPU vs GPU</strong></span><br><br><strong class="text-strong">Performance tab of Windows Task Manager.</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2575" class="postimage" alt="HA_task manager.png" onclick="viewableArea(this);" /></dt></dl></div><br><div style="margin-left:3em"><strong class="text-strong">Integrated GPU</strong><br>An iGPU stands for Integrated GPU.  In image above, GPU 0 is the iGPU.   Integrated means the display circuitry in the chipset resides on the motherboard or on the same chip as the CPU.  An integrated GPU shares memory with the CPU and provides a more economical alternative to a stand-alone card.<br><br>When a computer states QuickSync support, the hardware implementation resides on the iGPU.<br><br><strong class="text-strong">Dedicated GPU</strong><br>A dedicated GPU is generally much more powerful than an iGPU and often used with video editing or gaming software.  Dedicated GPUs are also valuable when running AI solutions such as DeepStack.  In the image above, GPU 1 is the dedicated GPU.  In this case, it is an nVidia GTX 1070 Ti.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">GPU utilization</strong></span><div style="margin-left:3em"><br>Users often ask how do I know whether the GPU is being used.  The below example illustrates how to do so.  My system only has (4) 2 MP cameras, not a huge decoding load for today's chips. <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2576" class="postimage" alt="hardware recommendations_GPU stats.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">No streaming</strong><br>The no streaming section shows zero activity.  I had BI set to the Inactive profile and the inactive profile is set to NOT stream any cameras.  This test is just to level set.  It is clear that the hardware decoder is not utilized at all when cameras are not streaming.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2577" class="postimage" alt="hardware recommendations_no streaming.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Group view</strong><br>I then show the load when streaming in mosaic view (I have dual streams set for all my cameras).  Thus each stream from the camera is the sub stream (856 x 480).  You notice a bump in the decode usage.  With more cameras and higher resolutions the bump will be more pronounced but you get the idea.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2578" class="postimage" alt="hardware-recommendations_streaming_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Single camera view</strong><br>Finally, I go to single camera view, i.e. stream one camera in high resolution (2 MP).  Notice another slight bump in usage.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2579" class="postimage" alt="hardware-recommendations_single-camera_optimized.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong">Gotchas</strong></span><br>This section provides learnings from past tickets.<div style="margin-left:3em"><br><strong class="text-strong">Gotcha 1: GPU overloaded</strong><br>Customer ticket<div style="margin-left:3em"><br>Symptoms: With 25 cameras displayed on the screen in a 5x5 grid of thumbnails, we find your app becomes lethargic and the CPU is almost always running 99 to 100% and the GPU is lightly loaded at maybe 5-10 %.  We see delays on the cameras approaching 2 mins on the display. <br><br>Server: <br>Win 10 Pro<br>Intel i5-7500 3.4 ghz<br>8 gb ram<br>NVidia GeForce GT 1030 PCI Express X4 Gen 3 (driver version 451.48)<br><br>From engineering<div style="margin-left:3em">With 25 cameras, your server may be spending more time switching between feeds than actually decoding.<br>Engineering stated one telltale sign the GPU is overloaded is FPS drops on the camera.<br>An easy test is to disable some of the other cameras and see if FPS bumps back up for the problem camera.<br><br></div></div><strong class="text-strong">Gotcha 2: iGPU &amp; dGPU</strong><br>If your computer has multiple GPUs like above, make sure the bios is set appropriately.  I would recommend enabling the iGPU.  In below ticket, the user decided to choose the dGPU.<div style="margin-left:3em"><br>Customer ticket<div style="margin-left:3em">The moment Ive sent this mail, I have realized the Igpu and Dgpu were both enabled.  Deactivating the Igpu in the bios freed up the CPU.</div></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Feb 23, 2022 12:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-12-22T15:12:04+00:00</updated>

		<published>2021-12-22T15:12:04+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11756#p11756</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11756#p11756"/>
		<title type="html"><![CDATA[Infrastructure: Servers and Networks • Networking Gotchas]]></title>

					<category term="Infrastructure: Servers and Networks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=20" label="Infrastructure: Servers and Networks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11756#p11756"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>Gotchas are learnings from past tickets.  We document issues from past tickets and their resolutions for the benefit of the community.<br>Click here If you are setting up your <a href="viewtopic.php?f=20&amp;t=2539" class="postlink">network for remote access</a>.<br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Gotchas</strong></span><br><br><strong class="text-strong"><a name="Gotcha 5">Gotcha 5</a>: LAN connectivity</strong><div style="margin-left:3em"><br>Issue: On rare occasions, remote endpoints (mobile app, UI3) work on the WAN but NOT on the LAN.  This always has to do with network configuration issues.  See some documented examples below. <br><br><strong class="text-strong">Customer Anecdotes (all network configuration issues)</strong><br>Maybe triggers ideas as to what is wrong with your network setup.<br><br>Anecdotal 1:<br>Issue from a user where Push notifications worked on the WAN but not the LAN. <ul><li>User switched to dynamic DNS (e.g. NGROK) from port forwarding.  Changed mobile app WAN server settings accordingly.</li><li>Modified his local dns server to map the dynamic dns hostname to the internal IP.  This user had a DNS server, perhaps company deployment.  Most homeowners do not.</li><li>BI Server was not using the LAN interface associated with above DNS server, so DDNS URL was not being resolved to correct IP address. (oops)</li></ul>The above is complicated for the average user and I doubt many have a local dns server.  To keep it simple, most users just point the LAN address to the BI Server's IP Address.<br><br>Anecdotal 2:<br>It was a local IP issue.  My WiFi LAN router assigned somehow assisted devices on the WiFi network a 192.156.**.*** oddly it assigned things plugged in via cable a 10.0.0.***.  It was acting like a double NAT inside the same router/WiFi box.  Oddly it had separated the WiFi and wired connections on separate LANs. <br><br>I put the WiFi side into bridge mode and let only one side assign the IP addresses. This forced both the wired and wireless devices on to the same IP setup 10.0.0.***. It took a few minutes for the network to rediscover everything.   I rebooted everything. <br><br>Boom. It works. <br><br></div><strong class="text-strong"><a name="Gotcha 4">Gotcha 4</a>: Multiple Ethernet Adapters</strong><div style="margin-left:3em"><br>Many users setup their BI servers to have multiple ethernet adapters.  A common setup is to use the ethernet adapter exclusively to talk to cameras.  Users want to keep their cameras completely off the internet for security reasons.  However, they use the WIFI adapter to setup remote access, i.e. to view cameras from the mobile app or remote browser.<br><br>Or because of virtual machines, users may have virtual adapters listed.  In general, BI will listen on all adapters.<br>Global settings -&gt; Web server tab<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2250" class="postimage" alt="networking_ethernet adaptors.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Service</strong><br>However, if you are running BI as a service, on occasion Windows can start services before the ethernet adapters are set.  Delay the start of the BI service.  Select Delayed Start from Windows Services for the BI service.  This way Windows has time to set the adapters before starting the BI service.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2234" class="postimage" alt="networking_delay start.png" onclick="viewableArea(this);" /></dt></dl></div><br>Even with the delayed start, on occasion the adaptor will not be ready.  With 5.5.0.14, the software will now retry the web server connection each 4 seconds after an initial failure until it is successful.<br><br>Bind exclusively is not normally needed since the web server will listen by default on all available adapters.<br><br><br></div><strong class="text-strong"><a name="Gotcha 3">Gotcha 3</a>: Ad blockers</strong><div style="margin-left:3em"><br>Ad-blockers work by blocking IP addresses they suspect are connecting to serve ads.<br>Ad-blockers have confused valid BI connections from a web browser or mobile app as ad servers, thus disrupting connections.<br><br>Users, for example, would never get the login page.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2232" class="postimage" alt="networking_ad blocker.png" onclick="viewableArea(this);" /></dt></dl></div><blockquote class="uncited"><div>Thanks, I figured it out. My host based adblocker, for some reason, started blocking the connection. Whitelisted the blueiris IP and all is well.</div></blockquote>The ad-blocker (Adguard) on an Android device caused the mobile app to crash.  Error message was <strong class="text-strong">lost connection to service 2</strong>.<br><br></div><strong class="text-strong"><a name="Gotcha 2">Gotcha 2</a>: Android &amp; STunnel</strong><div style="margin-left:3em"><br>Issue: I can connect to my server using UI3 on the mobile web browser.  However, my mobile app will not connect.<br><br>Android / Google came out with tighter certificate restrictions recently.  You need to make some changes to your Stunnel config file.  The <a href="viewtopic.php?f=19&amp;t=2805#TLS" class="postlink">Android Gotcha article</a> documents how other customers resolved issue.<br><br></div><strong class="text-strong"><a name="Gotcha 1">Gotcha 1</a>: Mobile apps no longer connect</strong><div style="margin-left:3em"><br>Issue:  The mobile app or web browser can no longer connect to the BI server.<br>You may have not done anything.  Maybe router restarted?  Maybe your ISP provider rotated your WAN address?<br>Easy to confirm.  Email your support info to yourself.  Click on the WAN URL.  Does the web login page pop up?<br>If not, something has changed.  The Remote Access Wizard will also tell you if there is an issue.<br><br><strong class="text-strong">This gotcha ONLY applies to port forwarding setups.</strong><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2230" class="postimage" alt="port forwarding.png" onclick="viewableArea(this);" /></dt></dl></div><br>The above diagram was used in the <a href="https://youtu.be/jvb_bdPFBr8" class="postlink">Remote Access Webinar</a> to explain port forwarding.  If the above is confusing, first review the webinar which is based on the Remote Access section of the BI Help file.  The Help file with the webinar is a good start to understanding Remote Access.<br><br>Based on diagram, the ISP provider originally assigned 97.56.23.168 as your WAN address.  Based on diagram, the router assigned the BI Server 192.168.1.7 as the LAN address.<br><br><br>After the router restart:<ul><li>ISP could have assigned a new WAN address.  97.56.23.168 -&gt; 97.56.28.15<br>Consequence: Mobile devices will no longer be able to connect to the BI server from the WAN.<br>Fix: Logout of BI Mobile App -&gt; Edit (server) -&gt; <strong class="text-strong">Lookup key (iOS) / Get IPS button (Android)</strong>.  You should observe the WAN address update.<br><br>This will only work if Global settings -&gt; Web server tab -&gt; Refresh external IP at startup... is checked.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2231" class="postimage" alt="refresh external IP.png" onclick="viewableArea(this);" /></dt></dl></div><br>For Commercial accounts where the ISP provides permanent IP Addresses, this feature can be unchecked.  Commercial accounts are usually guaranteed the same WAN address<br>For residential accounts, WAN addresses are usually NOT guaranteed.  The <strong class="text-strong">Refresh external IP...</strong> feature comes in handy to get the mobile apps reconnected.</li><li>Router could have assigned BI a new IP address.  192.168.1.7 -&gt; 192.168.1.15.<br>Consequence:  The router's port forwarding is broken.<br>Fix:  Update the router's port forwarding to the new IP address.  Also change the router setting to provide a Static IP Address to the BI server so it never changes again to prevent future issues.</li></ul></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Wed Dec 22, 2021 3:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-09-17T17:16:06+00:00</updated>

		<published>2021-09-17T17:16:06+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=8105#p8105</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=8105#p8105"/>
		<title type="html"><![CDATA[Infrastructure: Servers and Networks • Windows Tuning]]></title>

					<category term="Infrastructure: Servers and Networks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=20" label="Infrastructure: Servers and Networks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=8105#p8105"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><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>If you are a new user or just installed BI on a machine, it's always good to go through this article just to confirm Windows settings are not in conflict with BI functionality.  If you are experiencing instability or crashes, it's also good to revisit this article.<br><br>BI can be run either as a regular Windows application or as a Windows service.  <br>The first section is applicable to both deployments.  It walks through anti-virus software exclusions needed for BI to run properly.<br>The second section is applicable to deployments where you run BI as a service.<br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Windows settings</strong></span><br><br><strong class="text-strong"><a name="Local admin account">Local admin account</a> (LocalSystem)</strong><br><br>Double check your Windows user accounts and permissions.  Specifically, BI runs best under a local admin account, not as LocalSystem.<br>Follow the Windows instructions to <a href="https://support.microsoft.com/en-us/windows/create-a-local-user-or-administrator-account-in-windows-10-20de74e0-ac7f-3502-a866-32915af2a34d#:~:text=%20Create%20a%20local%20user%20or%20administrator%20account,in%20with%20the%20new%20administrator%20account.%20More" class="postlink">create a local windows account with admin privileges.</a><br><br>If you log into your Windows machine as a non-admin user and then start BI it is very possible the BI application will not have the proper permissions to write to the storage drives specified in Clips and archiving.<br><br><strong class="text-strong">Static IP Address</strong><br>If you setup Remote Access using port forwarding, always good to <a href="viewtopic.php?f=14&amp;t=2492#Pro%20Tip%201" class="postlink">assign a static IP address</a> to your server.<br><br><br><strong class="text-strong">Ad blockers</strong><br><a href="viewtopic.php?f=20&amp;t=2539#Gotcha%203" class="postlink">Ad blockers</a> can have an adverse affect on remote access.<br><br><br><strong class="text-strong"><a name="Power savings">Power savings</a></strong><br><br>I like to start with the easiest checks first.  If you are noticing No Signal issues or gaps in recording only when away from the computer, make sure there are no Power saving settings such as Battery saver mode etc.  The monitor can go to sleep.  The PC needs to be running at full power.  Users have reported No signal issues due to power savings mode.<br><br>Response from a user with incorrect power savings and getting No signal from his USB camera.  Issue applies to USB &amp; IP cameras.<br><blockquote class="uncited"><div>At last, sorted.  I said it would probably be my fault and something daft. Well it was, Ken. When I set up the pc I adjusted the power options for the screen to shut down after 10 mins. Also, to sleep after 10 minutes of no activity. This I did not know shuts off the camera even thou the program is running, active. So I did not bother to check that the pc was going to sleep even thou this was running. </div></blockquote>Laptops are notorious for having power saving modes that can affect access to system resources such as CPU.  In this case, BI was stating 100% CPU usage in the lower right corner of the application.  However, the CPU utilization from Windows Task Manager was hovering at 33%!  Power savings was throttling BI.<br><blockquote class="uncited"><div>Hey thank you for your help, turns out it is a windows issue not allowing my cpu usage over 40% (capped at 39% as seen on resource monitor). Blue iris is running on a laptop and seems a battery/ac adapter driver/process is malfunctioning. I have not isolated it yet but I confirmed by unplugging and then plugging back in the ac power adapter, now my machine is able to run at 100% cpu when needed. Found this out down a reddit rabbit hole.</div></blockquote><br><strong class="text-strong"><a name="Antivirus">Antivirus</a> software</strong><br><br>Your Security Software (Windows defender, McAfee, BitDefender etc) or a Security Software update is interfering with Blue Iris.<br>Symptoms: Performance issues, Crashes, Software will not start, Auto-update is blocked, UI3 is not connecting are all symptoms due to improper software security exemptions.<br><blockquote class="uncited"><div>It seems like either the last update to BI or an update to windows 10 has stopped the ui3 from showing anything on the screen.  All I am getting is a Spinning Circle.<br><br>It was the dang SOPHOS anti virus. I figured it out</div></blockquote>Below is an example of robust Software Security Exemptions for Windows Defender.  Similar exemptions need to be provided for your Security Software.<ul><li>Note the BI executable is excluded: BlueIris.exe</li><li>Note ALL the BI folders (New, DB, Stored, Alerts etc) for storage are excluded.<br>In my case, all these folders reside under G:\BlueIris so only one exclusion was needed to cover ALL my folders. <br><strong class="text-strong">If you have a NAS device or storage on USB drives, make sure those devices are excluded from a folder perspective AND a firewall perspective.</strong></li><li>Note bvr file types are excluded</li></ul><div style="margin-left:3em"><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2247" class="postimage" alt="Exclusions with deepstack.png" onclick="viewableArea(this);" /></dt></dl></div></div><strong class="text-strong">See help file topic "Security Software Exemption" as well</strong>.  This section provides additional details associated with other vendors (McAfee, Malware Bytes etc).  If you are experiencing instability, <strong class="text-strong">the easiest step to take is to just turn off your security software and observe over time if the issues go away</strong>.<br><br>Windows BitLocker is another security measure provided with Windows 10 which allows encryption of the hard drive.  BI performs constant reads/writes to storage.  Most users have not enabled BitLocker.<br><br>Quote from another user.<br><blockquote class="uncited"><div>I figured it out. Somehow the check box for allowing blue iris in bitdefender was turned off. Not sure how that could have happened.</div></blockquote><br><strong class="text-strong">Firewall Settings</strong><br><br>There is no way BI can talk with your cameras or the web interface or the mobile apps unless BI is allowed access to the network.<br><br>Windows allows the ability to categorize networks as public or private.  My server running BI is connected directly to my switch containing all the cameras and does not move.  I'm not concerned about whether I categorized my network correctly since I know it is physically safe on my private switch.  Thus I keep Firewall settings simple and allow access to  all networks, the public and private network as seen below.<br><br>You may have BI running on a laptop that you use at Starbucks and other networks.  In those cases, labeling networks as private / public and allowing BI access to private networks is more of a concern that should be addressed.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1166" class="postimage" alt="firewall.PNG" onclick="viewableArea(this);" /></dt></dl></div><br>If you receive the below error at startup, it could be the internet service is down, your network equipment (switches/routers) or cables went bad etc.  Definitely check those components first.  It could also very well be your firewall is blocking BI.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1672" class="postimage" alt="BI no internet access.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong"><a name="Storage">Storage</a></strong><div style="margin-left:3em"><br><strong class="text-strong">Database/New folder</strong><br><br>The database folder is often on the SAME drive as the New folder because we recommend both folders to be on your fastest local SSD drive.<br>Keep in mind the drive needs to have enough free space for the BI database functions to operate.  In particular, make sure there is enough free space on the drive containing the database to duplicate/copy the Database folder at all times.  If the db folder is 200 MB, than BI will need at least 2x or 400MB of free space on the drive.<br>Best practice is to NOT use all the storage space available on SSD drives.  Many vendors recommend leaving 25% of a drive empty for optimal performance.  Maintaining this convention should suffice for BI needs.<br><br>Database Gotcha: <br><br>Many users do not realize the settings in the Alerts folder affect content stored in the Alerts folder AND <strong class="text-strong">content stored in the Alerts table in the database</strong>.  Do not uncheck Limit clip age in the Alerts folder.  By doing so, you effectively told BI never to delete Alerts in the database causing the database to grow indefinitely.  In below image, 30 days effectively tells BI to store Alerts in the database for 30 days.  Alerts older than 30 days will be deleted and will NOT appear in the 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=1722" class="postimage" alt="database clip age.png" onclick="viewableArea(this);" /></dt></dl></div><br>BI will tell you how many alert records are stored in the database.  Similarly, the clips list will also tell you how many records (files) are archived.  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2020" class="postimage" alt="windows tuning_database count.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">A good benchmark is less than 100,000 records.</strong>  If you need to store more files, simply increase the file size (4 GB default) in Camera settings -&gt; Record tab for all your cameras, thus reducing the number of files created moving forward.<br><br><br><strong class="text-strong">NAS Storage</strong><br><br>If you use Network storage there are three important steps to make the storage work with BI.<br>1.  Make sure the NAS drive is completely exempt from your anti-virus software.  See Antivirus section above for details.<br>2.  Make sure the username/password used to access the NAS <strong class="text-strong">exactly</strong> matches your Windows login credentials.<br>3.  Use the UNC name in BI, not a drive letter.<br>For example, \\ip address\path\to\write\to or \\server name\path\to\write\to<br><br><strong class="text-strong">Storage Troubleshooting</strong><br><br>The logs are the first place to look for Storage errors.<br>Make sure you have Storage events recorded to the logs.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1960" class="postimage" alt="windows tuning_storage log.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong">System Restore</strong><br><br>Starting with Microsoft Windows XP and still available in Windows 10 there is a recovery tool called ‘System Restore’. Essentially this tool takes snap-shots of critical files at certain points in time (e.g. software installations, system updates, etc. as well as at your request.) These system restore points are accumulated and if needed will often (but not always) return a PC to its operating status at the selected point-in-time.<br><br>Since it is part of the Operating System and easy to use, we highly recommend using it.  See <a href="viewtopic.php?f=12&amp;t=2492" class="postlink">Windows Tools article</a> for details.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Service">Service</a></strong></span><br><br>Running BI as a service is a very popular feature.  Running as a service means BI is always running in the background.  Windows will automatically restart the service if the application crashes.  <strong class="text-strong">The "Running as a Service" topic in Help explains all the details associated with setting up BI to run as a service.</strong>  <br><br>Many users get confused when running BI as a service initially because the console is not up (nor should it be).  It's a client server implementation.  When you want to view the console, simply click on the application icon in the Windows menu.  The console (client) will connect to the server and you see the cameras.  When done, CLOSE the console to free up resources (especially GPU resources).  The server is still running in the background!<br><br>Below are known issues based on past tickets.<br><br><strong class="text-strong">Running Service as LocalSystem</strong><br>While discouraged, it is possible to run a Windows service under the account "localsystem" by leaving username/password blank when selecting to run BI as a service (image below).  LocalSystem may not have the access rights for certain functions.  A common issue is alerts to run batch files or MQTT commands may not get executed when the service is run under the LocalSystem account.  Running BI as a Windows service under the account "LocalSystem" can also cause instability because localsystem may not have the needed privileges for NAS devices or sending alerts.  See Help file, Topic "Running as a Service" for details.  <br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1017" class="postimage" alt="localsystem.PNG" onclick="viewableArea(this);" /></dt></dl></div>Follow steps below to fix:<ul><li><span style="text-decoration:underline">Basic idea: Disable and re-enable the service to run under a Windows account instead of localsystem.</span> <br><a href="https://support.microsoft.com/en-us/windows/create-a-local-user-or-administrator-account-in-windows-10-20de74e0-ac7f-3502-a866-32915af2a34d#:~:text=%20Create%20a%20local%20user%20or%20administrator%20account,in%20with%20the%20new%20administrator%20account.%20More" class="postlink">Create a local windows account with admin privileges.</a>  <br>Global settings -&gt; Startup tab -&gt;Run as a Windows service.  Uncheck selection.  Restart BI.  <br>Go back to Global settings -&gt; Startup tab -&gt; Run as a Windows service.  Re-check the selection.<br>Enter your own local Windows account (w/ admin privileges) in pop-up dialog<br>Restart BI once again as a service.</li><li>If you are using a NAS device for storage, 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>.</li></ul><br><br><strong class="text-strong">Web server has incorrect IP Address</strong><div style="margin-left:3em"><br>On rare occasions, Windows will start the BI service before initializing the network card/stack.  This results in the BI web server binding to a random ethernet interface even though you told BI to bind exclusively to a particular ethernet interface.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1567" class="postimage" alt="bind exclusively.png" onclick="viewableArea(this);" /></dt></dl></div>The temporary fix is to restart the service.  The permanent fix is to configure Windows to delay the start of the BI service.  This should provide Windows the needed time to configure all the available ethernet adapters before starting the BI service.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1188" class="postimage" alt="service_delay.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><br></div><strong class="text-strong">Windows Errors</strong><br><br>The <a href="viewtopic.php?f=14&amp;t=2784#Service" class="postlink">Service errors section</a> documents known errors associated with running BI as a service.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Routine maintenance">Routine maintenance</a></strong></span><br><br><strong class="text-strong">Miscellaneous</strong><ul><li>Know your license key. The easiest way to store your license key is to mail your support info to yourself.<br>This way you will always have a copy of your license in your email.</li><li>When your BI is running perfectly, SAVE a copy of your BI registry settings on a thumb drive/cloud folder.<br>If you change settings or add a camera and you have BI running perfectly, SAVE a copy of your BI registry settings again on a thumb drive.<br>This way if your PC crashes, your BI settings are still accessible. <br>FYI, BI automatically saves your settings from the last 3 days. Go to your program installation directory, usually "C:\Program Files\Blue Iris 5". You will find 3 settings: backup.reg, backup2.reg and backup3.reg from newest to oldest.  This assumes Auto export is enabled.  Global settings -&gt; About tab (highly recommended).</li></ul><strong class="text-strong">Run as a service</strong><br>If you are seeing instability, many users run BI as a service.  By doing so, BI automatically restarts if it crashes.<br>See <strong class="text-strong">Running as a Service</strong> section in the Help file.<br><br><strong class="text-strong">Status alerts</strong><br>After you have your system setup, you still need to monitor BI is running well on an ongoing basis.  Fortunately, doing so is easy in BI.<br>Setup your Status Alerts.  Status button -&gt; Log tab -&gt; Status alerts.<br>Users can create alerts (push, email, sms) when there are system log errors to catch an issue early.  <br>All the different types of alerts are located in Status -&gt; Log tab.  Select "Status Alerts" button.  Hit the Help button in the dialog for details.<br>The <a href="viewtopic.php?f=14&amp;t=2086" class="postlink">Status Log Errors article</a> (work in progress) provides some more level of details.<br><br><strong class="text-strong">Watchdog alerts</strong><br>Furthermore, users can also create alerts for each and every camera that is causing issues (e.g. no signal).  <br>Camera settings -&gt; Watchdog tab has details.  <br><br>If you tend to be near the BI server, this allows you to examine the machine near the time of errors in order to gather clues to instability prior to a possible crash.<br><br>Many users just open their BI in the morning, select the current day and play back events across all cameras using the timeline view or per camera using the clips list.  Doing so, tests a lot of functionality at once and makes you aware when cameras are not monitoring correctly, e.g. no alerts came from one camera all night.<br><br><strong class="text-strong"><a name="Server Health">Server Health</a></strong><br>Many issues / tickets can be alleviated by just looking at the Status button and alleviating any known problems.  Use the Status button (button with chart and arrow in top left of console) to access the Log tab.<br>Any time the Status button turns red, the BI server encountered an error.  Check errors as soon as you can.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1560" class="postimage" alt="status button.png" onclick="viewableArea(this);" /></dt></dl></div><br><div style="margin-left:3em"><strong class="text-strong">Log tab</strong><br>The Log tab is NOT the log file.  The log tab <strong class="text-strong">aggregates</strong> events since the server started or restarted.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2467" class="postimage" alt="windows tuning article_log tab aggregate.png" onclick="viewableArea(this);" /></dt></dl></div><br>In the image above the highlighted error, YARDPOOL Clip: Disk not ready did not occur one time.  This error happened 6,897 times since the last restart!  A major issue.<br><br>Errors (e.g. crashes) are easily identifiable by the Red X.  The Help button in the Status log dialog has additional information.  See <a href="viewtopic.php?f=12&amp;t=2086" class="postlink">Status Log Errors article</a> for error details also.  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1185" class="postimage" alt="status log restart.png" onclick="viewableArea(this);" /></dt></dl></div><br>Aggregation is beneficial when you are in front of the console and have the log tab open.  As BI performs functions based on your settings, you see the events pop up in the logs.  It's a great way to understand what BI is doing based on your settings.  The aggregation helps you digest the info.  Otherwise the logs would scroll too fast.<br><br>The Log tab is also a wealth of information when you are trying to figure out if something new you are trying to build is working.  <br><br>For example, Group triggers and Alerts can get complicated and hairy especially if the Group has more than two cameras.  First recommendation, get Group triggers working with two cameras before adding to the group.  Understand the log events associated with the simple use case so when you add cameras to the group, you can figure out what is going on or breaking.<br><br>Another common issue is your Push alerts stopped firing.  The log tab is a great way to know if the BI server is firing Push notifications.  If so, the problem resides with your network or mobile app.  If not, something is wrong with your BI Trigger or Alert settings.<br><br><strong class="text-strong">Status -&gt; Cameras tab</strong> <br>Are the camera streams healthy.  <a href="https://blueirissoftware.com/forum/viewtopic.php?f=22&amp;t=2778#Camera%20stats" class="postlink">You MUST know your camera stats.</a>  Help button in Cameras tab dialog has additional information.<br><br><strong class="text-strong">Status -&gt; Clip Storage</strong><br>Any red errors?  See corresponding Help file by pushing Help.  <br>The <a href="https://blueirissoftware.com/forum/viewtopic.php?f=11&amp;t=2426" class="postlink">Storage and Recording section</a> of the Checklist has details.<br><br><strong class="text-strong">Log files</strong><br>Always good to review the <a href="viewtopic.php?f=27&amp;t=3043" class="postlink">log files</a> monthly and when facing instability.<br><br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Sep 17, 2021 5:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-08-17T03:10:36+00:00</updated>

		<published>2021-08-17T03:10:36+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10040#p10040</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10040#p10040"/>
		<title type="html"><![CDATA[Infrastructure: Servers and Networks • Networking - Remote Access]]></title>

					<category term="Infrastructure: Servers and Networks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=20" label="Infrastructure: Servers and Networks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10040#p10040"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><div style="margin-left:3em"><br>Remote access is a key component of BI functionality.  Users want to see their cameras and alerts remotely either through a browser or their mobile apps.  In order to do so, your home or office network needs to be setup so your mobile apps or browsers can connect to your BI server.  This article has the following sections.<br><br><strong class="text-strong"><a href="viewtopic.php?f=20&amp;t=2539#Network%20setup" class="postlink">Network setup</a></strong><br>The choices for setting up the network seem to be growing.  The <a href="viewtopic.php?f=20&amp;t=2539#Network%20setup" class="postlink">Network setup section</a> shares the options available so users can decide what works best for them.<br><br><strong class="text-strong">Network connectivity</strong><br>Once the network is setup, the <a href="https://blueirissoftware.com/forum/viewtopic.php?f=20&amp;t=2539#Remote%20access%20wizard" class="postlink">Remote access wizard</a> section helps to confirm the network setup is correct.  <br><br>The <a href="viewtopic.php?f=20&amp;t=2539#Remote%20device%20tests" class="postlink">Remote device tests</a> section provides additional tests to confirm what components are working and not working by simply using your mobile phone and a mobile web browser on the phone.  If you need support, knowing the results of your tests is important to diagnose the issue.<br><br><strong class="text-strong"><a href="viewtopic.php?f=20&amp;t=2539#Network%20tests" class="postlink">Network tests</a></strong><br>This section documents how to diagnose networking issues.  This section is used when troubleshooting issues, not so much during initial setup.<br><br><br><strong class="text-strong">Mobile apps</strong><br>If you have mobile apps, after this article, jump to <a href="viewtopic.php?f=19&amp;t=2211" class="postlink">Mobile devices article</a> to setup phone/mobile app.<br><br>If you have already setup your network and are now facing issues, see the <a href="viewtopic.php?f=20&amp;t=2955" class="postlink">Networking Gotchas article</a>.  We document learnings from past tickets.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Network setup">Network setup</a></strong></span><br><br><strong class="text-strong">This article complements the Remote access chapter in the Help file.</strong>  It's a step by step practical guide on how to setup your network for remote access.<br><br><strong class="text-strong">Port forwarding and NGROK (DDNS)</strong><div style="margin-left:3em"><br><strong class="text-strong">The Networking and Router Configuration section in Help provides a nice overview of Port forwarding and NGROK.</strong>  Port forwarding was the original way of setting up your network for Remote access.  Network saavy folks still use port forwarding, but for many, setting up port forwarding is challenging.<br><br>The <a href="https://youtu.be/jvb_bdPFBr8" class="postlink">Remote Access 101 webinar</a> guides you through the process of setting up your network using Port forwarding and NGROK.  The webinar begins by explaining the concept of port forwarding and walks you through an example.  Troubleshooting your network and port forwarding is beyond BI support.  Research the forum/internet and/or contact a local managed IT services company or security company. <br><br>The webinar then closes by explaining how to implement NGROK for remote access.  NGROK is one of many DDNS solution for remote access.  Furthermore, NGROK provides https support for free so not only is it easy to deploy, but also provides strong security/encryption.  <strong class="text-strong">The webinar complements the NGROK section in the Help files.</strong>  <br><br><strong class="text-strong">Mesh networks</strong><br>Google Wifi, Orbi, Eero etc<br>I personally started with port forwarding but have since switched to NGROK after purchasing an Orbi mesh router and not wanting to deal with cascading routers.  See <strong class="text-strong">Multiple routers</strong> section in Help for details.  Most users are using NGROK (ddns) these days since it's easier.  <br><br>The only gotcha is if the Windows server running BI restarts, you have to restart NGROK and re-enter the url in the mobile app(s).  The paid version gives you a persistent URL.  <strong class="text-strong">However, the NGROK section in Help provides detailed instructions on how to start NGROK automatically and get Remote access working again.</strong><br><br></div><strong class="text-strong">Other third party solutions</strong><br><br>This section shares other networking solutions for remote access that seems to be catching on with users.<div style="margin-left:3em"><strong class="text-strong">ZeroTier</strong><br>ZeroTier sounds like a more robust DDNS tunneling solution that also bypasses port forwarding.<br>ZeroTier comes with a free version.  It also provides encryption.<br>Works with the Starlink network from SpaceX.<br>See details on <a href="https://youtu.be/dmqrK2Fomqw" class="postlink">YouTube</a>.<br><br></div><strong class="text-strong">Web server settings</strong><div style="margin-left:3em"><br>Once you have the network setup, you can now setup the BI server.  Global settings -&gt; Web server tab<br>The Help button goes to the Web server topic in Help.  This is a good time to review Help to get an overall understanding of the fields in the dialog.  <br><br><strong class="text-strong">Port forwarding</strong><br>This section talks about the key fields when you choose to setup remote access via port forwarding.<br>Web server port:  You can leave the default 81 or choose another port based on how you setup port forwarding on your router.<br>Adaptors:  BI listens on all available adaptors so leaving selection as is should be fine.  See Help for more info.<br>WAN: Use the refresh button to populate the WAN address.  Check the router connected to the internet to confirm the address is correct.<br><br><br><strong class="text-strong">Port forwarding + SSL(HTTPS)</strong><br>Many users that have implemented port forwarding also want https / encryption for better security.  If you are interested in maintaining your own SSL certificates for encryption, see the <strong class="text-strong">SSL and HTTPS section in the BI Help file</strong>.  STunnel is one solution.  Keep in mind, Android recently changed their policy on public certificates.<br>The <a href="viewtopic.php?f=4&amp;t=2093" class="postlink">Android gotchas article</a> lists examples of fixes to meet these new requirements.<br><br><br><a name="NGROK">NGROK</a><br><br>Follow steps below to setup BI properly to work with NGROK.<br>The below instructions provide an https remote connection.<br><br><strong class="text-strong">NGROK Server</strong><br>Start the NGROK server if not done so already.  Below is the console window after doing so.  I told NGROK to use port 7000.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2138" class="postimage" alt="networking_ngrok console.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Web server settings</strong><br>Since NGROK provides https for free, I took advantage of it.  Simply copy the https address into the WAN field.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2139" class="postimage" alt="networking_web server_NGROK.png" onclick="viewableArea(this);" /></dt></dl></div><br>Note <strong class="text-strong">STunnel/NGROK</strong> is selected.<br>Note <strong class="text-strong">Refresh external IP at startup and again every</strong> is unchecked.<br><br><br><strong class="text-strong">Mobile app - Server settings</strong><br><br><strong class="text-strong">What's great about BI is if your Global settings -&gt; Web server tab settings are set correctly, the Lookup key will correctly populate the server settings in the mobile app!</strong><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2140" class="postimage" alt="networking_mobile app settings.png" onclick="viewableArea(this);" /></dt></dl></div><br>Note https choice for WAN with the ngrok address which corresponds to the https setup in the Web server tab above.<br>For the LAN, I chose to keep my IP address with http, so the router can access the BI server faster when home.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Remote access wizard">Remote access wizard</a></strong></span><br><br>BI comes with a diagnostic tool to determine whether you have successfully setup your network and the BI server for remote access.<br>Global settings -&gt; Web server tab -&gt; Remote access Wizard.<br>Start the Wizard and in parallel read the Remote Access Wizard section in Help.  The Help documentation explains the checks associated with each page and helps you resolve issues.<br><br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Remote device tests">Remote device tests</a></strong></span><div style="margin-left:3em"><br>You can now test whether your network is setup correctly by using the <strong class="text-strong">UI3 browser</strong>!<br><br><strong class="text-strong">Test 1: Localhost</strong><div style="margin-left:3em"><br>This test is good because it takes the network out of the equation, but still leverages the server's network card.<br>Open a browser window on your BI server.  Go to your BI web server.  localhost:&lt;port number&gt;.  Does the login page pop up?  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1962" class="postimage" alt="networking_login.png" onclick="viewableArea(this);" /></dt></dl></div><br>When you login is the interface responsive?  Do the camera streams appear smooth and healthy?<br>If not, either the BI web server is not running well or your camera streams are not setup correctly or maybe you do not have the proper Antivirus and Firewall exemptions.  I would think using localhost in the URL would not be impacted by firewall / antivirus exemptions, but you never know.<br><br><strong class="text-strong">Windows Firewall &amp; Anti-virus</strong><br>Sophos is an example of anti-virus software that held the video stream for something like 30s before releasing the data to UI3.<br>See <a href="viewtopic.php?f=20&amp;t=2080#Antivirus" class="postlink">Windows tuning article</a> on how to setup proper exemptions.<br><br><strong class="text-strong">Camera streams</strong><br>Confirm streams are smooth and healthy in the console.  Garbage in = Garbage out.<br>If not, see <a href="viewtopic.php?f=28&amp;t=3016" class="postlink">Console - Live view article</a>.<br><br><strong class="text-strong">Web server</strong><br>The <a href="viewtopic.php?f=14&amp;t=2784#Web%20server" class="postlink">Remote Access Wizard</a> will help you determine whether your web server is running ok.<br><br></div><strong class="text-strong">Test 2: LAN &amp; UI3</strong><div style="margin-left:3em"><br>After test 1, this test helps determine if your LAN network is setup correctly.<br>From a device on the LAN (laptop or mobile phone), connect to UI3 using the web browser.<br><br><strong class="text-strong">Web server</strong><br>If the login page does not appear, double check your web server is not blocking access by Limit IP address settings.  Global settings -&gt; Web server tab -&gt; Advanced button.<br><br><strong class="text-strong">Network configuration</strong><br>If the login page still does not appear, your network is not setup correctly.<br>You need to determine why your remote device on the LAN cannot talk to the BI server.  You will need to check your Router(s) settings and any equipment that has to do with the routing.<br><br><strong class="text-strong">Login</strong><br>Login to UI3 if the login page appears.<br>If you cannot login <a href="viewtopic.php?f=19&amp;t=2716#Login" class="postlink">see login gotchas</a>.<br><br><strong class="text-strong">Network latency</strong><br>Do the cameras (video streams) load?  After login, does the web interface state "Loading" with a spinning circle?<br>With Dynamic Group Layout which was released with 5.5, the group stream resolution can be a lot higher than before. The higher resolution takes more CPU time to encode which could be the issue.  See the <a href="viewtopic.php?f=13&amp;t=2628" class="postlink">5.5 Release notes</a> -&gt; Gotcha 8 for details and resolution.<br><br>Is UI3 responsive?  Are the video streams smooth and current?  Any error/warning messages?<br>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 Anti-virus and Firewall sections.  This is frequently the biggest cause of poor performance or poor remote access.<br><br>Use the gear icon (lower right) in UI3 to <a href="viewtopic.php?f=19&amp;t=2716#Live%20view" class="postlink">alter video streams</a> to lower the network bandwidth to meet the constraints of your network!  <br><br><strong class="text-strong">Endpoint</strong><br>BI also provides the ability to examine the endpoint device.  In UI3, you can right click on Stats for Nerds and observe the stats on the endpoint.<br>Latency = Network delay + Player delay<br>If either delay is above 1000ms it could indicate an issue.  <br><br>High network delay normally indicates a network problem but could also happen if the BI server is overwhelmed and unable to encode the stream properly.<br><br>High player delay means there is something wrong with the computer running UI3 (too slow, bad video driver, etc).<br><br>If there is 5-11 seconds of video delay that cannot be attributed to the delays in Stats for nerds, then I would suspect internet security software is intercepting the video stream and trying to scan it for viruses for a while before releasing it.<br><br></div><strong class="text-strong">Test 3: WAN (internet) &amp; UI3</strong><div style="margin-left:3em"><br>Turn off Wifi on your mobile phone, i.e. connect to your cellular network.  <br>Can the mobile browser on your phone still connect to the login page?<div style="margin-left:3em"><br>If not, your router or network is not setup so devices on the internet can communicate with your BI web server.<br>Revisit <a href="viewtopic.php?f=20&amp;t=2539#Network%20setup" class="postlink">Network Setup section</a> above.<br><br><br></div></div><strong class="text-strong">Mobile apps</strong><div style="margin-left:3em"><br><span style="text-decoration:underline">Confirm Mobile App Server settings.</span><br>Login to the web interface from the phone while on your cellular network.<ul><li>You can be confident your network is setup correctly.</li><li>Your web server is configured properly to work with your mobile app.</li><li>You know the LAN/WAN addresses needed to connect to the server are correct.</li><li>You confirmed a Username / Password by logging into the web interface.</li></ul>If you have a mobile app, connecting the app to your server should be easy.  You now have all the critical pieces of information needed to connect your mobile app.  The <a href="viewtopic.php?f=19&amp;t=2211#Mobile%20app" class="postlink">Mobile Devices article</a> walks you through setting up your phone.<br><br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Network tests">Network tests</a></strong></span><br><br>The Network is a huge dependency for BI to run well.  When BI is NOT running well, this section helps diagnose network equipment failures that could be the root cause of the BI issues.<br><br><strong class="text-strong">BI Server - Network utilization</strong><br><br>Surveillance systems put a heavy load on networking equipment.  Users often keep adding cameras to their network without paying attention to the load.  The network load can be the reason cameras randomly disconnect from BI.<br><div style="margin-left:3em"><br>Below are the stats from the Resource Monitor on my Windows machine.  If you are not familiar with resource monitor, there are many good tutorials on YouTube.  Here is a <a href="https://youtu.be/saMX_hisb4o" class="postlink">link</a> to one such video.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2229" class="postimage" alt="networking_resource monitor.png" onclick="viewableArea(this);" /></dt></dl></div><br>As you can see, when BI is active, the network card on my PC is close to saturated.  When BI is inactive, e.g. off or Inactive profile, the network traffic drops to less than 1 Mbps!  When network utilization creeps up, network congestion occurs.  Some obvious affects of this situation are dropped camera connections.  This example illustrates one of the bottlenecks with surveillance systems, all of the traffic that needs to aggregate into the BI server.  The other potential bottleneck are the switch(es) and/or router(s) connecting your camera(s).<br><br>Some good tests to determine whether the network is the issue:<ul><li><a href="viewtopic.php?f=22&amp;t=2043#Step%204" class="postlink">Leveraging VLC</a>.  VLC will validate the network and the camera.  A somewhat safer test because all third party apps use the same ports to access the camera.</li><li>Disable cameras in BI.  Do other cameras start working?  If so, your network card or your server is dropping frames and camera connections.</li></ul><br><strong class="text-strong">Customer anecdotal</strong><blockquote class="uncited"><div>I have a problem I cannot seem to solve, I cannot access from WAN for more than a minute only LAN, I go through the access Wizard and everything comes up ok with green ticks and it will work via WAN for a minute and then won't connect "unable to reach server".  It will never connect again until I click through the wizard again, still all settings ok and green.  The IP address is correct at all times.<br><br>I have narrowed it down to the network card, how it could be that I have no idea but it appears to be.  So the new NIC has been running now for a few hours and it appears to be working perfectly! How that could be the cause I just don't know, possibly the amount of packets for streaming outbound it had issues with.<br><br>Anyway for now it's working, so I'm happy! Should it reappear I'll let you know<br><br></div></blockquote></div><strong class="text-strong">Cameras</strong><br><br>Some good tests to determine whether the camera is the issue:<ul><li>Always good to restart/reboot/factory reset the camera(s) and see if they start working.  Loss of signal could be due to maybe the camera being overloaded.  If you are pulling dual streams, does the fps go up if BI only pulls one stream?  If you can pull the main stream or the sub stream correctly, but not both together, you may need to reach out to the camera vendor for more information.<br><blockquote class="uncited"><div>I was in the process of setting up the camera for remote support (opening port) and once got stuck so I did a factory reset and now I don't appear to be having the issues anymore. Weird.... I'll let it it run for a few days and see.</div></blockquote></li><li>Leverage the <a href="viewtopic.php?f=22&amp;t=2598#Network%20connectivity" class="postlink">camera's mobile app or web interface</a> to confirm network connectivity.</li> <li>The easiest way to confirm the camera is working is by seeing if the cameras connect with another 3rd party application.  <a href="viewtopic.php?f=22&amp;t=2043#Step%204" class="postlink">Leverage VLC</a>.<br>If another 3rd party player cannot access the camera<ul><li>either the network is not setup correctly</li><li>the camera/device does not allow 3rd party access</li><li>there is hardware failure with the network and/or the camera</li></ul></li> </ul><br><strong class="text-strong">Network hardware</strong><br><br>This section explains how to leverage your cameras to determine whether your networking equipment and cables are functioning.  Below are examples of network failures from past customers that led to resolution.<div style="margin-left:3em"><br>Many customers have a hard time believing their networking hardware is bad or incorrectly configured.  Below are a list of issues to provide clues on how to investigate your network.<ul><li>Router:  If some cameras work and others do not work, switch the router ports at the router of the non-working cameras with working cameras. Rule out the router has gone bad. <div style="margin-left:3em"><br>I had a user with 5 cameras, most of which were high resolution (4 MP+).  The issue was the router which was eventually replaced.  The problem was not obvious.  4 of the cameras worked for the most part (but they too would lose signal on occasion).  The 8 MP camera (PoE) was the most problematic.  Even more strange the lower resolution wireless cameras worked better than the 8 MP camera.  The user had no issues after replacing his router.  Troubleshooting network issues is beyond BI support.<blockquote class="uncited"><div>No, only one camera was initially causing trouble. I have 4 reolink and the amcrest. Interestingly, the wireless reolink worked great. The poe 810A was the most problematic,..and I think also the highest resolution. Hence, perhaps some timeouts or something with my old / bad modem. No problems since I replace the modem.</div></blockquote></div></li><li>Cables: If you have a camera that you know works well, replace a problem camera with the good camera temporarily.  If the good camera also stops working, then you know that particular cable has a problem.</li></ul></div><strong class="text-strong">Network</strong><div style="margin-left:3em"><br>The above are practical tests that can be used to isolate network issues with the server, cameras and network hardware used by your surveillance system.<br><br>There are broader network issues that may need to be addressed that goes beyond BI support.  BI is also a streaming server.  If for example remote access to a phone or UI3 interface on the LAN or WAN is poor, determining the root cause is beyond BI support.  These issues need to be addressed by a local networking engineer or local IT managed services company.<br><br><br></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Gotchas">Gotchas</a></strong></span><br><br>If you have already setup your network and are now facing issues, see the <a href="viewtopic.php?f=20&amp;t=2955" class="postlink">Networking Gotchas article</a>.  We document learnings from past tickets.<br><br><br><span style="font-size:150%;line-height:116%">Next steps</span><br><br>We are not networking experts.  Nor do we know your ISP provider or their policies.<br>Basic troubleshooting is to turn features off and reduce complexity (STunnel, VPN etc) and observe whether functionality returns.<br>Speak with your local experts at Managed IT firms or Video Surveillance firms if your setup is not working.<br>The forum may be a good place to pose your question.  blueirissoftware.com/forum<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Aug 17, 2021 3:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-07-22T03:37:01+00:00</updated>

		<published>2021-07-22T03:37:01+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9765#p9765</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9765#p9765"/>
		<title type="html"><![CDATA[Infrastructure: Servers and Networks • Server Management: Upgrade BI / Move BI license]]></title>

					<category term="Infrastructure: Servers and Networks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=20" label="Infrastructure: Servers and Networks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9765#p9765"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><br><br>Common requests are<ul><li>What are the recommended steps to upgrade from BI4 to BI5.</li><li>I just bought a new server.  How do I move BI to the new machine?</li></ul><span style="font-size:150%;line-height:116%"><a name="Upgrade">Upgrade</a></span><br><br>Steps to upgrade from BI4 to BI5.  Version 5 is a full install upgrade, so you would download from the Download page at <a href="http://blueirissoftware.com/Download" class="postlink">http://blueirissoftware.com/Download</a>, and use the same version 4 license key to register only AFTER deciding to upgrade.<br><br><span style="text-decoration:underline">Shutdown BI4</span><ul><li>Secure the license key.  <br>Suggestion: Click the Help button (? button).<br>Copy Email support info to copy critical system info to the clipboard.  <br>Then paste the clipboard into an email and send email to yourself. <br>This way you have a copy of all your support info.</li><li>Global settings -&gt; About dialog -&gt; Export settings (v4).  Save this file to a thumb drive.  Settings are designed to go in one direction.  Going back to v4 requires restoring BI4 settings, NOT using settings modified/exported by v5.</li><li>Turn off BI V4 including service if running as a service.</li></ul><span style="text-decoration:underline">Start BI5</span><ul><li>Install BI5 (download from website)</li><li>Blue Iris 5 is considered a new application for your Antivirus and Firewall software.  The exceptions you added for BI4 needs to be replicated for BI5,  including Antivirus exemptions for the BI executable, blueiris.exe.  The <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Window Tuning article</a> walks you through all the checks.</li>  <li>Start BI5.  Cameras and recordings should come up since info is already in registry.  <br>If it does not, import your BI4 settings.  Global settings -&gt; About dialog -&gt; Import settings (only necessary if registry was mistakenly deleted)<br>Insert license key (optional.  you can run trial as well)<br>Right click in clip list -&gt; Database -&gt; Repair / regenerate.  Just to be safe.</li></ul><span style="text-decoration:underline">Cleanup</span><br>Uninstall BI4 (Once BI5 is up and running)<br><br><br><br><span style="font-size:150%;line-height:116%"><a name="Move">Move</a></span><br>Steps to move BI to a new machine.<br><br><span style="text-decoration:underline">Old machine</span><ul><li>Secure the license key.  <br>Suggestion: Click the Help button (? button).<br>Copy Email support info to copy critical system info to the clipboard.  <br>Then paste the clipboard into an email and send email to yourself. <br>This way you have a copy of all your support info.</li><li>Global settings -&gt; About dialog -&gt; Export settings.  Save this file to a thumb drive.</li><li>Stop BI.</li><li>(optional)   If you want to keep your recordings, move all local directories containing clips and the database directory to external storage.  <br>If you want to start with new recordings, skip.</li>  </ul><span style="text-decoration:underline">New machine</span><ul><li>Install BI on new machine</li><li>Add Security Software Exemptions.  See <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning Article</a> for details.</li>  <li>Start BI.  Run BI using the 15-day trial to setup your machine properly.</li><li>Global settings -&gt; About dialog -&gt; Import settings (pull in BI camera and storage info from old machine)</li></ul><span style="text-decoration:underline">Optional: Readjust storage on new machine.  Import recordings and alerts from old machine.  Could start out new as well.</span><ul><li>Activate the red shield.  This will allow BI to run but stops core functionality such as Triggers/Recordings/Alerts and other stuff temporarily.<br>Most importantly you are preventing writes to the database while trying to restore the old database.</li><li>(Optional) Re-adjust storage locations if desired.  Global settings -&gt; Clips and archiving.  You could have BI just keep the same directory structure setup on previous server.</li><li>If you want to move BI recordings/files from previous machine to new machine, do so now, i.e.  New -&gt; New.  DB -&gt; DB etc.</li>  <li>Right click in clip list -&gt; Database -&gt; Repair / regenerate.  Just to be safe.</li><li>If clip list does not show prior clips / alerts, then restart the console.</li><li>Un-pause BI (turn shield to green).</li><li>(Optional) When BI first started, it created default BI directories (C:\BlueIris).  When you imported your settings, the directories specified in your import settings were created (if different from default directories).  If you then changed those drives/directories a third time, you may want to delete the previous directories as a final cleanup.</li></ul><span style="text-decoration:underline">Move license</span><ul><li>Now that your new server is setup, deactivate your license on your old machine.</li><li>Insert license into new server.</li></ul><br><br><span style="font-size:150%;line-height:116%">Gotchas</span><br><br><strong class="text-strong"><a name="Gotcha 2">Gotcha 2</a>: Forgot password</strong><div style="margin-left:3em"><br>Run REGEDIT and delete this key:<br><br>HKEY_LOCAL_MACHINE\SOFTWARE\Perspective Software\Blue Iris\server\users\local_console<br><br>Then find the key<br><br>HKEY_LOCAL_MACHINE\SOFTWARE\Perspective Software\Blue Iris\Options<br><br>and set the "runasadmin" value back to its default of 1.  This is the "require run as administrator" checkbox on the Settings/Startup page.  This will disable the login prompt altogether and start the software.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2382" class="postimage" alt="server management_password.png" onclick="viewableArea(this);" /></dt></dl></div><br></div><strong class="text-strong"><a name="Gotcha 1">Gotcha 1</a>: Import settings fails</strong><div style="margin-left:3em"><br>You just installed / re-install BI and you try to import your bi setting which you had saved. When trying to import, BI terminates without any message and after a restart I get the error shown below.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1505" class="postimage" alt="import fails.png" onclick="viewableArea(this);" /></dt></dl></div><br>Running BI without admin privileges or security software such as Kaspersky is preventing access to the registry. <ul><li>Run REGEDIT and locate the key "HKLM\Software\Perspective Software\Blue Iris Import". It's the import key you want.</li><li>Find the 'a1' key in "HKLM\Software\Perspective Software\Blue Iris Import" and right-click edit permissions. Add "full control" to the administrators group.</li><li>You should now be able to delete the import key and startup.</li></ul>Go through the <a href="viewtopic.php?f=12&amp;t=2080" class="postlink">Windows Tuning article</a> to make sure Windows is not in conflict with Blue iris.<br><br></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Thu Jul 22, 2021 3:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-07-20T17:17:56+00:00</updated>

		<published>2021-07-20T17:17:56+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=9751#p9751</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=9751#p9751"/>
		<title type="html"><![CDATA[Infrastructure: Servers and Networks • Hardware Recommendations]]></title>

					<category term="Infrastructure: Servers and Networks" scheme="https://blueirissoftware.com/forum/viewforum.php?f=20" label="Infrastructure: Servers and Networks"/>
		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=9751#p9751"><![CDATA[
<span style="font-size:150%;line-height:116%">Introduction</span><br><br>Many users often ask for recommendations regarding hardware for cameras and servers.  Blue Iris is directionally vendor agnostic, i.e. we run on standard Windows servers and support camera standards, i.e. RTSP and ONVIF.  That being said here are some directional guidelines.<br><br><span style="font-size:150%;line-height:116%"><a name="Cameras">Cameras</a></span><div style="margin-left:3em"><br>Some vendors that are popular and tend to get good feedback with our customers (not an endorsement).  We chose these vendors only because they address the different price points (low, high) we see in the market.  With Amcrest, we do have a tighter integration relationship just because they provide their libraries which are included in the installer.  Thus the Amcrest drivers tend to mostly work.<ul><li>Amcrest</li><li>Axis</li></ul><strong class="text-strong">Will my cameras work with BI?</strong><div style="margin-left:3em">Video standards<br>RTSP tends to be the most popular today.  Other standards such as RTMP, MJPEG or just regular JPG are also supported.<br><br>If you are uncertain, reach out to the camera manufacturer.  Simply ask, how do I connect your camera to third party VMS systems using RTSP.  One user asked how to connect the camera to VLC, a very popular media player.  If VLC can connect to a camera, it should be possible via BI as well.<br><br>ONVIF<br>BI also supports the ONVIF standards.  I would say ONVIF enabled devices make connectivity the easiest because often access to the video plus additional functionality such as PTZ comes over via ONVIF.  ONVIF support is also the clearest indication that the camera provides 3rd party integration.  Cameras that support ONVIF usually advertise they do so on their product page of the site where you are purchasing the camera.<br><a href="http://www.onvif.org/conformant-products/" class="postlink">www.onvif.org/conformant-products/</a> is a page where you can also check ONVIF support.  Simply enter device/manufacturer/ Profile T of your camera and you will see the list of cameras that probably connect to BI.<br><br>Cameras that promote their own app or do not advertise ONVIF support are usually a red flag that third party access may not be possible.<br>Ring, Arlo and SimpliSafe are common vendors that do not allow third party access to their cameras.<br><br>Vendors we know that do not work with third party software (not exhaustive list):<ul><li>Blink (Amazon acquisition)</li><li>Ring (Amazon acquisition)</li><li>SimpliSafe</li></ul></div><strong class="text-strong">BI Connectors</strong><div style="margin-left:3em">The Generic/RTSP Make / Model selection is automatically chosen if an ONVIF connection to the camera is possible.  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1501" class="postimage" alt="generic rtsp.png" onclick="viewableArea(this);" /></dt></dl></div><br>In addition, the Make/Model list in the IP Config dialog provides an exhaustive list of the 1000s of manufacturers that are also supported via custom drivers.  BI engineers continuously works with customers to add new cameras to the list.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1910" class="postimage" alt="hardware recommendation_makes.png" onclick="viewableArea(this);" /></dt></dl></div><br>For any manufacturer, the list of supported models are also provided.  Often models that are not listed can use an existing driver.  <strong class="text-strong">The only way to know whether BI will work with your cameras is to download the software and test.  Test the video, PTZ and other functionality that comes with the camera.</strong>  <br><br></div><strong class="text-strong">New and advanced features</strong><div style="margin-left:3em">Cameras are coming out with more and more features, e.g. sirens, floodlights etc.  Often we can <strong class="text-strong">reverse engineer functionality</strong> if you put the camera on the WAN for remote testing.  <strong class="text-strong">A good litmus test as to whether this is possible is to determine whether the same functionality is available via their web interface?</strong>  If so, then we have a good shot of reverse engineering the functionality into BI.  If not, i.e. the functionality is only available via a proprietary app, probably not.<br><br></div>The <strong class="text-strong">Connect cameras correctly</strong> section in the <a href="viewtopic.php?f=11&amp;t=2426" class="postlink">Checklist</a> documents best practices for connecting cameras.<br><br>We are software engineers with expertise in connecting to cameras.<br>If you are looking for the right camera, i.e. features/functionality to meet your requirements, reach out to the surveillance experts on the <a href="https://blueirissoftware.com/forum/" class="postlink">forum</a>.<br>Alternatively speak with your local experts at Managed IT firms or Video Surveillance firms.<br><br></div><span style="font-size:150%;line-height:116%"><a name="Server Recommendations">Server Recommendations</a></span><div style="margin-left:3em"><br>Official requirements from the website:<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2133" class="postimage" alt="hardware recommendations_website.png" onclick="viewableArea(this);" /></dt></dl></div><br>Some additional thoughts.  <div style="margin-left:3em"><br><strong class="text-strong">OS</strong><br>Windows 10 Pro is preferred.  Windows Server is also used by many users.  <br>Many, many users have already migrated to Windows 11 with no issues.  Be smart and have your license key and a copy of your BI settings on a thumb drive.<br><br><strong class="text-strong">Intel processor + QuickSync</strong><br>Intel introduced H.265 support with Skylake (6th generation i7)  Ideal to get a processor that supports H.264 &amp; H.265 (HEVC) encoding.  Xeon versions with QuickSync also provide very efficient camera stream decoding.  BI can take advantage of QuickSync for decoding H.264/H.265 streams from cameras.  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2019" class="postimage" alt="hardware recommendations intel h265.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">AMD processor</strong><br>Positive customer feedback from AMD processors that leverage our DirectX integration as well.<br><br><strong class="text-strong">RAM</strong><br>8 GB of RAM ok.  16 GB would be better. See RAM Calculator section below for more information<br><br><strong class="text-strong">Storage</strong><br>Fast, local SSD is good for the New folder and the Database folder.  The SSD storage therefore does not need to be large.  It really depends on your requirements (number of cameras, record settings).<br>Many users move from SSD to long-term slower storage over time.  NAS drives and additional internal HDD drives are equally popular.<br><br>If your motherboard supports NVME drives then we do recommend taking advantage of this capability for improved performance.  Not a requirement.  <br><br><strong class="text-strong">GPU</strong><br>NVidia/GPU not a big boost for BI.  We only use hardware acceleration (HA) for encoding/decoding.  Intel QuickSync or an AMD equivalent is way more value.<div style="margin-left:3em"><strong class="text-strong">AI</strong><br>NVidia cards are a huge advantage for DeepStack/AI.  I process images at 50 ms on my GTX 1070 Ti.<br>DeepStack also seems more stable running on NVidia.<br>I happened to have a gaming PC (mine is from ASUS) and find them very beneficial now for BI Surveillance + DeepStack AI.<br>My Intel QuickSync handles all the camera decoding efficiently.  I have my NVidia card dedicated to just process DeepStack inferences.<br><br></div></div>There are many experts on the <a href="https://blueirissoftware.com/forum" class="postlink">forum</a> as well.<br><br>Below are some really good analysis articles that you should probably read.  (external content)<ul><li>Optimizing Blue Iris's CPU Usage.  <a href="https://ipcamtalk.com/wiki/optimizing-blue-iris-s-cpu-usage/" class="postlink">https://ipcamtalk.com/wiki/optimizing-b ... cpu-usage/</a></li><li>Choosing hardware for Blue Iris.  <a href="https://ipcamtalk.com/wiki/choosing-hardware-for-blue-iris/" class="postlink">https://ipcamtalk.com/wiki/choosing-har ... blue-iris/</a></li></ul>The BI Updater stats shares some real-life deployed server stats.<br><a href="https://biupdatehelper.hopto.org/default.html#stats" class="postlink">https://biupdatehelper.hopto.org/default.html#stats</a><br><br>The <a href="https://www.youtube.com/c/BlueIrisSupport/videos" class="postlink">"Case study: Large Enterprise Deployments"</a> webinar is an interview with a reseller sharing how he deployed BI on a 64+ cameras site.<br><br><strong class="text-strong">Customer anecdotal</strong><div style="margin-left:3em"><br>I see resellers buying refurbished laptops on ebay for $300 with an i7+ and 1 TB of SSD.  i7+ processor is important just to have QuickSync with H.264 &amp; H.265 support.  <br><br>In terms of bang for the buck, computer hardware and network bandwidth seems plenty good now to handle surveillance.  Plus BI is a multi-threaded application optimized for the Windows operating system.<br><br>We have one user that was running 9 8MP cameras without dual streams on his CPU at 45 - 55% CPU utilization.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1894" class="postimage" alt="hardware_camera stats.png" onclick="viewableArea(this);" /></dt></dl></div><br><br>Server stats:<ul><li>CPU: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz</li><li>RAM: 5.82G/15.7G</li><li>OS: Windows 10 Pro</li><li>Cameras: 9</li></ul>Conclusion:<br>Spending money on a processor with a dedicated core for encoding/decoding, i.e. Intel QuickSync or AMD is worth it.<br>The Choosing Hardware for Blue Iris article above provides recommendations on CPU and # of cores.<br><br><br><strong class="text-strong"><a name="Multi-socket motherboards">Multi-socket motherboards</a> (multiple CPUs)</strong><br><br>We do have some stats from users as well.  The below example is from a user that had a server with 2 CPUs (Intel Xeon CPU E5-2620 v4 @ 2.10 GHz).<br>Each CPU had 8 cores and an additional 8 virtual cores.<br>16 physical cores + 16 virtual cores.<br>Blue Iris is a multi-threaded server application.  <br>As you can see, BI takes advantage of one of the 2 CPUs (16 logical cores).<br>Not sure why Windows does not take advantage of the second CPU.<br>My guess is Windows does not distribute threads from one application across CPUs.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1961" class="postimage" alt="Only one CPU used.PNG" onclick="viewableArea(this);" /></dt></dl></div><br><br>From engineering:<br><blockquote class="uncited"><div>Blue Iris does not specifically limit itself to a certain number of cores or processors, this is up to Windows.<br>Some interesting reading on Windows:<br><a href="https://www.alphr.com/enable-all-cores-windows/" class="postlink">https://www.alphr.com/enable-all-cores-windows/</a></div></blockquote></div>Many of the other hardware choices for a PC is not that crucial.<br><br><br></div><span style="font-size:150%;line-height:116%"><a name="Storage calculator">Storage calculator</a></span><div style="margin-left:3em"><br>Most users just want to know how much storage is needed to accommodate their recording requirements, for example I want recordings to go back 30 days. <br><br>There is a rough calculator in the Help file as well.  Search for "How much storage space do I need?" in Help.  <br><br>I would just set the New folder as large as possible in the beginning based on the size of the drive.  Run the server for a week and play with your record settings.  <br><br>For example, if you are continuous recording, many users cut the recordings every hour so the files are manageable.    Because you are continuous recording, the size of recordings will not fluctuate day to day.  After 1-2 days of recording, you know how much storage is needed for your cameras per day.  Multiply storage per day by number of days to determine the overall storage need.<br><br>If you are using the When triggered / alerted settings, then obviously you are optimizing storage already and perhaps you can leave combine/cut at 8 hrs.  Run BI for a week since storage needs fluctuate based on the activity of the camera.  Then look at the average size of the recordings per day over a week of recordings for each camera.<br>Same as above, since you now know the size of the recordings from different cameras, you can easily determine how much storage is needed to meet your requirements, for example 30 days of recordings.<br><br>If you plan on using additional drives for fault tolerance, you can distribute the storage need across your different drives.<br><br>The <a href="viewtopic.php?f=11&amp;t=2305" class="postlink">Record tab article / webinar</a> has details on record options discussed above.<br><br>As far as vendor recommendations for SSD/HDD/NAS, these questions are best asked to the community.  blueirissoftware.com/forum.<br><br><br></div><span style="font-size:150%;line-height:116%"><a name="RAM Calculator">RAM Calculator</a></span><div style="margin-left:3em"><br>Many users ask how much RAM is required for my system.<br><br>High level guidelines:<br>4 GB may be fine for small systems (4 or fewer cameras).<br>8 GB is the most common configuration (&lt; 20 cameras).<br>The largest systems may benefit from 16 GB.<br>Memory section of <a href="https://ipcamtalk.com/wiki/choosing-hardware-for-blue-iris/" class="postlink">Choosing Hardware for Blue Iris</a> article has more details.<br><br>RAM requirements is dependent on number of cameras / fps per camera / compression / resolution per camera.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1977" class="postimage" alt="hardware recommendations_RAM.png" onclick="viewableArea(this);" /></dt></dl></div><br>If you want to better approximate RAM requirements, you need to first understand how BI works.<br><br><span style="text-decoration:underline">Pre-trigger buffer (compressed)</span><br>BI maintains a pre-trigger buffer (could be empty, i.e. set to 0s).  Depending on your record settings, the size can vary.<br><br>Buffer contains the compressed stream.  Since the stream is compressed only way to approximate the memory usage is via the camera's bit rate.<br>Fortunately, BI shares the bit rates for each of the streams (dual streams) for each camera.  Camera settings -&gt; General tab.<br><br>Pre-trigger buffer size = (mainstream bit rate + sub stream bit rate) * pre-trigger length<br><br>For my stats, Pre-trigger buffer size = (258.0 kB/s + 31.0 kB/s) * 5.0s = 1445 kB = 1.445 MB.<br>This value is approximate, because the bitrate will fluctuate based on the network.<br><br><span style="text-decoration:underline">Frame buffer per stream (uncompressed)</span><br>BI also maintains a 1s uncompressed frame buffer  per stream.<br><br>Camera resolution (main stream) = 1920 x 1080 = 2.1 MP<br>Camera resolution (sub stream) = 640 x 480 = 0.3 MP<br>Camera resolution = 2.1 + 0.3 = 2.4 MP<br>Camera resolution (in bytes) = 2.4 MP x 4 bytes per pixel = 9.6 MB<br>For my stats, 9.6 MB * 30 fps * 1s = 288 MB<br><br><span style="text-decoration:underline">Final results</span><br>Total RAM needed for one camera: 1.445 MB + 288 MB = 289.445 MB<br><br></div><span style="font-size:150%;line-height:116%">Support</span><br><br>Blue Iris currently only provides two tiers of support:  Support and Priority support.  No phone service.  Support is included with the purchase of a license for one year.<br> <br>Priority support, first and foremost is to get you to front of the email queue each day and you may also receive multiple replies in a single day.  We do have the option to use Teamviewer (remote support) if there's something that you are stuck on or otherwise want to "show engineering."  There is no "call in" phone number, but if required we can be on the phone at the same time as Teamviewer.<br><br><br><br><span style="font-size:150%;line-height:116%"><a name="On Premise Solution">On Premise Solution</a></span><br><br>Completely on-prem is a guiding design principle for Blue Iris.   <br>The only time BI uses the internet is for updates and periodically recording the IP address (For remote access.  See Help for details).  Both connections are to blueirissoftware.com.  <br>To turn off updates,  Global settings -&gt; About tab -&gt; Software support and maintenance.  Select  No Update Prompt.  <br>To turn off the latter, go to Global settings -&gt; About tab -&gt; Register IP address to assist with client app connections.  Uncheck.<br><br>To find the current IP address of blueirissoftware.com, simply use the ping command.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=1565" class="postimage" alt="ping blueirissoftware.png" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Tue Jul 20, 2021 5:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
