mod-mono

mod_mono: Random CompilationException errors

冷暖自知 提交于 2019-12-11 03:12:51
问题 After a server restart I sometimes get random CompilationException errors like this: CompilationException: CS0006: Metadata file `/tmp/apache-temp-aspnet-0/ca373c84/assembly/shadow/10cad1cb/02cb7ade_1201ab15_00000001/ZedGraph.dll' could not be found -> HttpException: Single file build failed and you can't access the application. If I restart the server again then the problem disappears. The file that triggers the error can be one of my own dll's or a dependency, like mysql.dll for instance. I

C# code runs quick on IIS, but slow on Mono - how to improve it?

孤人 提交于 2019-12-08 16:53:20
问题 I have an ASP.NET application that is working well on my Windows development machine. The server is Linux running Mono though, and once uploaded the same code is running 4 or 5 times slower there than it does on the Windows box (taking 25 seconds vs 5 seconds for one task for instance). Is this performance a known problem with Mono ? And is there anything I can do about it ? The code is mostly text processing, string replaces, regexes and the like, if that makes any difference. I've profiled

Mono - mod_mono consuming 100% of CPU

≡放荡痞女 提交于 2019-12-07 07:08:42
问题 I'm running ASP.NET MVC 3 site on Mono 3.2.8 (Ubuntu 14.04 + Apache2.4.7 + mod_mono). I've noticed that there are two processes eating up all CPU. Running htop: I also constantly get this entry in my log: WARNING: WebConfigurationManager's LRUcache evictions count reached its max size Cache Size: 100 (overridable via MONO_ASPNET_WEBCONFIG_CACHESIZE) ------------ [Fri Jun 05 06:49:53.446031 2015] [mpm_prefork:notice] [pid 21501] AH00171: Graceful restart requested, doing restart mod-mono

Installing mod_mono on Mac OSX 10.9 “Mavericks”

丶灬走出姿态 提交于 2019-12-07 06:08:59
问题 I'm trying to install mod_mono on mavericks, however, I'm getting an error. I have the most up-to-date mono version with Mavericks support. (v 3.2.3). When I ./configure --prefix=/usr in mod_mono version 2.10 I get this error: checking Apache version... configure: error: Apache 1.3 is no longer supported. mod_mono now requires at least Apache 2.0 But when i check my version of apache it says Server version: Apache/2.2.24 (Unix) Server built: Aug 24 2013 21:10:43 EDIT: Upgrading your mono

Install mod_mono on Mac OSX

社会主义新天地 提交于 2019-12-06 19:21:01
问题 I just started to develop website with mono+asp.net mvc2 on mac osx but I am quite new to mono and mac. I have got things working from MonoDevelop. My website is running ok with XSP when I run it from MonoDevelop. Now, I am trying to test it from Apache server, but I don’t know how to set things up. Some instruction I can found are all very old or incomplete. I tried a few of them, but none worked. Could anyone please help me out? 回答1: The best way to install mod_mono on OS X is from source.

Trouble installing mod_mono on Mac OSX Lion

我怕爱的太早我们不能终老 提交于 2019-12-06 16:07:33
There is another question regarding installing mod_mono on OSX, but I'm going to assume that was before Lion came about, which had some breaking changes for developers (like python versions). I've followed the instructions in the INSTALL readme of mod_mono-2.10. No Avail. Exactly what I've done is this: tar xvfz mod_mono-2.10.tar.gz cd mod_mono-X.Y.Z ./configure --prefix=/usr make make install $ apachectl -t httpd: Syntax error on line 54 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/mod_mono.conf: Cannot load /usr/libexec/apache2/mod_mono.so into

Orchard CMS on Mono

怎甘沉沦 提交于 2019-12-06 04:03:54
问题 This question might be slightly subjective, but I am unsure where else it would be better suited. I have used Orchard on a number of projects where the server was Windows Server based - integrating with AD, SQL etc to provide a MVC based portal - like stealing candy from a toddler! I have been exploring MonoTouch recently, and installed Orchard on OSX under ModMono as per http://docs.orchardproject.net/Documentation/Running-Orchard-on-Mono. It all seems to run fine, and fast, but I am unsure

Mono - mod_mono consuming 100% of CPU

家住魔仙堡 提交于 2019-12-05 16:11:00
I'm running ASP.NET MVC 3 site on Mono 3.2.8 (Ubuntu 14.04 + Apache2.4.7 + mod_mono). I've noticed that there are two processes eating up all CPU. Running htop: I also constantly get this entry in my log: WARNING: WebConfigurationManager's LRUcache evictions count reached its max size Cache Size: 100 (overridable via MONO_ASPNET_WEBCONFIG_CACHESIZE) ------------ [Fri Jun 05 06:49:53.446031 2015] [mpm_prefork:notice] [pid 21501] AH00171: Graceful restart requested, doing restart mod-mono-server received a shutdown message mod-mono-server received a shutdown message mod-mono-server received a

Installing mod_mono on Mac OSX 10.9 “Mavericks”

徘徊边缘 提交于 2019-12-05 11:06:11
I'm trying to install mod_mono on mavericks, however, I'm getting an error. I have the most up-to-date mono version with Mavericks support. (v 3.2.3). When I ./configure --prefix=/usr in mod_mono version 2.10 I get this error: checking Apache version... configure: error: Apache 1.3 is no longer supported. mod_mono now requires at least Apache 2.0 But when i check my version of apache it says Server version: Apache/2.2.24 (Unix) Server built: Aug 24 2013 21:10:43 EDIT: Upgrading your mono version to the latest (3.2.4) appears to work the best. Ensure you have a clean download of mod_mono-2.10.

Install mod_mono on Mac OSX

佐手、 提交于 2019-12-05 00:54:17
I just started to develop website with mono+asp.net mvc2 on mac osx but I am quite new to mono and mac. I have got things working from MonoDevelop. My website is running ok with XSP when I run it from MonoDevelop. Now, I am trying to test it from Apache server, but I don’t know how to set things up. Some instruction I can found are all very old or incomplete. I tried a few of them, but none worked. Could anyone please help me out? The best way to install mod_mono on OS X is from source. To do this there are a couple steps. First, make sure you've installed XCode (which can be found on the DVD