[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 11:57:03 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=73183
--- shadow/73183 2005-03-02 11:37:00.000000000 -0500
+++ shadow/73183.tmp.3163 2005-03-02 11:57:03.000000000 -0500
@@ -63,6 +63,16 @@
Linux code is different at that level).
Will your code be running on Mono 1.0.x or only 1.1.x ?
------- Additional Comments From mlasky@novell.com 2005-03-02 11:37 -------
We will only be running on mono 1.1.x
+
+------- Additional Comments From bmaurer@users.sf.net 2005-03-02 11:57 -------
+The fact that you guys are getting > 1 k instances of this class open
+at the same time is not good. It sounds like somebody is leaking the
+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...