[Mono-list] Unstable XSP 2.4 RC1
Pedro Santos
donbonifacio at gmail.com
Wed Mar 4 12:44:05 EST 2009
Hello,
We have several applications running on mono on a beta stage. We
recently migrated from win to mono and we have the following setup:
» nginx + mono fastcgi server
» only one instance of fastcgi-mono-server2 but with several applications (4)
>From our current experience we noticed that when deploying,
fastcgi-mono-server2 becomes unstable and/or crashes. So at this
moment every time we deploy something we also restart
fastcgi-mono-server2. This is inconvenient but we get ok with it.
The other problem is that without any apparent reason, mono starts
throwing errors that we don't understand.
For example, this page:
http://manual.orionsbelt.eu/en/Battles/BattleConcepts.aspx
When we restart mono it displays ok. After some time it may display an
error. I copied the error to here:
http://manual.orionsbelt.eu/en/Battles/BattleConcepts.Error.aspx
It isn't only this page, this is an example. However, it seams to be
only with this application.
After having this error for the first time we start to get it on
several pages, but if we restart fastcgi-mono-server2 it starts to
work ok. After some time the error comes again.
Is there anything else I can do to help fixing this?
I have gathered two related exceptions from our logs:
--------- ERROR --------------
System.Web.Compilation.CompilationException: CS0006: cannot find
metadata file `/tmp/root-temp-aspnet-0/6f3f8f0/App_global.asax.f105942.dll'
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath,
System.CodeDom.Compiler.CompilerParameters options) [0x00000]
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath
virtualPath, BuildKind buildKind) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType
(System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x00000]
at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context)
[0x00000]
at System.Web.UI.PageHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType,
System.String url, System.String path) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
context, System.String url, Boolean ignoreContextHandler) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
context, System.String url) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
--------- ERROR --------------
System.Web.Compilation.CompilationException: : at
System.IO.Directory.GetCurrentDirectory () [0x00000]
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath,
System.CodeDom.Compiler.CompilerParameters options) [0x00000]
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath
virtualPath, BuildKind buildKind) [0x00000]
at System.Web.Compilation.BuildManager.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetCompiledType
(System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x00000]
at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context)
[0x00000]
at System.Web.UI.PageHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType,
System.String url, System.String path) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
context, System.String url, Boolean ignoreContextHandler) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
context, System.String url) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
------------------------------
--
Pedro Santos
Home - http://psantos.zi-yu.com
Work - http://www.pdmfc.com
The future - http://www.orionsbelt.eu
More information about the Mono-list
mailing list