Solved

Clearing up diskspace for my fast growing SharePoint

Posted on 2014-02-18
3
252 Views
Last Modified: 2014-03-03
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
Comment
Question by:NicksonKoh
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
skipper68 earned 500 total points
ID: 39869312
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
 
LVL 17

Author Comment

by:NicksonKoh
ID: 39869588
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
 
LVL 9

Assisted Solution

by:skipper68
skipper68 earned 500 total points
ID: 39870196
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question