0

I've got an Exchange 2007 server running and have had no issues since it's installation, until now.

There are about 80 Email accounts and the server has a 500GB Hard drive, with about 12GB of free space.

We are now not receiving any emails, they are sitting on our web server in a queue and the Exchange server event viewer is saying Insufficient system resources (Event Viewer error 15006), I've done a search and found this post.

I've not currently got the ability to change the location of the logs, so I thought it might be possible to clear the log instead? - However, I can't find any details on this.

I have however, disabled 'Back Pressure' but we are still not receiving emails.

Does anyone have any suggestions?

MikeT505
  • 431
  • 3
  • 8
  • 22
  • any other errors in the event log? – Jim B Aug 03 '10 at 14:57
  • What version of Exchange? – DanBig Aug 03 '10 at 16:43
  • No other errors referring to Exchange. It's sat on an SBS 2008 box. It's version 2007. – MikeT505 Aug 03 '10 at 16:59
  • @Mike, Standard or Enterprise? How big is the current mail store database? – DanBig Aug 03 '10 at 17:07
  • @Dan How do I view the mail store database? This is where I'm a little stuck. It's the standard version that comes with SBS 2008. Cheers – MikeT505 Aug 03 '10 at 17:10
  • 1
    If you open the Exchange Management Console, expand Server Configuration on the left, then Mailbox. In the bottom of the main window, it will show you your storage groups. Note the path and browse to it. The .edb file is what you are looking for. – DanBig Aug 03 '10 at 17:16
  • Also, are all Exchange services running? – DanBig Aug 03 '10 at 17:17
  • Great found it! It's currently at 927,760KB in size. Yes all Exchange services are running. – MikeT505 Aug 03 '10 at 17:20
  • Look for your queue, it will be at c:\PF\Microsoft\Exchange Server\TransportRoles\data\queue Are you running all your exchange services from one machine? You mention mail sitting on a web server, is this the same box? – DanBig Aug 03 '10 at 17:27
  • No we have a backup MX server, so if our main mail server falls down or the internet connection fails, we still have a copy. - So no it's on a separate box. – MikeT505 Aug 03 '10 at 17:29
  • Check the free space on the location of the queue. – DanBig Aug 03 '10 at 17:39
  • The Mail queue is 18,448kb in size. And there is 12GB space available on that drive. Cheers – MikeT505 Aug 03 '10 at 17:41
  • Any other suggestions? :-) – MikeT505 Aug 04 '10 at 08:21

2 Answers2

1

Alleviate your free disk space problem and your email reception problem will go away. Anything else is just going to set you up for an even bigger mess when you completely fill the disks on the server computer.

Are you doing online backups of Exchange? I have a sneaking suspicion that you're not, and you're building up Information Store database transaction logs. If you don't know where to look, open the "Exchange Management Shell" and (assuming you left your mailbox store in the default "First Storage Group"): get-storagegroup "First Storage Group" | format-table -Property LogFolderPath

You should only have ".LOG" files in that directory back to your last full online backup. If you're seeing a large number of ".LOG" files in that directory and, particularly if they're old, then you're probably not performing full online backups.

The "right solution" to that problem is to perform an online full backup. Anything else (switching the database logging mode to circular, performing a rebuild on the information store databases, etc) is a "hack" and isn't solving the problem in the way that Microsoft recommends.

Edit:

Your WSUS directory is awfully big, but depending on the products and languages you have selected it's perfectly possible that it would be that big.

It sounds, to me, like you just need more disk. I'm assuming the rest of your space usage on the disk is in shared folders / files. Is there something there you can remove / relocate temporarily?

You could move the queue database to another disk. You say you've disabled back pressure, but you're still not receiving email. Double-check your procedure to disable back pressure and see that you really have disabled it and restarted the Transport service.

Evan Anderson
  • 141,881
  • 20
  • 196
  • 331
  • Hey - No we're not doing online backups, we're using the SBS 2008 backup system to backup to an external hard drive. - So surely this would clear the logs? – MikeT505 Aug 05 '10 at 17:44
  • The built-in backup in Windows Small Business Server 2008 is supposed to be Exchange-aware. So, are you seeing buildup of transaction log files, then? If so, then you may have a problem with the Exchange-aware VSS writer. – Evan Anderson Aug 05 '10 at 18:41
  • Hi Evan - No nothing unusual, nothing in Event viewer mentioning backup issues - Any suggest as to how I could locate them? – MikeT505 Aug 05 '10 at 21:44
  • @MikeT505: Just so I'm clear, though, you have determined that transaction log files building up *is* the cause of your low disk space condition? – Evan Anderson Aug 05 '10 at 21:55
  • Hi Evan - Yes I've determined that is the likely cause, there are about 75 'E0000006AB3' type files in the 'First Storage Group' folder, also inside there is a Catalog-data folder and the Mailbox Database.edb folder. It's an SBS 2008 system, so we're using the built in backup tool. So surely that should be deleting the transaction logs, is manually deleting them a bad idea? – MikeT505 Aug 05 '10 at 22:09
  • @MikeT505: Don't attempt to delete these files manually-- you'll be sorry you did. Only 75 files, though? Those log files should be only be 1MB apiece. That sounds to me like your transaction log files are being flushed by the backup properly and your disk usage is somewhere else. The Treesize Free utility that rihatum recommends is a great tool to visualize where your space usage is happening. I'd recommend you run that tool and see where your disk space is getting hogged. – Evan Anderson Aug 05 '10 at 22:24
  • @Evan - Thanks good idea. It turns out WSUS is hogging 65GB - Do you think this it's what causing Exchange to worry about disk space and prevent mail submission? – MikeT505 Aug 05 '10 at 22:42
  • 1
    @MikeT505: You didn't post the exact error you're seeing in the event log, but it's likely low free disk space is the culprit if your error is similar the bit.ly link. You're over 90% allocated on disk! I'd run the WSUS Server Cleanup Wizard (http://technet.microsoft.com/en-us/library/cc708578(WS.10).aspx) and see what space that gets back. IIS log files are another culprit disk space usage on SBS machines http://blogs.technet.com/b/sbs/archive/2008/02/28/reclaiming-disk-space-lost-to-iis-logs-on-sbs-2003.aspx) so have a look there, too. It sounds like you may just need more disk. – Evan Anderson Aug 05 '10 at 22:50
  • Hi Evan - Thanks for your help. Yes I'm running a Cleanup on the WSUS server, it's got 65GB it's the biggest directory according to Treesize, so I hope when it's finished (Been running for 8 hours) It will delete a large amount of that and Emails will automatically start to flow in!? - I also checked IIS there are a few logs in there about 600mb - so I'm not going to worry about this too much. Cheers :-) – MikeT505 Aug 06 '10 at 08:43
  • @Evan Anderson - Not much luck there, it has cleaned about 3GB from WSUS after completing, but there is still 59GB WSUS is taking up. Any suggestions on how to clear that? - Cheers, Mike – MikeT505 Aug 06 '10 at 12:04
  • @MikeT505: I dropped on an edit. – Evan Anderson Aug 06 '10 at 16:31
0

https://www.jam-software.de/customers/downloadTrial.php?article_no=80&language=EN&PHPSESSID=1f31a91f79d156a177fcbe2dd7110e71

http://www.jam-software.com/treesize/

Download the above utility on your server and run it, this will help you in getting rid of files in directories you may not know.

If you are running a backup application to backup Exchange, make sure it is truncating logs (backup app should be exchange aware) - if not, then download a trial of Backup Exec System Recovery 2010 (it is exchange aware, flushes logs, does baremetal restores etc

http://www.symantec.com/business/backup-exec-system-recovery-server-edition

Mutahir
  • 2,357
  • 2
  • 32
  • 42