[Geoserver-devel] [jira] (GEOS-5008) SLD with broken/invalid external graphics link causes large unrecoverable jump in CPU usage on GetLegendGraphic request

Matt Bertrand created GEOS-5008:
-----------------------------------

             Summary: SLD with broken/invalid external graphics link causes large unrecoverable jump in CPU usage on GetLegendGraphic request
                 Key: GEOS-5008
                 URL: https://jira.codehaus.org/browse/GEOS-5008
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1.3
         Environment: Mac OS X 10.6, GeoServer 2.1 nightly build, Tomcat 6.0.35
            Reporter: Matt Bertrand
            Assignee: Andrea Aime
            Priority: Minor

When making a GetLegendGraphic request for a layer whose style contains an external graphics link that is invalid (non-image or unreachable image), the CPU usage by GeoServer jumps up 40%+ and does not come down until restarted.

Example:
          <sld:PointSymbolizer>
            <sld:Graphic>
              <sld:ExternalGraphic>
                <sld:OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink&quot; xlink:type="simple" xlink:href="http://foo.com/invalid_or_missing_image_url&quot;/&gt;
                <sld:Format/>
              </sld:ExternalGraphic>
              <sld:Opacity>
                <ogc:Literal>0.36</ogc:Literal>
              </sld:Opacity>
            </sld:Graphic>
          </sld:PointSymbolizer>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira