Why does the disk on the server fill up fast?
Last updated
Last updated
This page is prepared for our On-Premise customers. If the disk fills up too fast on our On-Premise servers, you can use this document to check the steps to prevent the problem.
Default RabbitMQ service, IIS Server, SQL Management log mechanisms are active. Therefore, the disk space can be filled up by log files for these services, in which you can increase the recommended disk size or disable the log mechanisms of the services by following the steps below.
The RabbitMQ service log file is stored under the name RABBIT.log under C:\Users\{USER}\AppData/Roaming/RabbitMQ/log/ path.
In the main menu, activate the “Log Rotate” under Advanced Settings> Server Settings menu. After this option is activated, the log file will be cleaned periodically every minute.
If the existing log file is large after the feature is activated, it can be deleted. Contact support@keepnetlabs.com to turn this feature on.
The IIS Server log file is kept under C:\inetpub\logs\LogFiles/ directory by default. If log files take up a lot of space on the disk, you can use one of the following two options.
Open IIS Manager first, then close the logging mechanism of IIS by following the steps below.
You can reduce the size on the disk by compressing the IIS log files approximately 2% of their original size by performing the following step.
You must be an administrator to perform this procedure.
Click on the File Manager icon in the icon bar.
Move to the folder containing IIS log files (by default, C:\inetpub\logs\LogFiles).
Right-click on the folder (LogFiles) and click on Properties.
On the General tab of the Properties page, click on Advanced.
Click on Apply, and then select whether to compress the folder only, or the folder, its subfolders, and its files.
Click on OK. Verify that the folder contents are compressed. The name of the folder and the name of each file should be coloured blue, and the size of a compression file should be smaller.
By default, the SQL Server log type is “Full” ve and the log files are stored in the C:\Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ directory. SQL backup files are stored in the C:\Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\BACKUP\ directory.
SQL Server Management application is used for login with authorised user information. You can find the database user information by contacting support@keepnetlabs.com
Then, right-click on Databases > PhishingLabs database and then click on Properties. In the Select a page section, click on Options. Here you can modify the “Full” option as “Simple” and then save the settings.
Then right-click on the PhishingLabs database and select New Query. You can shrink existing log files using the following command.
Please use the command below with Copy & Paste
DBCC SHRINKFILE (PhishingLabs_log, 1)
After the operations above, look at the C: disk again and check if you have enough disk space. Full Disk will be emptied and the disk will not fill up quickly.
Click on Compress contents to save disk space, and then click on OK.