Setup: Hyper-V 2012 R2 host, primary guest is TFS single server installation w/ SharePoint (includes SQL for TFS ops)

The SharePoint install is used solely to support TFS operations for a very small development effort. The single server setup has been working terrifically for some time. This server is used for nothing other than TFS and TFS supporting SharePoint operations.

The problem is that the server VHD filled up, which I'm guessing is a straightforward issue of saving logs from one or all of the following:

Server OS, TFS, SharePoint

I am posting on other stack exchanges regarding the server OS and TFS, but posting this with regards to SharePoint. I was able to easily expand the VHD size, but I suspect the problem will return again. I'd like to fix the underlying cause.

Do I have to set parameters to keep SharePoint from over running the disk space with logs, or is SharePoint likely innocent of the disk usage problem I am experiencing? I have full access to SharePoint setup.

有帮助吗?

解决方案

SharePoint has no limit on logs' total size by default, but limits lifetime (in days). See https://technet.microsoft.com/en-us/library/ee748656.aspx

I usually use WinDirStat to find out those problematic folders. The tool is free.

enter image description here

其他提示

We have the SharePoint logs set to go to external storage, as well as to automatically delete after a certain number of days to avoid the situation you're describing.

Is the server also running SQL? If so, check to ensure that either the sql logs are being backed up properly or just switch it over to simple recovery mode. I've seen many SQL servers supporting sharepoint that are set to full recovery mode where the log file is many times the size of the database.

Otherwise, follow Erin's advice and check on the SharePoint log settings.

许可以下: CC-BY-SA归因
scroll top