App Control: Widespread Cache Corruption with Agent Database Integrity Check Not Set

App Control: Widespread Cache Corruption with Agent Database Integrity Check Not Set

Environment

  • App Control Server (Formerly CB Protection Server): All Versions
  • App Control Agent (Formerly CB Protection Agent): All Versions

Symptoms

  • Widespread or re-occurring Agent Cache corruption

Cause

By default, the App Control agent is set to "Performance" mode, which focuses on agent performance. In times of system instability/crashes, with the agent focused on performance, it is possible for the cache to become corrupted.

Resolution

Changing the agent to 'Integrity' mode allows the agent to focus on maintaining it's files and cache, to prevent the chance of cache corruption.

To put the agents into the Database Integrity mode:

  1. Browse to https://ServerName/agent_config.php.
  2. Click on + Add Agent Config
  3. Fill in the properties like below:
    • Property Name: Database Integrity Check (Or a name of your choosing)
    • Host ID: Use a specific Host ID to test on one device,or 0 for the entire environment
    • Value: cache_access=2  (confirm there are no spaces before or after)
    • Status: Enabled
  4. Save and test

Additional Notes

  • This lowers the chance of cache corruption, however it will impact performance as the agent is geared towards reducing the chances of corruption and less on performance. You may also receive unexpected blocks, especially if the application is running from a network drive. Prior to deploying the property broadly it should be tested on several machines representative of the environment.
  • Please do NOT make any additional change on the agent_config.php page as it may cause unexpected behavior or potentially break the installation.

Related Content


Labels (1)
Was this article helpful? Yes No
100% helpful (1/1)
Article Information
Author:
Creation Date:
‎09-09-2020
Views:
1315
Contributors