[Mono-bugs] [Bug 550730] Too many instances of ConfigurationSection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 30 06:23:38 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=550730

User colin at univ-metz.fr added comment
http://bugzilla.novell.com/show_bug.cgi?id=550730#c1


cyrille colin <colin at univ-metz.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5 - None                   |P2 - High
                 CC|                            |colin at univ-metz.fr
            Summary|Too many instances of       |Too many instances of
                   |HttpHandlerAction           |ConfigurationSection
           Severity|Normal                      |Major




--- Comment #1 from cyrille colin <colin at univ-metz.fr>  2009-10-30 04:23:36 MDT ---
In fact many ConfigurationSection are duplicated. It's due to the way
WebConfigurationManager cache Section.

The cachekey is calculated with the path value wich is for
system.web/globalization, system.web/httpRuntime, system.web/authorization,
system.web/httpHandlers a complete path like
/resources/coreui/template-css/reset-fonts-grids.css (included a filename). So
those sections are never reused.
I think cacheKey could be calculate only with the result of FindWebConfig but
tests have to be done.
System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs:393
I change bug priority to an higher level due to the memory and cpu consumption
especially using handlers.

Cyrille.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list