Data Service log file is big

On a 2008 server there is a log file that has grown to 30gb taking almost all the room on the C drive.

if I go to C:\Program files\Windows Small Business Server\logs\Monitor Service Logs  there is one log file that has grown big.
Its the dataServiceExcecution log. it is 30.4 gb.
Is there a way to shrink this file?
BBraytonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David AtkinTechnical DirectorCommented:
Hello,

You can't shrink the log file but you can replace it.

Stop the Windows SBS Manager Service
Rename the File
Restart the Windows SBS Manager Service

Copy the old file onto another drive.  A new file will be created once the service is restarted.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BBraytonAuthor Commented:
OK thanks I will give that a try
0
BBraytonAuthor Commented:
Since there is no other drive I will have to copy the file to a workstation.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

David AtkinTechnical DirectorCommented:
That will be fine.  

Realistically the log is so large that opening it would be a struggle anyway so its of little use.
0
BBraytonAuthor Commented:
DO you have to create a copy of it or can you just delete it.
0
David AtkinTechnical DirectorCommented:
You can just delete it if you like. We sometimes keep some of the logs for reference but as its so large I wouldn't bother.

Rename the file first, make sure it recreates ok and then delete if you don't need it.
0
BBraytonAuthor Commented:
ok will do
0
BBraytonAuthor Commented:
OK i renamed the data service execution file. restarted the service.
this file is dated 11/18/2014 of last year.
and there are more log files with Data service execution but they are small files.
There is one with today's date. just leave that one alone. I also did a shadow copy before i made any changes.

Do you think it is safe to delete that file?
0
David AtkinTechnical DirectorCommented:
If they are only small files left then I wouldn't bother.  The main logs that get large are IIS, POP and console logs.  

For some additional reason have a read of this regarding how to reclaim disk space in sbs 2008:

http://blogs.technet.com/b/sbs/archive/2010/03/02/recovering-disk-space-on-the-c-drive-in-small-business-server-2008.aspx
0
BBraytonAuthor Commented:
ok the server is running slow right now. I'm on remote but it is slow. Would recreating the file do that?
0
David AtkinTechnical DirectorCommented:
No it shouldn't do. It a log file so it's not actually doing anything.

Check task manager and Ee what process are running high.
0
BBraytonAuthor Commented:
ok i noticed the antivirus has been stuck on a scan. but its hard to even go into services
0
BBraytonAuthor Commented:
File is re-created old file is deleted and everything is running Great. Thanks!!!
0
David AtkinTechnical DirectorCommented:
My pleasure. Glad you're sorted.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.