Memory leak in beremote.exe April 23, 2008
Posted by beblues in backup exec agent, bugs, encryption.Tags: bugs, encryption, memory leaks, remote agent
3 comments
I’ve stumbled across a problem with the Backup Exec remote agent. Under a certain set of circumstances, the agent will consume a huge amount of virutal memory and never release it unless it is restarted.
This affects Backup Exec 11d rev 7170.0 with no hotfixes or service packs and with service pack 2 with all current hotfixes (as of 21st April, 2008). So, I assume all minor versions between the base and the latest are affected.
The problem relates to a remote server – namely a server with a remote agent that is running on a Windows 2003 R2 Server 64bit with service pack 2. Also installed on this server is Exchange Server 2007 with service pack 1. The version of the agent is 7170.0 – the latest version at the time of writing this post.
There’s one more thing. The backup is being encrypted. When I disable the encryption the problem doesn’t reoccur. So it must have something to do with that.
In one case I saw the process beremote.exe holding 1.5GB of virtual memory, even though there wasn’t a backup running. Of course, this takes resources away from the system and services like the Exchange 2007 Information Store gets a wee bit upset about this.
In another example, with the same setup (Windows R2 sp2 with Ex2k7 with SP1), beremote was consuming 6.8GB of virtual memory. See image below.
So, what to do? Well here’s a technote from Symantec: http://seer.entsupport.symantec.com/docs/289695.htm
Here’s an extract from the article:
Details:
Each time a GRT backup of an Exchange server is performed, the memory used by the Backup Exec Remote Agent for Windows Servers ( RAWS ) process, beremote.exe, may increase. In this situation, the memory used by beremote.exe does not drop back down after backup but continues to rise with each mailbox backup performed.
Note, I have other systems set up in a similar way that are not affected by this problem. The only difference is that in these cases the backups are not being encrypted.
Symantec don’t offer a fix for this problem at the moment, just a workaround. The workaround is to restart the backup exec agent. This could be done via a scheduled task calling a batch file. Basically, the offered solution is a fudge, not a fix.
It is, however, very important to encrypt your backups, so turning encryption off is not the solution either – this just avoids the problem.
I don’t know if Backup Exec v12 is affected by this issue. I’ve not done enough testing in this version yet.
Symantec Tech Support can only offer the fudge and there’s no hint of a fix being released.
For now, the only way forward is to restart the agent when you’re sure the backup process is not in use. So here’s an idea, as an interim solution. Configure the backup job so that it runs a batch file that will restart the backup agent service. To do this, under Job Settings | Pre/Post commands, call a batch file that restarts the remote agent on the remote server. Tip, use the ‘SC.EXE’ command in the batch file. Details on the command are here. Here’s an example of the command in full:
sc \\REMOTE_SERV stop BackupExecAgentAccelerator & timeout /T 30 && sc \\REMOTE_SERV start BackupExecAgentAccelerator
(there’s no carriage return within the command, only at the end)
In the example above, change ‘REMOTE_SERV’ with the name of your remote server that is affected by this problem. Note, the ‘/T 30′ part of the command relates to the timeout required between sending the stop command and sending the start command. 30 seconds seems to work okay for me. You may want to increase this timeout if the service doesn’t start (because it hasn’t yet finished the stop command).
Hope this helps. Let me know if you’ve come across this problem.
BEBlue
Backup failure for Exchange 2007 with ‘Enable restore of indiviudal messages’ enabled. March 3, 2008
Posted by beblues in Failures.Tags: backup exec 11d, exchange 2007, failure
5 comments
This applies to backups of Exchange 2007 databases when the option: ’Enable the restore of indiviudal mail messages turned [...]‘ is turned on. See image.
The error is:
Job ended: Friday, Febuary 29, 2008 at 23:12:21 PM
Completed status: Failed
Final error: 0xe0001207 – To support individual mailbox message and folder restores from Information Store backups, you must download and install the Microsoft Exchange Server MAPI Client and Collaboration Data Objects package version 06.05.7888 or later on the Exchange 2007 server. This package can be found on the Microsoft web site.
Final error category: Resource ErrorsFor additional information regarding this error refer to link V-79-57344-4615
The link provided doesn’t take you the download page for the ‘MAPI Client and Collaboration Data Objects 1.2.1 package’.
However, here it is:
This is for version ‘06.05.7974′ which is newer than the version suggested in the Symantec support page. Still, it’s fine to use this version.
After installation you’ll be asked to restart the server – this is required (I tried to get away with doing a restart but it still failed).
BEBlue
Massive files out of the blue June 29, 2007
Posted by beblues in Backup to Disk.add a comment
For a long time I’ve been maintaining a backup to disk to tape system without any significant issues. I configured the backup to disk folder to create files no greater than 2GB. I did this for several reasons, specifically to manage fragmentation and for the ease of deletion/moving of files. Further, because I have a finite amount of disk space (2TB), I need to be able to predict how much space is required for backup data so that I can set media overwrite protection accordingly. However, for no reason that I can yet understand, Backup Exec 11d is now ignoring the 2GB setting and is creating a single BKF file. These files are can grow to approximately 270GB in size. As you can imagine files this large are very difficult to manage and the fragmentation of them is very high thereby reducing performance.
Time to give Symantec technical support a call to ask them if they understand what is going on. Update to follow…
BEBlue
UPDATE:
Symantec Technical support could not offer an explanation for this issue. Their suggestion is to recreate the folders and start again. They also said that this is the first time they’ve seen this problem.
So, I’m forced into recreating a B2D folder with the hope that this won’t happen again. However, I will be monitoring this very closley and if this issue occurs again I’ll be straight on that phone to Symantec demanding a fix.
BEBlue
Backup Exec Blues – Hello April 23, 2007
Posted by beblues in Site Admin.add a comment
Hello World,
After many years of using Backup Exec (formerly Veritas, now Symantec) I’ve got the blues. I can no longer be quiet about my frustrations and so I’ve decided to share my anguish and pain with the rest of the world. As I wrestle with the product and get it to behave the way I want it to I will share my experience with you. If you are a user of Backup Exec (version 9 through to 11d) then you and I have something in common. Let’s face it, system backups are not the most interesting task in the world but they are a necessity. One should be able to sleep easy at night secure in the knowledge that the system backups are operating efficiently and correctly. There is nothing more horrid than the moment when you need to restore critical data only to find that your backups are not good.
At little about me:
I’m a consultant for a network/systems security company in the UK. I’ve been in the industry for about 12 years. I started at the bottom and worked my way up to where I am now through hard work and many long hours. My specialties are designing and implementing Microsoft Active Directory (before that, NT) and MS Exchange systems, networking and firewalling, messaging system and data protection. I’m also into Disaster Prevention and Recovery.
Right at this moment I’m implementing and managing backups systems for lots of customers. Each have similar requirements, and each have similar issues. Backup Exec should meet these requirements and solve these issues. I’ll begin posting my issues very shortly.
BEBlue

