Showing posts with label sharepoint. Show all posts
Showing posts with label sharepoint. Show all posts

Thursday, January 8, 2015

Sharepoint Server Logs Eating Up Drive Space



Determined there were 7GB of logfiles in :
C:\program files\common files\microsoft shared\web server extensions\14\


Trying to delete/move failed - access denied because files are locked

Found this excellent article by Doug Allen:

http://blogs.c5insight.com/Home/tabid/40/entryid/401/SharePoint-Usage-Logs-Not-Being-Removed-Fixed.aspx

Quick Fix:

On SharePoint Server server - restart SharePoint Timer Service  (services.msc)
Log into SharePoint Central Administration
Go To 'Monitoring'
Go to Timer Jobs - Check Job Status
Find Microsoft SharePoint Foundation Usage Data Import and click on it.
Click 'Run Now'


This should blow out the log files fairly quickly.

Monday, February 6, 2012

Foundation Odyssey Day 5

Day 5 - sql transaction logs

In my previous WSS installation  i ran into a critical issue when the configuration database ldf file grew out of control and ate up all my harddrive space.  Frantic searching to get this beast of a file (6GB) under control yielded the following solution.  I went ahead and did it now instead of waiting for the this problem to catch me off guard.

Use SQL Studio Manager on the sql server to change the following log file setting:

  • Right Click Sharepoint_Config and select properties
  • Click on 'options'
  • Change Recovery Model from 'Full' to 'simple'
  • Select OK
This works well because it will keep that log file in check and not allow it to grow out of control.  This  config database doesn't change a lot after you get the sharepoint farm up and running so simple should suffice if it all goes south one day and you need to recover.

If you did get caught and the log file chewed up all your drive space, do the following:

  • Right Click Sharepoint_Config and select tasks-> Shrink-> Files
  • Change File Type from Data to Log
  • Select OK
  • Depending on the size, it may take a moment to finish


Featured Post

Seasonal Patios

Dunlop St. Barrie, Ontario There's been some discussion about possibly making Red River Road one way in the Entertainment District t...