[Mono-bugs] [Bug 56626][Maj] New - ASP.NET exception under light load with (>2) user concurrency

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 7 Apr 2004 10:55:03 -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 sam_bravard@yahoo.com.


--- shadow/56626	2004-04-07 10:55:03.000000000 -0400
+++ shadow/56626.tmp.27538	2004-04-07 10:55:03.000000000 -0400
@@ -0,0 +1,73 @@
+Bug#: 56626
+Product: Mono: Runtime
+Version: unspecified
+OS: Fedora 1.0
+OS Details: Fedora Core2 Test2
+Status: NEW   
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sam_bravard@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: ASP.NET exception under light load with (>2) user concurrency
+Description of Problem:
+ASP.NET runtime fails under light concurrent load.  I'm using Microsoft 
+Application Test Center on a windows box to generate a 2 user load 
+against 'index.aspx' that's included with the mono XSP distribution 
+(0.9).  Nothing fancy about the setup.
+Increase simulated 'users' to 2 instead of one and the mono runtime fails 
+with the exception below, then mod_mono_server hangs.
+Steps to reproduce the problem:
+1. Install mono+apache+xsp
+2. Point Microsoft App Test Center or your favorite web test tool at
+   the default 'index.aspx' in the mono xsp distribution.
+3. Increase the 'simulated user' count to 2 or more.
+4. Wait (usually much less than 60 seconds)
+Actual Results:
+Unhandled Exception: System.Net.Sockets.SocketException: Some sort of w32 
+error occurred: 10024
+in (unmanaged) /usr/local/lib/libmono.so.0(mono_raise_exception+0x1b) 
+[0x5d55b7]in (unmanaged) /usr/local/lib/libmono.so.0 [0x5f28c9]
+in <0x0006f> System.Net.Sockets.Socket:Accept ()
+in <0x0002c> Mono.ASPNET.XSPApplicationServer:RunServer ()
+in <0x00044> (wrapper delegate-invoke) 
+System.MulticastDelegate:invoke_void ()
+** (/usr/bin/mod-mono-server.exe:12068): WARNING **: Entropy problem! 
+Can't open /dev/urandom or /dev/random
+Expected Results:
+Flawless web serving under multi-user loads
+How often does this happen? 
+Additional Information:
+Mono-0.31 + XSP 0.9 + Apache2
+Running under Fedore Core 2 test 2 w/ SElinux turned off.  Machine is a 
+PIII 700mhz with 640mb ram.
+Note: running with concurrency @ 1 user seems to work fine (I've only 
+tested it for 2 mins so far).  However user concurrency greater than 1 
+triggers the exception.
+Also note: I'm only getting about 10 pages a second throughput @ 1 user... 
+I believe that's about a factor of 10 or more slower than IIS on the same