?
Solved

Clearing up diskspace for my fast growing SharePoint

Posted on 2014-02-18
3
Medium Priority
?
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
skipper68 earned 2000 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 2000 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

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…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

801 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