3

我有一个使用单声道 2.10.8 在 Linux (Centos 6.4) 中运行的自托管 ServiceStack 应用程序。

我在日志中间歇性地看到以下错误 - 这是相当随机的。有时一分钟或更长时间没有错误,有时很快连续出现几个错误。它似乎不会影响我的应用程序的运行。

ERROR2013-04-24 05:40:23 – Error in HttpListenerResponseWrapper: Write failure
System.IO.IOException: Write failure ---> System.Net.Sockets.SocketException: The socket        has been shut down
at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0 
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size)     [0x00000] in <filename unknown>:0 
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size)  [0x00000] in <filename unknown>:0 
at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, Int32 offset, Int32     count) [0x00000] in <filename unknown>:0 
at System.Net.ResponseStream.Close () [0x00000] in <filename unknown>:0 
at   ServiceStack.WebHost.Endpoints.Extensions.HttpResponseStreamExtensions.CloseOutputStream (System.Net.HttpListenerResponse response) [0x00000] in <filename unknown>:0

我注意到:

https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack/WebHost.Endpoints/Extensions/HttpResponseStreamExtensions.cs

有一些在 mono/Fastcgi 下运行的测试,看起来有问题。这可能有关系吗?有什么解决方法吗?

4

0 回答 0