Categories
Knowledge Support Support exacqVision Server Categories Products

System watchdogs when configuring Extended Storage

Description

Affected platforms: Linux, Ubuntu 32-bit with PAE-configuration (systems with more than 4GB of RAM).

Affected configuration: 1 DVR + n S-Series, where s-series are all used for Extended Storage and are being connected to the single DVR.

<br>

Symptoms

A DVR system watchdogs while configuring many extended storage (iscsi) volumes.

<br>

Troubleshooting

  • This is happening due to the system running out of Low Memory. Low Memory stats can be checked using command: free -lm. Values below 100MB for free low memory indicate a system that may be at risk. Low memory values tend to fluctuate a lot, so a reading close 100MB may mean that some time it can dip below 50MB, which is a definite danger zone.
  • Running out of low memory is not the same as running out of all memory. The system may report plenty of memory available using either top command or dstat command. Total available memory does not correlate with available low memory.
  • When free low memory gets low, then oom-killer (out-of-memory killer) OS process is triggered and it kills the process on the system that it believes will free up the most memory. The following command will report the process that will be killed first: dstat --top-oom (usually it is core).
  • When oom-killer is activated, the following message can be seen in /var/log/syslogOut of memory: Kill process (core) score or sacrifice child.
  • When oom-killer kills core process, a watchdog will trigger and the system will reboot.

<br>

Workarounds

In-house testing revealed that at most 4 80TB S-Series can be used for extended storage on a single recorder. This provides 20 iscsi volume with 13TB of usable space each. Configuring more iscsi storage (in TBs not number of volumes) may lead to an unstable system that could run out of low memory and therefore watchdog. If a customer has more than 4 S-Series, any S-Series can be converted to a z-series. Customer’s configuration would have to be altered to accommodate recording to more than 1 DVR.

<br>

Solution

This is a limitation of a 32-bit Linux OS. We’re expecting this issue to be resolved with the release of a 64-bit Ubuntu image for BBE systems.

<br>

Recommended Network Configuration:

Camera and iscsi networks should be isolated. For example, given a recorder with at least 2 NICs, one of the NICs should be dedicated to receiving camera traffic. Another NIC should be dedicated to sending iscsi traffic to the S-Series.
An S-Series should have one of its NICs dedicated to receiving iscsi traffic from the recorder and nothing else.

Given this setup, you can estimate whether the underlying network quality will work for the extended storage environment configuration. Use the following command to check the network traffic volume: iftop -i eth0 -n
Compare received network traffic volume on the camera NIC to the transmitted volume on the iscsi NIC using the command above.

If the reported iscsi NIC network volume is less than the received camera volume, it is an indication that the iscsi configuration will not be able to keep up.

In the case of iscsi connection not keeping up with the incoming camera traffic, it is recommended to use local recording instead of extended storage. An s-series can be converted to become a Z-series and some cameras should be moved from the original DVR to the converted one.

Categories
Knowledge Support Support exacqVision Client Categories Products

Configuring DS6716HQHI Encoder Streams

The following steps are intended for manually setting the certificate and key path for exacqVision Web Service versions 8.4 and higher.

<br>

Symptom

When connected to a Hikvision DS-6716HQHI encoder, user sees seemingly random drops of video streams for a second or two.

<br>

Problem

When this device detects motion, the encoder switches from the main profile to the event profile, seemingly pausing the stream. Our camera plugin detects this as a timeout of the stream and attempts a reconnect.

<br>

Solution

  1. Log into the camera’s web interface through a web browser.
  2. Navigate to the Configuration > Camera Settings > Video Settings
  3. In the ‘Channel No’ field, go through all 16 channels and set ‘Video Type’ for both the Main Stream (Normal) and Main Stream (Event) to ‘Video Stream’.
  4. Also, verify that the Main Stream (Event) video settings are the same as the Main Stream (Normal) settings.
  5. Back in the exacqVision Client, on the Add IP Cameras page, highlight any of the IP addresses for these encoders and add the following option, #getparameter_override=true.
    • So if your encoder address is listed as 192.168.0.5, change this to 192.168.0.5#getparameter_override=true.
    • If the IP is listed as 192.168.0.5#bank=2, add the #getparameter_override=true after the bank option as 192.168.0.5#bank=2#getparameter_override=true.
  6. After applying these override options to all the encoder IP addresses listed, uncheck the Enable box next to each in the IP Camera List, then recheck them.

<br>

Note: This encoder supports four audio channels, so the workaround steps may pose a problem if you are using audio from this device.

<br>