[Mono-bugs] [Bug 73183][Nor] Changed - Optimization to prevent multiple handles to /dev/urandom device

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 2 Mar 2005 16:36:51 -0500 (EST)

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 sebastien@ximian.com.


--- shadow/73183	2005-03-02 11:57:03.000000000 -0500
+++ shadow/73183.tmp.6676	2005-03-02 16:36:51.000000000 -0500
@@ -1,17 +1,17 @@
 Bug#: 73183
-Product: Mono: Runtime
+Product: Mono: Class Libraries
 Version: 1.1
 OS Details: 
-Status: ASSIGNED   
+Status: NEW   
 Severity: Unknown
 Priority: Normal
-Component: io-layer
-AssignedTo: sebastien@ximian.com                            
+Component: Sys.Web
+AssignedTo: gonzalo@ximian.com                            
 ReportedBy: mlasky@novell.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 Summary: Optimization to prevent multiple handles to /dev/urandom device
@@ -73,6 +73,10 @@
 instances. Are you explicitly calling dispose? Who knows if msft.net 
 has issues with 1000's of handles to the RNG open at the same time?
 Not saying that the optimization shouldn't be done, just that it is 
 probably not a good idea to rely on finalizers to clean up things in 
 a server...
+------- Additional Comments From sebastien@ximian.com  2005-03-02 16:36 -------
+After discussion with Gonzalo it seems better to fix this behaviour in
+SessionStateModule/SessionId (i.e. not to create so much RNG instances).