Solved

Clearing up diskspace for my fast growing SharePoint

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
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
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 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