在我们的 BizTalk 环境中,我们有特定的主机用于处理、接收和发送。几天前,我们在事件日志中看到了以下信息消息。
The following BizTalk host instance has initialized successfully.
BizTalk host name: SendHost
Windows service name: BTSSvc$SendHost
此消息从凌晨 1:04:41 开始出现,大约每分钟出现一次,直到当晚晚上 10:01:05。似乎每次主机初始化时,排队发送的所有内容都会开始发送。因此,每一分钟,似乎都在尝试发送相同的数据——因为我们所有各种接口的事件日志中几乎都有相同数量的错误消息。
我想知道什么会导致发送主机每分钟重新初始化一次,如果再次发生,如何找出导致它的原因。有没有人见过这种行为?如果是这样,您是如何解决的?
** 编辑 **
在凌晨 1:00:24,应用程序日志中记录了以下错误
Application: BTSNTSvc.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.CallbackException
Stack:
at System.Runtime.AsyncResult.Complete(Boolean)
at System.Runtime.AsyncResult.Complete(Boolean, System.Exception)
at System.ServiceModel.Channels.ConnectionStream+IOAsyncResult.OnAsyncIOComplete(System.Object)
at System.ServiceModel.Channels.SocketConnection.FinishRead()
at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(System.Object, System.Net.Sockets.SocketAsyncEventArgs)
at System.ServiceModel.Channels.SocketConnection.OnReceiveAsyncCompleted(System.Object, System.Net.Sockets.SocketAsyncEventArgs)
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(System.Net.Sockets.SocketAsyncEventArgs)
at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(System.Net.Sockets.SocketError, Int32, System.Net.Sockets.SocketFlags)
at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
然后在凌晨 1:00:24 记录了以下错误
Faulting application name: BTSNTSvc.exe, version: 3.11.158.0, time stamp: 0x538aea40
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16864, time stamp: 0x531d2be6
Exception code: 0xe0434352
Fault offset: 0x00010f22
Faulting process id: 0x1f0c
Faulting application start time: 0x01d0603d63ff5bbe
Faulting application path: C:\Program Files (x86)\Microsoft BizTalk Server 2013\BTSNTSvc.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: fd2a4f01-d2c4-11e4-9411-005056b5474a
Faulting package full name:
Faulting package-relative application ID:
然后在凌晨 1:03:39 记录了以下信息事件:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: btsntsvc.exe
P2: 3.11.158.0
P3: 538aea40
P4: System.ServiceModel
P5: 4.0.30319.34230
P6: 53be5c02
P7: c6
P8: 152
P9: I0SHPZEWVQV4P1UJY40X15MQTHF34RR5
P10:
Attached files:
C:\Users\svc_BTSHost\AppData\Local\Temp\WER5EA7.tmp.appcompat.txt
C:\Users\svc_BTSHost\AppData\Local\Temp\WERA73C.tmp.WERInternalMetadata.xml
C:\Users\svc_BTSHost\AppData\Local\Temp\WERA75C.tmp.hdmp
C:\Users\svc_BTSHost\AppData\Local\Temp\WER3885.tmp.mdmp
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue \AppCrash_btsntsvc.exe_8592b3518472b55b77d4f91bb554882409312a0_cab_3c0d3d42
Analysis symbol:
Rechecking for solution: 0
Report Id: fd2a4f01-d2c4-11e4-9411-005056b5474a
Report Status: 4
记录的下一个事件是在上午 1:04:41 - 主机初始化成功。
上述两个错误事件和信息事件发生在接下来的 21 小时内 SendHost 被初始化事件之前