Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Slowly running out of room on our Windows 2000 Server

Posted on 2004-08-24
16
Medium Priority
?
250 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 2000 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

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
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…
Suggested Courses

721 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