Why does the disk on the server fill up fast?

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.

1. RabbitMQ Service Logging

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.

2. IIS Server Logging

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.

A. Disable IIS Server Logging

Open IIS Manager first, then close the logging mechanism of IIS by following the steps below.

B. Enable Folder Compress

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.

3. SQL Management Logging

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 [email protected]

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.

DBCC SHRINKFILE (PhishingLabs_log, 1)

Last updated