[Mono-list] Trying to set up hosting on mono

Maxim Karavaev makska at yandex.ru
Wed Aug 8 10:02:59 EDT 2007


Hello!

We are trying to organize mass hosting for ASP.Net on Mono (apache + mod_mono). We use FreeBSD with Apache 2.0 and latest Mono 1.2, compiled from sources.
And we've got some difficulties:
1. After several days of normal work, mod_mono unexpectedly become unavailable. We even have to use "kill" command to kill all mono and apache processes to restart it. May be it depends on amount of simulatelously http connections, because it seems like mono didn't use whole available free memory.
Here are some info from apache logs:
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
** (/usr/lib/mono/1.0/mod-mono-server.exe:11183): WARNING **: CreateThread: error creating thread handle
** (/usr/lib/mono/1.0/mod-mono-server.exe:11199): WARNING **: process_set_current: error creating process handle
** (/usr/lib/mono/2.0/mod-mono-server2.exe:11211): WARNING **: process_set_current: error creating process handle
** (/usr/lib/mono/1.0/mod-mono-server.exe:11228): WARNING **: process_set_current: error creating process handle
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
** (/usr/lib/mono/1.0/mod-mono-server.exe:11199): WARNING **: thread_attach: error creating thread handle
** (/usr/lib/mono/1.0/mod-mono-server.exe:11228): WARNING **: thread_attach: error creating thread handle
** (/usr/lib/mono/2.0/mod-mono-server2.exe:11217): WARNING **: process_set_current: error creating process handle
** (/usr/lib/mono/1.0/mod-mono-server.exe:11199): WARNING **: CreateThread: error creating thread handle
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
** (/usr/lib/mono/1.0/mod-mono-server.exe:11228): WARNING **: CreateThread: error creating thread handle
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
** (/usr/lib/mono/1.0/mod-mono-server.exe:11248): WARNING **: CreateThread: error creating thread handle
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
** (/usr/lib/mono/2.0/mod-mono-server2.exe:11211): WARNING **: thread_attach: error creating thread handle
and so on...
I can't find in Mono Bugzilla bugs related ot it. Should I submit new bug?


2. How we could restart one given web-site on the server. It seems like Mono don't restart web-site after modifying of web.config file. Now we have to restart whole apache.


Is there any ways to solve these dificulties? Because if there aren't ways to solve it in near future, we should return back to Windows 2003 Server...

I wrote here about p.1 month or two ago, but didn't get any response.


All the best,
Max Karavaev


More information about the Mono-list mailing list