[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Clearing up diskspace for my fast growing SharePoint

Hi Experts,

My SharePoint server diskusage is eating a lot of diskspace. I've daily jobs to clear the logs but the usage is averaging 1GB/day. To date, the total disk usage is 1.8TB.

I need a better way to control the diskusage. Can someone advise on how to best carry out a one time clean up and also going forward, how to control the increase?

rgds,
Nickson
0
NicksonKoh
Asked:
NicksonKoh
  • 2
2 Solutions
 
skipper68Commented:
You can go to central admin, and decrease the # of days to store the log files.

In central admin, go to monitoring
Go to reporting\Configure diagnostic logging.
In the Trace Log section, in the Number of days to store log files box, type in a smaller number
Go to 14\Logs and delete all the files in there. Don’t delete the “LOGS” directory.

You can also change the logging levels.  Here are good articles for reference.
http://technet.microsoft.com/en-us/library/ee748656.aspx
http://blogs.msdn.com/b/manhar/archive/2012/04/17/how-to-reduce-the-size-of-logging-database-or-how-to-purge-the-old-data-from-logging-database.aspx
0
 
NicksonKohAuthor Commented:
Hi skipper,

Thx for the suggestion. I am already deleting the logs on a daily basis but I would like to know what is contributing to this daily amount of data increases in SharePoint which has only about 200 potentail users but data volume is increasing at 1GB/day???
0
 
skipper68Commented:
You may have verbose logging on which logs EVERYTHING and doesn't eliminate duplicates (Flooding protection).  You can set all of the logging levels back to their defaults by using this command.
Clear-SPLogLevel

Then enable the flood protection to prevent duplicate logging entries
Set-SPDiagnosticConfig -EventLogFloodProtectionEnabled


See how that works for an hour.  If it's still generating a lot of log entries, try setting the logs to "None" to see what happens.  
Set-SPLogLevel -TraceSeverity None -EventSeverity None

Then incrementally change it until you get to a comfortable logging level.
-TraceSeverity {None | Unexpected | Monitorable | Medium | High | Verbose}
-EventSeverity {None | Information | Warning | Error | Critical}
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now