Windows server logs are huge HELP

Hi,
I have windows Server 2008 with a bunch of DotNetNuke sites usinf iis7 and SQL server. I found that the total file size per site was getting huge. I know the site files are only 100MB on each site then found that the Log file for each was 300MB+
What is the purpose of the C:\inetpub\vhosts\sitename\statistics\logs\W3SVCxx\file.txt Files and how can I optimize it so it is not this large? It is bloating the server to the point I have to shut it down.
LVL 4
flyingsquirelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

jonaskaCommented:
Enable NTFS Compression for the logs folder. The log files are very repetitive and are extremly good candidates for compression.
0
ErikVBCommented:
also have a look at this product to manage your log files: http://www.iislogs.com/
0
ErikVBCommented:
btw.. large log files mean that your site is successful (ie. lots of hits...). Congratulations!. One thing you might want to look into though, is if your site is not being inundated by a wrongly configured search crawler, or some kind of DoS attack...

Smatertools have a very good log analyzer package called SmarterStats, this will allow you to gain better insight in what is really going on with your site.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

flyingsquirelAuthor Commented:
Can you run a cleaner or something? How do you enable NTFS compression?

Thanks for the comments though
0
ErikVBCommented:
if you don't need the logs anymore, you can just delete them. Usually though, depending on the specific law in your country, you might be required to keep logs for internet facing applications for a minimal amount of time.

info on how to turn on NTFS compression: http://support.microsoft.com/kb/251186

i would not use NTFS compression on a production server, since it is processor intensive. The product from iislogs.com allows you to compress and move individual logfiles using a schedule.
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
flyingsquirelAuthor Commented:
Great, thanks.
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
Microsoft SQL Server 2008

From novice to tech pro — start learning today.