Hi Chris,

Do you run Geoserver under Tomcat?
If yes, you may want to to try (even for testing only) to run the standalone 
version with http redirect to port 8080.
Tomcat can be quite slow when dealing with large amount of data.

Cheers,
Zvi



________________________________
 From: Andrea Aime <[email protected]>
To: Chris Brown <[email protected]> 
Cc: GeoServer Mailing List List <[email protected]> 
Sent: Tuesday, August 13, 2013 11:01 PM
Subject: Re: [Geoserver-users] GeoServer Slow to Start with Lots of Namespaces
 


On Wed, Aug 14, 2013 at 5:30 AM, Chris Brown <[email protected]> wrote:

Hi Jonathan,
>
>
>In total it's over 5000 workspaces. Which I'm guessing is a long way north of 
>average.

It's hard to say what makes such a setup slow. It may be loading the layers 
(each one is checked,
to make sure we can connect to its data source), users as you say, GWC doing 
its startup checks
layer by layer...
The startup of such beast would have to be profiled using yourkit, and then a 
few days of developer time
would have to be probably spent optimizing bits here and there.

Actually, maybe you could do a simple profile yourself using visualvm, you 
cannot exactly
profile it from the very beginning, but since it takes 40 minutes, you would 
not lose much.
You have to start visualvm on the same machine as the geoserver, attach to the 
process
running GeoServer, and start the profiler, let it accumulate data for a while, 
and send us
the results.
Maybe try it a few times until you're comfortable and quick enough to catch it 
from within
the first minute from startup.

The visualvm site has some instructions on this:
https://visualvm.java.net/profiler.html


Cheers
Andrea

-- 

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime 

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to