[Mono-bugs] [Bug 79892][Nor] Changed - System.Resources.ResourceManager performance issue

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 27 05:29:28 EST 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 andriy.tkach at stu-electronics.com.


--- shadow/79892	2006-11-10 13:32:55.000000000 -0500
+++ shadow/79892.tmp.19603	2006-11-27 05:29:28.000000000 -0500
@@ -54,6 +54,33 @@
 ------- Additional Comments From robertj at gmx.net  2006-11-10 13:32 -------
 Your ResManager is not thread safe, it's hiding exceptions, etc.
 Fix it and retry.
+------- Additional Comments From andriy.tkach at stu-electronics.com  2006-11-27 05:29 -------
+I was unable to brake up my application on W2003-machine (P4 3.0GHz,
+1GB RAM) the way I describe bellow (with 100 users). Neither exception
+nor http-errors occurred while testing.
+On Linux-Server(2 Dual Xeons with hypertrading each + 8GB RAM) results
+are not so optimistic.
+Due to this exception (hidden in last example) resources are not
+loading. (with misspeled word "appropiate")
+"Could not find any resource appropiate for the specified culture or
+its parents. Make sure "ResourceSample.Language.resources" was
+correctly embedded or linked into assembly "ResourceSample"
+Why this exception occured unsystematic way under load on Mono 1.1.18?
+About my ResManager class
+* I added some lock in ResManager.GetRes(), but I believe my wrapper
+of ResourceManager doesn't need it, because all thread safety should
+be incapsulated in ResourceManager methods (according to MSDN);
+* Exception is not hiding anymore.
+See fresh attachment
+Andrey Tkach

More information about the mono-bugs mailing list