[Mono-bugs] [Bug 78241][Maj] Changed - CreateThread failure/out of wapi handles slots

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 2 11:36:02 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 informatique.internet at fiducial.fr.


--- shadow/78241	2006-04-29 19:03:04.000000000 -0400
+++ shadow/78241.tmp.4192	2006-05-02 11:36:02.000000000 -0400
@@ -3,13 +3,13 @@
 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   
 Severity: Unknown
-Priority: Normal
+Priority: Major
 Component: io-layer
 AssignedTo: dick at ximian.com                            
 ReportedBy: robertj at gmx.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -166,6 +166,27 @@
         static void timer_Elapsed (object sender, ElapsedEventArgs e)
+------- Additional Comments From informatique.internet at fiducial.fr  2006-05-02 11:36 -------
+I'm experiencing exactly the same problem in ASP.NET applications. I
+use Nagios to monitor my application. Nagios does an http request
+every minutes. Every minutes the command : mono --wapi=hps | wc -l
+increments by 1. 
+Within 3 days, the server crashes with :
+** 6412): WARNING **: CreateThread: error creating thread handle
+Unhandled Exception: System.ExecutionEngineException: Couldn't create
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_delegate_begin_invoke (object,intptr)
+in (wrapper delegate-begin-invoke)
+in <0x00013> System.Threading.ThreadPool:QueueUserWorkItem
+(System.Threading.WaitCallback callback, System.Object state)
+in <0x000aa> System.Timers.Timer:StartTimer ()
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

More information about the mono-bugs mailing list