Categories
exacqVision Enterprise Windows Knowledge Support Support exacqVision Enterprise Products

Enterprise Manager memory resource usage high due to importer

Exacq Support has identified an issue with Enterprise Manager importer processes using an excessive amount of memory resource, often requiring reboot due to system becoming unresponsive when installed on some Windows machines. This is estimated to affect versions 23.06.2.0 thru latest versions of ExacqVision Enterprise Manager for Windows. Developers are aware and working on resolving these issues.

NOTE: This high memory resource usage often corresponds with errors seen in importer log exceptions. You can trace the PID this process starts up on in importer-error logs to the process in task manager in Windows.

Product 

  • ExacqVision Enterprise Manager
  • 23.06.2.0 – 24.06.2.0

Solution

Engineering has developed a temporary workaround consisting of a PowerShell script developed to scan for and kill certain importer processes when their memory usage is at unacceptable levels. This script runs every 5 minutes, unless code is altered. This script should only be used as a last resort for Support personnel to deploy when all troubleshooting and other remediation steps have been exhausted. In some cases it may be recommended to alter the MemoryCeiling function of this script to better suite certain customer scenarios.

It is also recommended that this script be triggered as a scheduled task from task scheduler. This often requires that Execution Policies be bypassed to launch successfully on reboot. Detailed instructions are below:

1) Download the importerMonitor.ps1 script from:

https://support.exacq.com/#/file-manager/33becef0-0ab8-4b0f-9127-94884ac262a6/em-dev-build

2) Unzip the file and place the importerMonitor.ps1 file in a directory. Often times, it is best to place this in: “%\Program Files\exacqvision\”

3) Open Task Scheduler in windows and Create Task, then name task importerMonitor and configure an admin user and to run whether user is logged on or not. Be sure to check the box for Run with highest privileges, and configure for OS in use.

4) Under triggers, select New… Then configure for “At Startup”.

5) Under the Actions tab, select New… and configure as follows:
– Start a Program
– Program/script: Powershell.exe
– Add arguments: -ExecutionPolicy Bypass – File “C:\Program Files\exacqVision\importerMonitor.ps1”

6) Configure the conditions tab as pictured:

7) Configure the Settings tab as pictured:

8) Reboot to test the Task at startup, and verify it worked as expected by observing the History tab in Task Scheduler for this task:



<br>

Categories
Knowledge Support Support exacqVision Server Categories Products

Camera discovery plugin leaks memory

Affected platforms

exacqVision 6.4 or higher

<br>

Symptom

Every time there is a config or alarm event from core, the IP camera detect plugin (IPCamDetectPI.dll) will leak memory. The memory leak is in small increments and on systems where huge number of events are happening, like lots and lots of motion events for example, the leak can grow to a few megabytes per day.

<br>

Work Around

No single work around that covers all cases. On certain cases like Onvif, minimizing the motion events by removing the json file entry to prevent motion events can mitigate the issue a lot.

<br>

Resolution

None at this time