症状
当您在 Microsoft Exchange Server 2013 中, 执行数据库恢复并试着 1000 多个事务日志文件重播时,Microsoft Exchange 复制服务意外终止。发生此问题时,事件 ID 4399 和事件 ID 4999 记录在应用程序日志中,如下所示︰
Log Name: Application Source: MSExchangeRepl Event ID: 4399 Task Category: Service Level: Error Keywords: Classic User: N/A Description: The Microsoft Exchange Replication service is terminating without collecting a Watson dump. Error The Microsoft Exchange Replication service is using too much memory (2279.62109375 MiB) and will be terminated without collecting a Watson dump. This exceeds the maximum expected value of 2048 MiB. To take a dump along with the Watson report, set registry key 'SOFTWARE\Microsoft\ExchangeServer\v15 \Replay\Parameters\EnableWatsonDumpOnTooMuchMemory' to 1. Default can be overridden by setting registry key SOFTWARE\Microsoft\ExchangeServer\v15\Replay\Parameters\MaximumProcessPrivateMemoryMB. Log Name: Application Source: MSExchange Common Event ID: 4999 Task Category: General Level: Error Keywords: Classic User: N/A Description: Watson report about to be sent for process id: 2524, with parameters: E12, c-RTL-AMD64, 15.00.0620.029, msexchangerepl, unknown, unknown, M.E.C.Replay.ReplayServiceTooMuchMemoryNoDumpException, 0, unknown. ErrorReportingEnabled: True原因
因为复制服务的默认限制为 2 千兆字节 (GB) 的内存,则可能发生此问题。当达到此限制时,进程将终止。
解决方法
若要变通解决此问题,请添加下面的注册表子项,并将指定的值添加到新的子项︰
SOFTWARE\Microsoft\ExchangeServer\v15\Replay\Parameters\
dword 值︰ MaximumProcessPrivateMemoryMB
值︰ 8192 基︰十进制 dword 值︰ MemoryLimitBaseInMB 值︰ 4096 基︰十进制状态
此问题计划在 Exchange 2013 未来累积更新中予以解决。