niscache folder has too many files

Document ID : KB000034018
Last Modified Date : 14/02/2018
Show Technical Document Details
The exchange_monitor v5.13 and early continuously creates new entries in the robot's niscache directory.? A workaround is to periodically clear out this directory using the robot's controller probe's _nis_cache_clean callback.? This does not require a restart of the Nimbus Robot Watcher service.

This callback can be called from the command line using the pu.exe utility on the primary hub:

<installPath>\Nimsoft\bin\pu.exe -u <username> -p <password> <controller probe address> _nis_cache_clean <robotname> <min_age>


<username> is a real Nimbus username
<password> is the real Nimbus user's password
<controller address> is the Nimbus controller probe address for the robot whose niscache directory you want to clear in the format:

?? /<domain>/<hubname>/<robotname>/controller

<robotname> is the name of the robot whose niscache directory is to be cleared
<min_age> is an integer value specifying the minimum age of the niscache files

So for example, if you wish to clear the niscache directory on the robot exchang_robot managed by the hub primary_hub in the Nimsoft domain exchange_dom the pu.exe command would be as follows:

<installPath>\Nimsoft\bin\pu.exe -u administrator -u L3tM31n /exchange_dom/primary_hub/exchang_robot/controller _nis_cache_clean exchang_robot 2