NServiceBus.Host.exe
我们正在使用主机进程运行基于 NServiceBus 的服务。
在过去的几个月里,Windows 服务在生产中两次突然停止,在应用程序事件日志中留下以下事件:
应用程序:NServiceBus.Host.exe 框架版本:v4.0.30319 描述:进程因未处理的异常而终止。异常信息: System.InvalidOperationException 堆栈:在 System.Transactions.Transactions.Phase0VolatileDemultiplexer.InternalPrepare() 的 System.Transactions.TransactionState.ChangeStatePromotedPhase0(System.Transactions.InternalTransaction) 在 System.Transactions.VolatileDemultiplexer.PoolablePrepare(System.Object) 在 System.Transactions .Oletx.OletxVolatileEnlistment.Prepare(System.Transactions.Oletx.OletxVolatileEnlistmentContainer) 在 System.Transactions.Oletx.OletxPhase0VolatileEnlistmentContainer.Phase0Request(Boolean) 在 System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(System.Object, Boolean) 在 System.Threading。 _ThreadPoolWaitOrTimerCallback。
我们在几分钟的网络不稳定期间收到此错误(例如,对数据库的大量超时,这在我们的 log4net 日志文件中可见)
关于这里失败的任何想法?
我们在 log4net 日志文件中没有看到致命错误。
版本:
- 视窗服务器 2008 R2
- .NET 框架 4.5.2
- NServiceBus 4.7.5
- NHibernate 3.3.3.4001(用于 saga、订阅和超时持久化)
- SQL Server 2012