【发布时间】:2011-09-07 19:45:09
【问题描述】:
我正在一个高流量网站上运行一些 WCF net.tcp 服务。 在我当地的环境中,一切都按预期进行。 在生产环境中,网站运行几分钟,然后服务抛出异常。 当我停止并重新启动服务网站时,它会再次运行几分钟。
详情如下:
传输数据时发生 TCP 错误(995:I/O 操作已因线程退出或应用程序请求而中止)。
System.ServiceModel.Channels.SocketConnection.EndRead() System.ServiceModel.Channels.TracingConnection.EndRead() System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.OnAsyncReadComplete(对象状态) System.ServiceModel.Channels.TracingConnection.TracingConnectionState.ExecuteCallback() System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean haveResult,Int32 错误,Int32 bytesRead) System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 错误,UInt32 bytesRead,NativeOverlapped* nativeOverlapped) System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
由于线程退出或应用程序请求,I/O 操作已中止
【问题讨论】:
标签: wcf