[Mono-bugs] [Bug 78241][Nor] New - CreateThread failure/out of wapi handles slots

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Apr 29 12:27:10 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 robertj at gmx.net.

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

--- shadow/78241	2006-04-29 12:27:10.000000000 -0400
+++ shadow/78241.tmp.27931	2006-04-29 12:27:10.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 78241
+Product: Mono: Runtime
+Version: 1.1
+OS: SUSE 9.0
+OS Details: Linux 2.4.21-303-smp4G #1 SMP Tue Dec 6 12:33:10 UTC 2005 i686 i686 i386 GNU/Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: robertj at gmx.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CreateThread failure/out of wapi handles slots
+
+After running mod-mono-server for a couple of hours, the runtime
+starts to spill the following output:
+
+** (/opt/mono/lib/xsp/1.0/mod-mono-server.exe:260): WARNING **:
+CreateThread: error creating thread handle
+
+Unhandled Exception: System.ExecutionEngineException: Couldn't create thread
+in <0x00000> <unknown method>
+in (wrapper delegate-begin-invoke)
+System.MulticastDelegate:begin_invoke_IAsyncResult_object_AsyncCallback_object
+(object,System.AsyncCallback,object)
+in <0x00014> System.Threading.ThreadPool:QueueUserWorkItem
+(System.Threading.Wai
+tCallback callback)
+in <0x00273> Mono.WebServer.ApplicationServer:RunServer ()
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
+
+** (/opt/mono/lib/xsp/1.0/mod-mono-server.exe:31027): WARNING **:
+thread_attach: error creating thread handle
+
+
+"ps" doesn't show more than 10 threads for the process. The
+server is almost idle and it manages to serve about 15-30K requests
+until the error occurred.
+
+I'm attaching the output of "hps" which lists a lot of threads
+being in the THREAD_TERMINATE state.
+
+Mono version: head of the 1-1-13 branch


More information about the mono-bugs mailing list