Wcf 由于线程退出或应用程序请求,I/O操作已中止

Wcf 由于线程退出或应用程序请求,I/O操作已中止,wcf,Wcf,我正在一个高流量网站上运行一些WCF net.tcp服务。 在我当地的环境中,一切都如期进行。 在生产环境中,网站工作几分钟,然后服务抛出异常。 当我停止并再次启动服务网站时,它会再次运行几分钟 详情如下: 传输数据时发生TCP错误(995:由于线程退出或应用程序请求,I/O操作已中止)。 System.ServiceModel.Channels.SocketConnection.EndRead() System.ServiceModel.Channels.TracingConnection.E

我正在一个高流量网站上运行一些WCF net.tcp服务。 在我当地的环境中,一切都如期进行。 在生产环境中,网站工作几分钟,然后服务抛出异常。 当我停止并再次启动服务网站时,它会再次运行几分钟

详情如下:

传输数据时发生TCP错误(995:由于线程退出或应用程序请求,I/O操作已中止)。

System.ServiceModel.Channels.SocketConnection.EndRead() System.ServiceModel.Channels.TracingConnection.EndRead() System.ServiceModel.Channel.ConnectionStream.ReadAsyncResult.OnAsyncReadComplete(对象状态) System.ServiceModel.Channels.TracingConnection.TracingConnectionState.ExecuteCallback() System.ServiceModel.Channel.SocketConnection.AsyncReadCallback(布尔haveResult,Int32错误,Int32字节读取) System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32错误,UInt32字节读取,NativeOverlapped*NativeOverlapped) System.Threading.\u IOCompletionCallback.PerformiCompletionCallback(UInt32错误代码,UInt32字节,本机重叠*pOVERLAP)


由于线程退出或应用程序请求,I/O操作已中止

我在Win8kR2SP1Web上看到了相同的问题:

System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been     aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
An error occurred while communicating with the remote host. The error code is 0x800703E3.
The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)

at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect) 
at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size) 
at System.Web.HttpRequest.GetEntireRawContent() 
at System.Web.HttpRequest.FillInFormCollection() 
at System.Web.HttpRequest.get_Form() 
at System.Web.Mvc.HttpRequestExtensions.GetHttpMethodOverride(HttpRequestBase request) 
at System.Web.Mvc.AcceptVerbsAttribute.IsValidForRequest(ControllerContext controllerContext, MethodInfo methodInfo) 
at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate) 
at System.Web.Mvc.ActionMethodSelector.RunSelectionFilters(ControllerContext controllerContext, List`1 methodInfos) 
at System.Web.Mvc.ReflectedControllerDescriptor.FindAction(ControllerContext controllerContext, String actionName) 
at System.Web.Mvc.ControllerActionInvoker.FindAction(ControllerContext controllerContext, ControllerDescriptor controllerDescriptor, String actionName) 
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) 
at System.Web.Mvc.Controller.ExecuteCore() 
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) 
at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5() 
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0() 
at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d() 
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionSt ep.Execute() 
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
System.Runtime.InteropServices.COMException(0x800703E3):由于线程退出或应用程序请求,I/O操作已中止。(HRESULT的异常:0x800703E3)
与远程主机通信时出错。错误代码为0x800703E3。
由于线程退出或应用程序请求,I/O操作已中止。(HRESULT的异常:0x800703E3)
在System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32结果,布尔值)
位于System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(字节[]缓冲区,Int32偏移量,Int32大小)
在System.Web.HttpRequest.GetEntireRawContent()中
在System.Web.HttpRequest.FillInFormCollection()上
在System.Web.HttpRequest.get_Form()上
位于System.Web.Mvc.HttpRequestExtensions.gethttpmethodverride(HttpRequestBase请求)
位于System.Web.Mvc.AcceptVerbsAttribute.IsValidForRequest(ControllerContext ControllerContext,MethodInfo MethodInfo)
at System.Linq.Enumerable.All[TSource](IEnumerable`1源,Func`2谓词)
在System.Web.Mvc.ActionMethodSelector.RunSelectionFilters(ControllerContext ControllerContext,列出'1 methodInfos')上
位于System.Web.Mvc.ReflectedControllerDescriptor.FindAction(ControllerContext ControllerContext,String actionName)
位于System.Web.Mvc.ControllerActionInvoker.FindAction(ControllerContext ControllerContext,ControllerDescriptor ControllerDescriptor,String actionName)
位于System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext ControllerContext,String actionName)
在System.Web.Mvc.Controller.ExecuteCore()上
在System.Web.Mvc.ControllerBase.Execute(RequestContext-RequestContext)中
在System.Web.Mvc.MvcHandler.c_uuudisplayClass6.c_uudisplayClassB.b_uu5()中
在System.Web.Mvc.Async.AsyncResultRapper.c__DisplayClass1.b__0()中
在System.Web.Mvc.MvcHandler.c_udisplayClasse.b_ud()中
在System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionSt ep.Execute()中
在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成)

一年来第一次…

第二次!我认为这是IIS中的一个bug