[Mono-list] apache/mod_mono generating http 406?

Glen Ford glen.a.ford at gmail.com
Thu Jul 12 03:05:07 EDT 2007


Well more investigation turned up that it was actually a 500 error,
however the calling soap client was unable to accept the apache 500
error page so apache internally generated a 406.

I have noticed two issues that are occuring with my system more
regularly though - at startup I am getting around 30% the following
...


[Wed Jul 11 11:23:59 2007] [notice] Apache/2.2.0 (Linux/SUSE)
configured -- resuming normal operations
Stacktrace:

  at (wrapper managed-to-native) System.Reflection.Assembly.FillName
(System.Reflection.Assembly,System.Reflection.AssemblyName) <0x0000b>
  at (wrapper managed-to-native) System.Reflection.Assembly.FillName
(System.Reflection.Assembly,System.Reflection.AssemblyName)
<0xffffffff>
  at System.Reflection.Assembly.UnprotectedGetName () <0x0003c>
  at System.Reflection.Assembly.GetName (bool) <0x00040>
  at System.Reflection.Assembly.GetName () <0x0001a>
  at System.Web.UI.SimpleWebHandlerParser.AddAssembly
(System.Reflection.Assembly,bool) <0x00062>
  at System.Web.UI.SimpleWebHandlerParser.AddAssembliesInBin () <0x000e5>
  at System.Web.UI.SimpleWebHandlerParser..ctor
(System.Web.HttpContext,string,string) <0x0034f>
  at System.Web.UI.WebServiceParser..ctor
(System.Web.HttpContext,string,string) <0x0002e>
  at System.Web.UI.WebServiceParser.GetCompiledType
(string,System.Web.HttpContext) <0x00048>
  at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler
(System.Web.HttpContext,string,string,string) <0x00072>
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext) <0x0024e>
  at <>c__CompilerGenerated2.MoveNext () <0x0121c>
  at System.Web.HttpApplication.Tick () <0x0005d>
  at System.Web.HttpApplication.Start (object) <0x0012d>
  at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest
(System.Web.HttpContext,System.AsyncCallback,object) <0x000ba>
  at System.Web.HttpRuntime.RealProcessRequest (object) <0x00232>
  at System.Web.HttpRuntime.ProcessRequest
(System.Web.HttpWorkerRequest) <0x00042>
  at Mono.WebServer.MonoWorkerRequest.ProcessRequest () <0x00010>
  at Mono.WebServer.BaseApplicationHost.ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x0005d>
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0x00380>
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffffff>
  at (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xff
ffffff>
  at (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffffff>
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffffff>
  at Mono.WebServer.ModMonoWorker.InnerRun (object) <0x004fd>
  at Mono.WebServer.ModMonoWorker.Run (object) <0x00041>
  at (wrapper delegate-invoke)
System.MulticastDelegate.invoke_void_object (object) <0xffffffff>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono [0x51ecf8]
        /usr/bin/mono [0x4ec58e]
        /lib64/libpthread.so.0 [0x2adb1e8e2140]
        /lib64/libc.so.6(strlen+0x20) [0x2adb1ebb2690]
        /usr/bin/mono(mono_string_new+0x2d) [0x49e54d]
        /usr/bin/mono [0x4a82d3]
        [0x412eb8f0]

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================


And under loaded conditions I am sometimes getting ....

[Mon Jul 09 03:12:35 2007] [notice] Apache/2.2.0 (Linux/SUSE)
configured -- resuming normal operations
System.ObjectDisposedException:   at (wrapper xdomain-invoke)
Mono.WebServer.ModMonoRequestBroker:GetServerVariable (int,string)
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoRequestBroker:GetServerVariable (int,string)
  at Mono.WebServer.ModMonoWorkerRequest.IsSecure () [0x00000]
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32
reqId, System.String verb, System.String queryString, System.String
path, System.String protocol, System.String localAddress, Int
32 serverPort, System.String remoteAddress, Int32 remotePort,
System.String remoteName, System.String[] headers, System.String[]
headerValues) [0x00000]
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
  at (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[])

Exception rethrown at [1]:

  at (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
System.ObjectDisposedException:   at (wrapper xdomain-invoke)
Mono.WebServer.ModMonoRequestBroker:GetServerVariable (int,string)
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoRequestBroker:GetServerVariable (int,string)
  at Mono.WebServer.ModMonoWorkerRequest.IsSecure () [0x00000]
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32
reqId, System.String verb, System.String queryString, System.String
path, System.String protocol, System.String localAddress, Int
32 serverPort, System.String remoteAddress, Int32 remotePort,
System.String remoteName, System.String[] headers, System.String[]
headerValues) [0x00000]
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
  at (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[])

Exception rethrown at [1]:

(repeats about 30 times)..


Using mono 1.2.4, mod-mono-server2 - any ideas appreciated.


Regards,


Glen



On 7/11/07, Glen Ford <glen.a.ford at gmail.com> wrote:
> Hi,
>
> I am seeing quite regularly my web service under mono 1.2.4 using
> apache/mod_mono/mod-mono-server2 generate a http 406 response to a
> client application.
>
> The system seems otherwise behaving normally, load is steady, plenty
> of cpu/memory.
>
> Has anyone else seen this sort of issue?
>
>
> Regards,
>
>
> Glen
>


More information about the Mono-list mailing list