• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

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.
0
flyingsquirel
Asked:
flyingsquirel
  • 3
  • 2
1 Solution
 
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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
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
 
flyingsquirelAuthor Commented:
Great, thanks.
0
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.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now