This article shows you what to do when the Worry-Free Business Security (WFBS) database repeatedly gets corrupted.
To resolve the issue:
- Make sure that the HTTPDB folder is not being backed up by any third party backup software, for this may cause the database to be corrupted. Use the database backup feature of WFBS and point the third party software to back up the backup copy instead.
For the database backup settings, refer to this article: Changing the settings for the database backup of Worry-Free Business Security (WFBS).The weekly database backup during Sundays at 5:00AM is the recommended database backup setting.
- Enable Virus Log Deletion.
- Open the WFBS console.
- Go to Reports > Maintenance.
- Go to the Auto Log Deletion tab.
- Set Delete Logs Older Than to "14 Days" for all Log Types.
- Click Save.
- Enlarge the database cache.
- Go to the ..\Trend Micro\Security Server\PCCSRV folder.
- Open the ofcscan.ini file with a text editor like Notepad.
- Under the [INI_DBFILE_SECTION], look for the "DB_MEM_OPT_MAX" and change the default value "10240(KB)" to 10% of the Security Server's free memory.
Formula:
Free Memory (GB) x 1000MB x 1024KB = Free Memory (KB) x 0.10 (10%)
-------- --------
1GB 1MB
Example: For a Security Server that has a 4GB free memory:
[INI_DBFILE_SECTION]
DB_MEM_OPT_MAX = 409600
- Save the changes.
- Enlarge the command handler's thread number.
- In the ..\Trend Micro\Security Server\PCCSRV\ ofcscan.ini file, look for the [INI_SERVER_SECTION] and add a "Command_Handler_Maxium_Thread_Number" entry.
The "Command_Handler_Maxium_Thread_Number" entry does not exist by default. Depending on the number of CPUs, set the value of this entry to 20 times the number of the Security Server's CPU.
Example: For a Security Server that has 4 CPUs, the value of "Command_Handler_Maxium_Thread_Number" should be 80 (as 4 CPUs x 20 = 80).
[INI_SERVER_SECTION] Command_Handler_Maxium_Thread_Number=80
It is "Maxium" NOT "Maximum". - Save the changes.
- In the ..\Trend Micro\Security Server\PCCSRV\ ofcscan.ini file, look for the [INI_SERVER_SECTION] and add a "Command_Handler_Maxium_Thread_Number" entry.
- Restart the Trend Micro Security Server Master Service.