Solved

Clearing up diskspace for my fast growing SharePoint

Posted on 2014-02-18
3
250 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now