Remote Videos Can Be Retrieved But Cannot Be Played Because the BSM Cache Size Is Too Small

Publication Date:  2012-07-21 Views:  67 Downloads:  0
Issue Description
iNVS V100R002C01
After you open Special Player, you can retrieve remote videos but cannot play them, and the system indicates that the server is abnormal.
Alarm Information
Handling Process

Run the vim /hinvs/psm/etc/bsm/bsm.conf command to edit the configuration file bsm.conf.

Set read_cache_size to 1024.


l      Press i to enter the editing mode.

l      Press Esc to exit the editing mode.

Enter :wq to save and exit.

Root Cause
Cause analysis:
1.         Connect an SSH tool to the NVR.
The default user name is root and default password is 123456.
2.         Run the less /hinvs/psm/etc/bsm/bsm.conf command to view the read_cache_size value.
The read_cache_size value is too small (smaller than 500). It is inferred that the BSM cache size is too small.
The BSM cache size is too small, which causes that the remote videos can be retrieved but cannot be played.
The BSM read/write cache size is the read/write size of each channel. Its value depends on the video bit rate. The following table lists the recommended values.
Read/Write Cache Size Configuration
Video Bit Rate
Read Cache Size
Write Cache Size
1 to 2 1024 1024
3 to 4 2048 2048
5 to 6 3072 3072
7 to 8 4096 4096
9 to 10 5120 5120
If you use iNVS V100R002C02, you can log in to the NVR Controller and click the NVR management tab, and then choose Basic NVR Settings>   > Cache Parameter to change the BSM cache size in Professional Settings.

If streams with various bit rates are accessed, you are advised to set the cache size to Auto-adaptation.