IIS log causes the disk to be full. iis log Disk

Source: Internet
Author: User

IIS log causes the disk to be full. iis log Disk

 

 

Only IIS is deployed on a server, and the application directory is on disk D. The size of disk C (97.5 GB) is full.

Display All system files and hidden files, and select all the C drive files and folders to view the capacity of only 19 GB.

Since only IIS is deployed, it is naturally suspected that IIS logs are going up. Sure enough, the IIS log is under drive C.

The size of the inetpub directory is only 3 MB.

The following logs directory is even 0 bytes:

Double-click to go to the page. You need to obtain the permission!

Permissions are also required for sub-directories:

Now let's take a look at the capacity of inetpub: 36.7gb...

The next step is... Delete, delete, and delete!

The strange thing is that after deletion, the C disk is still 16.7gb..do I have a problem with arithmetic? 97.5-36.7 = 16.7 ?? (What's more, I have left a small number of logs not deleted ...)

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.