Slowly running out of room on our Windows 2000 Server

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?
mckeoughAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Yan_westConnect With a Mentor Commented:
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
 
Yan_westCommented:
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
 
mckeoughAuthor Commented:
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Yan_westCommented:
Delete just the content.. the folder has to stay there.. but it is safe to delete it.
0
 
Yan_westCommented:
(safe to delete the content :) )
0
 
mckeoughAuthor Commented:
OK. Thanks.
0
 
Yan_westCommented:
BTW, my badmail folder eats up 200 Megs/week..
0
 
mckeoughAuthor Commented:
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
 
Yan_westCommented:
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
 
Yan_westCommented:
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
 
mckeoughAuthor Commented:
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
 
Yan_westCommented:
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
 
mckeoughAuthor Commented:
Sweet. Thanks!
0
 
Yan_westCommented:
your welcome, don't forget your additional 250 pts :)
0
 
NicIT7Commented:
Just a quick one, make sure your pagefiler is refreshing, not just adding and adding.
0
 
mckeoughAuthor Commented:
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
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.

All Courses

From novice to tech pro — start learning today.