[Mono-list] Heavy loaded web-site again

Maxim Karavaev makska at yandex.ru
Sun Jul 1 14:12:43 EDT 2007


Hello!

I've got some difficulties with heavy loaded web-site on mono (version 1.2.4, FreeBSD, Apache2).
After several days of normal work, mod-mono-server produces exception (found in apache error_log):

** (/usr/lib/mono/1.0/mod-mono-server.exe:25855): WARNING **: CreateThread: error creating thread handle
** (/usr/lib/mono/2.0/mod-mono-server2.exe:25857): WARNING **: CreateThread: error creating thread handle
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
** (/usr/lib/mono/1.0/mod-mono-server.exe:25855): WARNING **: CreateThread: error creating thread handle
Unhandled Exception: System.ExecutionEngineException: Couldn't create thread

After it mono web-site becomes unavailable.
I need to stop apache, kill all mono process and start apache for getting web-site online again.

Could any one tell me, what is the possible reason of this situation? 
It's not a lack of memory, because mod-mono process takes up just 500-800 Mb and OS have at least 1-2 Gb of free memory.


Thanks a lot!

Best wishes,
Max Karavaev


More information about the Mono-list mailing list