Please, refresh the server cache.
Each cache is described in the /etc/ccu/ccu.conf configuration file, to prevent the data from being cached to certain cache it's enough to set is_enabled
setting to the no
value in its description.
Please restart ccu after changing the configuration.
Attention : There is one known challenge at the time of this writing, so once the CACHE is being disabled via the is_enabled
setting, it becomes entirely hidden fot the ccu, leading to the situation where the cache size is not taken into account. That is if there are two caches - A
and B
, A
occupies 8ТB, B
occupies 1ТB, and the total allocated cache size is 10TB, then if A
cache is disabled, it will be regarded as the 9TB are still available. So if the disk space volume is not large, then after disabling the cache, it is recommended to deallocate the occupied memory.
Run the following command on the CACHE server:
find /data -type f
The CACHE is empty, if you get the following command output:
/data/enumerated.bin /data/enumerated.cs
Check for errors when transferring to clickstream
tail -100 /var/log/dpi/fastdpi_alert.log|grep ERROR
If you have the following errors:
[ERROR ][2015/07/20-20:26:48:307378][0x7fd749eac700] IPFIX : udp:10.0.251.7:1500 : Error socket send to collector, rc=-1, errno=111 : Connection refused [ERROR ][2015/07/20-20:26:48:434784][0x7fd749eac700] IPFIX : udp:10.0.251.7:1500 : Error socket send to collector ( repeat error 1 ), now ok.
/var/cache/nginx/cs/.cs/cs.conf
. If the IP address is changed you will need to stop and restart the CACHE server - More detail about the CACHE server configuration To check the uploading time to the DPI from the cache server, run:
ls -al /var/lib/dpi/cdn*
Output is:
rw-r--r--. 1 root root 3432 July 20 15:58 cdncache.bin
To change the download period for files with information about the cached files, add the following line to the DPI configuration:
timeout_check_cache=5
The setting above doesn't require restart, it's enough to reload the DPI configuration using the following command:
service fastdpi reload
Check that the CASH service is enabled for the subscriber:
fdpi_ctrl list --service 7 --ip <subscriber's IP>
If the ouput:
Autodetected fastdpi params : dev='lo', port=29000 connecting 127.0.0.1:29000 ... --------------------------------- Result processing ip=1.1.1.1 : 1/0/1
That means that the service is not available to the subscriber.
1.To find out the PID of the main process:
ps -ef | grep ccu
2. Run the command
ccu manage --conf /etc/ccu/ccu.conf --pid <PID of the main process> --set-log-level diagnostic
3. Wait 20 minutes
4. Run the command
ccu manage --conf /etc/ccu/ccu.conf --pid <PID of the main process> --set-log-level info
Commands from 2 and 4 items change the logging level, if it is set to diagnostic, then none of the above items should be done, just examine the log /var/log/ccu/online.log
The /var/log/ccu/online.log file contains the informaion have been accumulated in different caches yet
Also you can examine the log /var/log/ccu/online_recv.log file - if it is empty, then nothing comes from IPFIX
To check the availability of the cache server, use the following URL:
http://<IP_cache_server>/cache/enumerated.bin
If the file has been received, CASH is available on port 80.
Please, update the CASH server software
1. Using the web interface <ip_cache>/cs.html
2. On the CACHE server, run the command du -sk /data/exts/*|sort -n
On the mtorrent client:
Please start downloading the torrent, select it in the list and check at the "Trackers" tab
the presence of the local retracker, its status and peers and seeds availability
On the server side:
To check out the retracker's log:
tail -100 /var/log/btrt/btrt.lo
It means that there are no any torrent shares registered at the retracker resulting in dpi could not receive their list
The command to delete data in a specific CACHE:
ccu remove <the name of the CACHE>