Hi Vikram,
I’m using tomcat 7 for Geoserver 2.4.0 in Windows XP platform. Check my JVM configuration below.It may help u.
1.Right click on tomcat service icon and goto configure
2.Update below values in ‘Java’ as shown in this screenshot.
Java Virtual Machine:
C:\Program Files\Java\jre7\bin\client\jvm.dll
Java Classpath:
C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\tomcat-juli.jar
Java Options:
-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 7.0
-Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 7.0
-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 7.0\endorsed
-Djava.io.tmpdir=C:\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 7.0\conf\logging.properties
-XX:NewSize=256m
-XX:MaxNewSize=256m
-Dsun.rmi.dgc.client.gcInterval=600000
-Dsun.rmi.dgc.server.gcInterval=600000
-XX:+UseParallelGC
-XX:PermSize=256m
-XX:MaxPermSize=256m
-verbose:gc
-XX:+PrintTenuringDistribution
-XX:+HeapDumpOnOutOfMemoryError
Memory values should be set as per your RAM. Refer page number 285 in GeoServer Beginner’s Guide [eBook].pdf
Thanks & Regards,
Venkat E
GIS Developer
···
On Tue, Jan 28, 2014 at 8:57 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Vikram,
Dear Carlo,
http://docs.geoserver.org/stable/en/user/production/container.html#optimize-your-jvm
How to configure JVM settings..I am using tomcat. I don’t know how to apply the settings which is mentioned in the above doc..
Take also a look here:
http://geoserver.geo-solutions.it/edu/en/adv_gsconfig/gsproduction.html
http://boundlessgeo.com/whitepaper/geoserver-production-2/
Cheers,
Carlo
–
Dott. Carlo Cancellieri
@cancellieric
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Regards,
S. Thiruvikraman M.Sc.,
Ph: +919746149212 , +919003419957


On Tue, Jan 28, 2014 at 2:32 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:
Vikram,
I am using “sample map” as the base layer and 100 overlays(single tile). Total no. of request is around 125 to geoserver on zoom/pan for one time. This map will be used by n number of users.
Probably adding a bit less then 100 layers to the map component will solve most of your problems :).
If you need all of those layers try setting ‘visibility=false’ to most of them this may avoid sending hundreds of queries for not visible (z-index) layers.
To understand if you need a cluster of geoserver, could you specify what will be the size of ‘n’ (10, 100, 1000, 10.000 or more)?
These are my problems…
- Geoserver is not responding properly
- Responses is time consuming
Mmm this may never (or very rarely) happen… Which kind of store you are using? (huge shapefile?)
Consider pre-processing the data before ingestion to optimize runtime queries.
btw which GeoServer version are you using?
My queries…
- How to control the above mentioned requests…?
Consider also installing the control flow module:
http://docs.geoserver.org/stable/en/user/extensions/controlflow/index.html
- Right now I am accessing GeoWebCache from this URL “../geoserver/gwc/service/wms”. How to access cached tiles directly…?
Look at this example:
http://dev.openlayers.org/sandbox/tschaub/gwc/examples/geowebcache.html
Try also WMTS:
http://openlayers.org/dev/examples/wmts.html
- How to configure Geoserver for production environment. I had a glance in documentation of geoserver about configuring. Is that enough or some more modification is needed ?
Read carefully this documentation:
http://docs.geoserver.org/stable/en/user/production/index.html
Generally speaking applying those suggestion you may have a quite performant environment, anyhow
if you need more support for your production environment you may also consider contacting technical commercial support:
http://geoserver.org/display/GEOS/Commercial+Support
Cheers,
Carlo
–
Dott. Carlo Cancellieri
@cancellieric
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it