[Geoserver-devel] Geoserver 1.4.x Factory Name Unnacceptable -> Slowdown?

Guys,

I’m trying to pin down how come Geoserver 1.4.x is taking so much longer to startup, an is generally more sluggish than the previous release (even with logging off while using default layers). Based on my perusal of the logfiles, GS 1.4.x looks to be spending a lot of time looking for factoryfinder functions, which it’s not finding or not realizing. I’m testing this out on a pretty fresh machine, running just the warfile, postgres, and tomcat 5.5. Based on those warnings/errors (a small subset is below), is there another library/etc I need to have installed when running 1.4.x? Or are these messages common to GS and I need to dig deeper into this issue?

Thanks,

-pete

@4521 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : ‘org.geotools.filter.function.FilterFunction_isWithinDistance’

^@4522 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from ‘org.geotools.filter.function.FilterFunction_area’

^@4523 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : ‘org.geotools.filter.function.FilterFunction_area’

^@4524 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from ‘org.geotools.filter.function.FilterFunction_centroid’

^@4526 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : ‘org.geotools.filter.function.FilterFunction_centroid’

^@4527 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from ‘org.geotools.filter.function.FilterFunction_interiorPoint’

^@4528 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : ‘org.geotools.filter.function.FilterFunction_interiorPoint’

^@4529 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from ‘org.geotools.filter.function.FilterFunction_dimension’

^@4530 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : ‘org.geotools.filter.function.FilterFunction_dimension’

^@4530 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from ‘org.geotools.filter.function.FilterFunction_boundary’

^@4531 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : ‘org.geotools.filter.function.FilterFunction_boundary’

^@4532 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from ‘org.geotools.filter.function.FilterFunction_boundaryDimension’

^@4533 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : ‘org.geotools.filter.function.FilterFunction_boundaryDimension’

^@4533 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from ‘org.geotools.filter.function.FilterFunction_envelope’

Andrea at one point got a large speed up by making sure that functions only made use of the factory finder dance once. I wonder if this change has gone by the wayside? You are correct that a large speed up resulted when the search was only done once previously.

Jody

Guys,

I'm trying to pin down how come Geoserver 1.4.x is taking so much longer to startup, an is generally more sluggish than the previous release (even with logging off while using default layers). Based on my perusal of the logfiles, GS 1.4.x looks to be spending a lot of time looking for factoryfinder functions, which it's not finding or not realizing. I'm testing this out on a pretty fresh machine, running just the warfile, postgres, and tomcat 5.5. Based on those warnings/errors (a small subset is below), is there another library/etc I need to have installed when running 1.4.x? Or are these messages common to GS and I need to dig deeper into this issue?

Thanks,

-pete

@4521 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : 'org.geotools.filter.function.FilterFunction_isWithinDistance'

^@4522 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from 'org.geotools.filter.function.FilterFunction_area'

^@4523 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : 'org.geotools.filter.function.FilterFunction_area'

^@4524 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from 'org.geotools.filter.function.FilterFunction_centroid'

^@4526 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : 'org.geotools.filter.function.FilterFunction_centroid'

^@4527 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from 'org.geotools.filter.function.FilterFunction_interiorPoint'

^@4528 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : 'org.geotools.filter.function.FilterFunction_interiorPoint'

^@4529 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from 'org.geotools.filter.function.FilterFunction_dimension'

^@4530 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : 'org.geotools.filter.function.FilterFunction_dimension'

^@4530 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from 'org.geotools.filter.function.FilterFunction_boundary'

^@4531 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : 'org.geotools.filter.function.FilterFunction_boundary'

^@4532 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from 'org.geotools.filter.function.FilterFunction_boundaryDimension'

^@4533 [FINEST] org.geotools.factory.FactoryFinder - Factory name unacceptable : 'org.geotools.filter.function.FilterFunction_boundaryDimension'

^@4533 [FINEST] org.geotools.factory.FactoryFinder - Creating instance from 'org.geotools.filter.function.FilterFunction_envelope'

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  

Peter Giencke ha scritto:

Guys,

I'm trying to pin down how come Geoserver 1.4.x is taking so much longer to startup, an is generally more sluggish than the previous release (even with logging off while using default layers). Based on my perusal of the logfiles, GS 1.4.x looks to be spending a lot of time looking for factoryfinder functions, which it's not finding or not realizing. I'm testing this out on a pretty fresh machine, running just the warfile, postgres, and tomcat 5.5. Based on those warnings/errors (a small subset is below), is there another library/etc I need to have installed when running 1.4.x? Or are these messages common to GS and I need to dig deeper into this issue?

Which version of geoserver are you using? Which was the previous release
that was faster? More sluggish in general, serving WMS, WFS? I need
details to try and pin down the issue.

In the unreleased 1.4.x
(forecoming 1.4.0rc3) we made a change that slows down startup
to make sure the first wms call does not take as long as 5 times
the subsequent ones, but it's not related to factory finder and functions, it's about loading the CRS definitions (epsg-wkt, which is very slow to start up): we moved the espg-wkt lading time from first request that needs a CRS around to startup.

Yet, if you're running against 1.4.0rc2, the problem lies somewhere
else. Were did you get the 1.4.x you're using?

And oh, btw, how much time does it take to start? On my PC (pretty
powerful machine in fact) it takes 12 seconds cold start, 5 seconds
if I restart it afterwards (the second time it does not have to
unpack the war file, java 5 has already been loaded, and so on),
all running on tomcat 5.5.

I've tried to run geoserver with embedded jetty in a profiler, the
only thing that shows up is EPSG-WKT loading and SLD file loading.

Cheers
Andrea Aime