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 ...)