![]() ![]() Also note that this one-time process could slow down the computer during the initial compression, so if this is a production server, perform this operation during off-peak hours to prevent service degradation. If the folder already contains a significant amount of data, it could take the computer a while to compress its contents. It is not a final solution, however, because disk usage still grows over time, and could eventually fill up the hard drive. This is a simple way to lower disk usage. The name of the folder and the name of each file should be colored blue, and the size of a compression file should be smaller. Verify that the folder contents are compressed. Click Apply, and then select whether to compress the folder only, or the folder, its subfolders, and its files.Click Compress contents to save disk space, and then click OK.On the General tab of the Properties page, click Advanced.Right-click on the folder and click Properties.Move to the folder containing IIS log files (by default, %SystemDrive%\inetpub\logs\LogFiles).Click the File Manager icon in the icon bar.You must be an administrator to perform this procedure. Enable compression of a log file as follows. IIS log files compress to about 2% of their original size. Preserve memory resources by using centralized binary logging.įor more information, see Configuring Logging in IIS.Create separate logs for Web sites and applications.Limit log size by omitting unneeded property fields.You may also want to do the following to control disk usage: The above mitigations are described in the sections below. Delete old log files by the IIS Log File Cleaner.Fortunately, there are alternatives to doing so, such as the following: To mitigate this problem, many users turn off logging completely. Logs can potentially fill up an entire hard drive. The log files that IIS generates can, over time, consume a large amount of disk space. You can manage the amount of server disk space that Internet Information Services (IIS) log files consume by using compression, remote storage, scripted deletion, and an IIS Log Cleaner Tool. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |