[Mono-bugs] [Bug 67159][Wis] New - Too many threads in tpool for xsp

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 29 Sep 2004 20:17:53 -0400 (EDT)


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 bmaurer@users.sf.net.

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

--- shadow/67159	2004-09-29 20:17:53.000000000 -0400
+++ shadow/67159.tmp.22053	2004-09-29 20:17:53.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 67159
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Too many threads in tpool for xsp
+
+When I run openload with one thread on xsp, 4 tp threads are created
+For 5 threads, 10 tp threads are created. Most of them end up sleeping most
+of the time. But I am not sure why so many are created
+
+If I request with many more (like 20 or 30 or more), tpool threads die and
+get recreated:
+
+[New Thread 1133554608 (LWP 10197)]
+[New Thread 1123834800 (LWP 10198)]
+[New Thread 1135655856 (LWP 10199)]
+[Thread 1119632304 (zombie) exited]
+[New Thread 1119632304 (LWP 10200)]
+[New Thread 1156668336 (LWP 10201)]
+[Thread 1150364592 (zombie) exited]
+[Thread 1135655856 (zombie) exited]
+[Thread 1152465840 (zombie) exited]
+[New Thread 1152465840 (LWP 10202)]
+[New Thread 1135655856 (LWP 10203)]
+[Thread 1156668336 (zombie) exited]
+[Thread 1104153520 (zombie) exited]
+[Thread 1123834800 (zombie) exited]
+[New Thread 1123834800 (LWP 10204)]
+[New Thread 1104153520 (LWP 10205)]
+[New Thread 1156668336 (LWP 10206)]
+[Thread 1144060848 (zombie) exited]
+[Thread 1133554608 (zombie) exited]
+[New Thread 1133554608 (LWP 10207)]
+
+Which somewhat defets the purpose of having a pool in the first place...