[Mono-bugs] [Bug 472732] New: mod-mono crashes after timeout

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 5 01:53:31 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=472732


           Summary: mod-mono crashes after timeout
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.0.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: bassam at symform.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=270246)
 --> (https://bugzilla.novell.com/attachment.cgi?id=270246)
apache config file

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5)
Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)

We've observed mod-mono crash after a week or so of continuous operations. The
following entry was the last one in our log:

HttpException caught.\nSystem.Net.Sockets.
SocketException: Operation timed out.

Server stack trace:
  at System.Net.Sockets.Socket.Receive (System.Byte[] buf, Int32 size,
SocketFlags flags) [0x00000]
  at Mono.WebServer.ModMonoRequest.FillBuffer (Int32 count) [0x00000]
  at Mono.WebServer.ModMonoRequest.GetClientBlock (System.Byte[] bytes, Int32
position, Int32 size) [0x00000]
  at Mono.WebServer.ModMonoWorker.Read (System.Byte[] buffer, Int32 position,
Int32 size) [0x00000]
  at Mono.WebServer.BaseRequestBroker.Read (Int32 requestId, Int32 size,
System.Byte[]& buffer) [0x00000]
  at (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:Read
(int,int,byte[]&)
  at (wrapper xdomain-dispatch) Mono.WebServer.BaseRequestBroker:Read
(object,byte[]&,byte[]&,int,int,byte[]&)

Exception rethrown at [0]:

  at (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:Read
(int,int,byte[]&)
  at (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:Read
(int,int,byte[]&)
  at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[] buffer,
Int32 size) [0x00000]
  at System.Web.HttpRequest.MakeInputStream () [0x00000]
  at System.Web.HttpRequest.get_InputStream () [0x00000]
  at System.Web.HttpRequestWrapper.get_InputStream () [0x00000]
  at Symform.Common.Rest.ResourceModelBinder.BindModelCore
(System.Web.Mvc.ModelBindingContext bindingContext) [0x00000]

  at System.Web.Mvc.DefaultModelBinder.BindModel
(System.Web.Mvc.ModelBindingContext bindingContext) [0x00000]
  at System.Web.Mvc.ControllerActionInvoker.GetParameterValue
(System.Reflection.ParameterInfo parameterInfo) [0x00000]

  at System.Web.Mvc.ControllerActionInvoker.GetParameterValues
(System.Reflection.MethodInfo methodInfo) [0x00000]
  at System.Web.Mvc.ControllerActionInvoker.InvokeAction
(System.Web.Mvc.ControllerContext controllerContext, System.Str
ing actionName) [0x00000]
  at System.Web.Mvc.Controller.ExecuteCore () [0x00000]
  at System.Web.Mvc.ControllerBase.Execute (System.Web.Routing.RequestContext
requestContext) [0x00000]
  at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute
(System.Web.Routing.RequestContext requestContext)
 [0x00000]
  at System.Web.Mvc.MvcHandler.ProcessRequest (System.Web.HttpContextBase
httpContext) [0x00000]
  at System.Web.Mvc.MvcHandler.ProcessRequest (System.Web.HttpContext
httpContext) [0x00000]
  at System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext httpContext) [0x00000]
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
  at System.Web.HttpApplication.Tick () [0x00000]

/var/log/apache/error.log had the following error:

[Wed Feb 04 22:05:13 2009] [error] Failed to connect to mod-mono-server after
several attempts to spawn the process.

There were 50+ mod-mono processes running when this happened. Typically we only
see two. 


Reproducible: Sometimes

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list