Solved

Slowly running out of room on our Windows 2000 Server

Posted on 2004-08-24
16
247 Views
Last Modified: 2010-04-03
Hi all. We are slowly running out of room on the system (root) partition on one of our servers. Yesterday we had about 450mb's of free space on our system partition, but today we have only 415. This server handles SQL, Exchange, and is our DC.

I scanned for viruses and trojans using two different virus scanners, but found nothing. Our Exchange database is on another partition. SQL databases are also stored on another partition. My only good guess is that we're logging too much and that log files are clogging our hard drive. I cleaned some logs out not too long ago, but the space gained by deleting those files didn't last long.

This slow but steady loss of free space will bring this server to its knees very shortly if I don't do something about this.

If it is log files, where do I go to delete the ones we don't need (I can decide how far back we need log files to go if I just know where to find all of them). Also, I already tried deleting all .tmp files, but that only produced a gain of 2mb. What am I missing here?
0
Comment
Question by:mckeough
[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
  • 9
  • 6
16 Comments
 
LVL 15

Accepted Solution

by:
Yan_west earned 500 total points
ID: 11883132
1st, if your exchange is running on your C drive, be sure to delete your badmail directory ( \exchsvr\mailroob\svc 1\badmail)
Then, delete your smtp Log up to the date you want.. it'S under winnt\system32\logfiles\smtpsvc1..

This should clear you alot of space..
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11883166
Also, be sure that you have an exchange aware backup that is running to remove the exchange transaction log..  under \exchsvr\mdbdata.. these are supposed to get removed automaticly by your backup. Do not delete them by yourself. If they stay there. you will eventually have a problem.

Exchange aware backup = arcserve/Backup exec with Exchange agent running on the exchange server.
0
 

Author Comment

by:mckeough
ID: 11883259
Should I delete the Badmail folder, or just the contents? There is quite a bit in there by the way. I think that's the problem. I'll double-check my backups, but I'm pretty sure Veritas is behaving itself.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 15

Expert Comment

by:Yan_west
ID: 11883268
Delete just the content.. the folder has to stay there.. but it is safe to delete it.
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11883273
(safe to delete the content :) )
0
 

Author Comment

by:mckeough
ID: 11883277
OK. Thanks.
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11883288
BTW, my badmail folder eats up 200 Megs/week..
0
 

Author Comment

by:mckeough
ID: 11883328
OK. Yeah, mine is about 253 megs right now with about 43,500 items in there. I think you hit the jackpot. Is there a way to automatically clear this folder out?

Also, any other log files I should keep an eye on?
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11883343
You can make a batch file that delete the content of this specific folder, and add it in the task scheduler, and run it once/day..
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11883354
I would delete the smtp logs too.. I keep 6 months, but it's up to you to decide how long you wanna keep. It depends on your organisation policy.
0
 

Author Comment

by:mckeough
ID: 11883453
By the way, what exactly is the badmail folder? Is it where all undeliverable mail goes or something like that?

I'll give you another 250 points if you can tell me how to make that batch file, or point me to a website that will tell me how.

0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11884085
Ok, here we go.. the badmail folder is all undeliverable mail that end up in your exchange server.. this mail was sent to
a- Non existant people
b- old address that arent in your organisation anymore (old employees, etc...)

Sometimes, spam servers send email to random addresses for a domain, so it will try sending something to jack@yourdomain.com even if it doesnt exist..

to create  a batch file:

Type this into notepad

del c:\<insert badmail directory>\*.* /q
exit

and save it as badmail.bat anywhere on your system.

then, go to start - settings - control pannel, and click on scheduled task. click on add scheduled task

it should start a wizard, click next. when it ask for a program, click browse, and go and get your badmail.bat batchfile. click next.
click on "perform this task daily", click next. set the start time, and click on perform this task every day, and set start date. Click next. Then enter your username credentials.. (so that it can run the batch file even if you are not logued in).

Then click finish.

0
 

Author Comment

by:mckeough
ID: 11884217
Sweet. Thanks!
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 11884225
your welcome, don't forget your additional 250 pts :)
0
 

Expert Comment

by:NicIT7
ID: 11888105
Just a quick one, make sure your pagefiler is refreshing, not just adding and adding.
0
 

Author Comment

by:mckeough
ID: 11891503
I have it set at 1.5 gigs. Good point though, that was one of the first things I looked at. Thanks for your comment! :-)
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses

710 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