ControlSuite: Shared Services and Cassandra creating large log files
Problem:
Server hard disk may begin filling up by very large files (>500Mb) stored in one or more of the following folders:
C:\Program Files\Nuance\Shared Services\Cassandra\bin\daemon
C:\ProgramData\Cassandra\data\commitlog\
%SystemRoot%\System32\LogFiles\Apache
Error:
This issue will not generate an error message within ControlSuite, but may result in free-drive space warning errors from the Server Operating System.
Solution:
1. Stop the Cassandra service temporarily.
2. Stop the AppPool service within IIS temporarily.
3. Delete the offending log files (or move to another location) stored in any of the following locations:
a. C:\Program Files\Nuance\Shared Services\Cassandra\bin\daemon
b. C:\ProgramData\Cassandra\data\commitlog\
c. %SystemRoot%\System32\LogFiles\Apache
4. Locate the config file here: C:\ProgramData\Nuance\SecurityFrameworkService\Settings\logging.config
5. Modify the ImmediateFlush parameter as follows:
6. From {"ImmediateFlush": false, "LogLevel": 3} to {"ImmediateFlush": true, "LogLevel": 0}
7. Recycle the Security Framework Application Pool in IIS, and restart the NuanceCassandraDDB service.
Perform the PowerShell commands below - run as Admin:
Restart-WebApppool SecurityFrameworkService
Restart-Service NuanceDDBCassandraService
8. Monitor the issue to ensure it has been resolved.
9. Return the settings in step 6 back to default and recycle the Application again once everything is confirmed as working.
Please clean only the log files with the file extension *.log. Attached are a few sample names of the log files that are created in the mentioned directories and need to be cleaned up.
commons-daemon.2021-04-21.log
nuanceddbcassandraservice-stderr.2021-04-21.log
nuanceddbcassandraservice-stdout.2021-04-21.log
Applies to:
Product | Version |
---|---|
ControlSuite | 1.0 |
ControlSuite | 1.1 |
ControlSuite | 1.2 FP1 |