[Mono-bugs] [Bug 79060][Maj] Changed - CreateThread: error creating thread handle

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 16 17:03:04 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bugzilla at patearl.net.

http://bugzilla.ximian.com/show_bug.cgi?id=79060

--- shadow/79060	2006-08-15 12:51:00.000000000 -0400
+++ shadow/79060.tmp.18704	2006-08-16 17:03:04.000000000 -0400
@@ -49,6 +49,42 @@
 Unhandled Exception: System.ExecutionEngineException: Couldn't create
 thread
 
 
 This is getting to be a major issue for us.  We need to restart the
 server frequently as it just stops serving requests.
+
+------- Additional Comments From bugzilla at patearl.net  2006-08-16 17:03 -------
+To make it more obvious, here's a sequence of commands from the
+prompt.  Note that there are no mono processes running, yet it still
+complains about not being able to get a process handle.  A minute or
+so after mono is killed off, it seems to work again.  The runXSP
+script basically just runs the following:
+
+exec /mono/1.1.16.1/bin/mono /mono/1.1.61.1/lib/xsp/2.0/xsp2.exe
+--port 82 --nonstop --applications <bunch of stuff>
+
+patearl at fmc-websrv:~$ ps aux | grep mono
+root      8147  1.2  0.0      0     0 pts/0    Zl   14:04   0:00
+[mono] <defunct>
+patearl   8151  0.0  0.0   2880   800 pts/0    R+   14:04   0:00 grep mono
+patearl at fmc-websrv:~$ sudo pkill -9 mono
+patearl at fmc-websrv:~$ ps aux | grep mono
+patearl   8154  0.0  0.0   2880   800 pts/0    R+   14:05   0:00 grep mono
+patearl at fmc-websrv:~$ sudo sh /home/asp.net/runXSP
+Configuring for development settings.
+
+** (/mono/development/lib/xsp/2.0/xsp2.exe:8156): WARNING **:
+process_set_current: error creating process handle
+
+** (/mono/development/lib/xsp/2.0/xsp2.exe:8156): WARNING **:
+thread_attach: error creating thread handle
+
+** (/mono/development/lib/xsp/2.0/xsp2.exe:8156): WARNING **:
+CreateThread: error creating thread handle
+
+Unhandled Exception: System.ExecutionEngineException: Couldn't create
+thread
+
+
+I get this error far too frequently.  If anyone wants me to add some
+debug code to my source tree, I'd be happy to do so.


More information about the mono-bugs mailing list