IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

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, or with frequent hard stops of the Agent, 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.
  • 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:
2514
Contributors