[Mono-list] SocketException Timeout crashes mod-mono

acrym soreric94 at gmail.com
Tue Nov 12 04:07:25 UTC 2013


Centos 5.8 x86, Apache 2.2, Mono 3.1.1, mod-mono 2.10, xsp 2.10 

Occasionally I will see this error in httpd.conf:

Handling exception type SocketException
Message is A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection failed
because connected host has failed to respond
IsTerminating is set to True
System.Net.Sockets.SocketException: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, Int32 size,
SocketFlags flags) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.ModMonoRequest.FillBuffer (UInt32 count) [0x00000] in
<filename unknown>:0 
  at Mono.WebServer.ModMonoRequest.GetClientBlock (System.Byte[] bytes,
Int32 position, Int32 size) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.ModMonoWorker.Read (System.Byte[] buffer, Int32
position, Int32 size) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[]
buffer, Int32 size) [0x00000] in <filename unknown>:0 
  at System.Web.HttpRequest.MakeInputStream () [0x00000] in <filename
unknown>:0 
  at System.Web.HttpRequest.get_InputStream () [0x00000] in <filename
unknown>:0 
  at System.ServiceModel.Channels.Http.AspNetHttpRequestInfo.get_InputStream
() [0x00000] in <filename unknown>:0 
  at System.ServiceModel.Channels.Http.HttpReplyChannel.CreatePostMessage
(System.ServiceModel.Channels.Http.HttpContextInfo ctxi) [0x00000] in
<filename unknown>:0 
  at System.ServiceModel.Channels.Http.HttpReplyChannel.TryReceiveRequest
(TimeSpan timeout, System.ServiceModel.Channels.RequestContext& context)
[0x00000] in <filename unknown>:0 
  at
System.ServiceModel.Channels.ReplyChannelBase.<BeginTryReceiveRequest>m__21
(TimeSpan tout, System.ServiceModel.Channels.RequestContext& ctx) [0x00000]
in <filename unknown>:0 
[Tue Nov 12 02:11:51 2013] [error] (70014)End of file found: read_data
failed
[Tue Nov 12 02:11:51 2013] [error] Command stream corrupted, last command
was -1



Mod-Mono or Xsp immediately crashes after this.

Is this a bug or how do I fix this?



--
View this message in context: http://mono.1490590.n4.nabble.com/SocketException-Timeout-crashes-mod-mono-tp4661297.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list