App Control: Console Timeout or No Results When Viewing 'Chattiest Rules'
book
Article ID: 290422
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Issue/Introduction
Console timeout or 'No Results' when attempting to view the 'Chattiest Rules' report in the support.php page
Message similar to following reported in the PHPErrors.log file:
Query: "SELECT * FROM dbo.PerformanceTopNRules(168, 20)" caused error: DB Error: Query timeout expired
Environment
App Control Console: All Versions
Cause
Timeout caused by contention in SQL 'das' database
Resolution
Increase SQL Server timeout value:
Open 'services.msc', stop the App Control Server service
If App Control Agent is installed on server, turn Tamper Protection off: (reference section 'To manage Tamper Protection on a single Agent using the Console')
Navigate to following directory C:\Program Files (x86)\Bit9\Parity Console\php\
Copy the file 'php.ini' to the Desktop, then rename the original to 'php.ini.back'
Open the saved 'php.ini' on the Desktop to edit, locate 'sqlsrv.querytimeout' parameter, modify value to the following then save: sqlsrv.querytimeout = 60
Move the Desktop 'php.ini' file into following directory: C:\Program Files (x86)\Bit9\Parity Console\php\
Open 'services.msc', start the App Control Server service
Open cmd window 'As Administrator', run following command: iisreset
If App Control Agent is installed on server, turn Tamper Protection on: (reference section 'To manage Tamper Protection on a single Agent using the Console'):
Additional Information
If increasing the 'sqlsrv.querytimeout' parameter to '60' does not help, perform steps again however change the parameter to 'sqlsrv.querytimeout = 90'