[Geoserver-users] Geoserver Configuration

Dear Sir/Madam,
How to handle requests for Geoserver and make the geoserver to work faster. I am using layer switcher. For each layer it is taking more requests. how to control that. ?

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957

Hi,
probably you may:
0. be sure that you are caching tiles on the client side (this should be transparent using get requests)

  1. start caching data on the server side: http://docs.geoserver.org/latest/en/user/geowebcache/using.html
  2. optimize datasources (optimizing rasters, simplifying geometries, etc)
  3. optimize queries (using tiling, using png8, etc)
  4. clusterize geoservers

If you need more details, please post some of the query you are using.
Cheers,
Carlo

···

2014-01-27 Vikram Santhanam <vikraman.gis@anonymised.com…84…>

Dear Sir/Madam,
How to handle requests for Geoserver and make the geoserver to work faster. I am using layer switcher. For each layer it is taking more requests. how to control that. ?

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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

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


Dear Carlo,
Thank you for the quick response…The following is the code what I am using with openlayers+geoserver.

···

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957

On Mon, Jan 27, 2014 at 7:26 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:

Hi,
probably you may:
0. be sure that you are caching tiles on the client side (this should be transparent using get requests)

  1. start caching data on the server side: http://docs.geoserver.org/latest/en/user/geowebcache/using.html
  2. optimize datasources (optimizing rasters, simplifying geometries, etc)
  3. optimize queries (using tiling, using png8, etc)
  4. clusterize geoservers

If you need more details, please post some of the query you are using.
Cheers,
Carlo

2014-01-27 Vikram Santhanam <vikraman.gis@anonymised.com…84…>

Dear Sir/Madam,
How to handle requests for Geoserver and make the geoserver to work faster. I am using layer switcher. For each layer it is taking more requests. how to control that. ?

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


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

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

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


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....*
1. Geoserver is not responding properly
2. 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.....*
1. 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

2. 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

3. 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

--

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

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

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

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

*Regards,*

*S. Thiruvikraman M.Sc.,*

*Ph: +919746149212 <%2B919746149212> , +919003419957 <%2B919003419957> *

* <http://www.linkedin.com/in/vikramangis&gt;
<https://www.facebook.com/vikramgeek&gt; *

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....*
1. Geoserver is not responding properly
2. 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.....*
1. 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

2. 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

3. 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

--

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

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

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

--

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

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

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

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

Inline image 1

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

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

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…

  1. Geoserver is not responding properly
  2. 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…

  1. 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

  1. 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

  1. 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

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

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


Ciao Vikram,

I think you are still missing the following 2 steps:

  1. Configure a proxy to route requests to the configured tomcat instances:
    http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html

  2. Configure the proxy url on geoserver:
    http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html

PS: please keep the ML into the loop.

Cheers,
Carlo

···

2014-02-03 Vikram Santhanam <vikraman.gis@anonymised.com>:

yeah i have changed in server.xml
reference : http://www.ansoncheunghk.info/article/5-steps-install-multiple-apache-tomcat-instance-windows
I st tomcat is default and the following config are the 2nd and 3rd instance.,

Server shutdonw port : 8006
HTTP : 8081
AJP : 8010

Server shutdonw port : 8007
HTTP : 8082
AJP : 8011

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

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 Mon, Feb 3, 2014 at 1:26 PM, carlo cancellieri <carlo.cancellieri@anonymised.com07…> wrote:

Vikram,
Could you give me some more info about your setup?
Have you configured a proxy?

Ps: please keep the ML into the loop.

Cheers,
Carlo

Il 03/feb/2014 06:38 “Vikram Santhanam” <vikraman.gis@anonymised.com> ha scritto:

Dear Carlo,
i am trying 3 geoserver in 3 instances of tomcat. Tomcat is working fine but only 1 instance of geoserver is working. Other 2 is not working. ? Can you give me the solution ?

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957

On Mon, Jan 27, 2014 at 7:26 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:

Hi,
probably you may:
0. be sure that you are caching tiles on the client side (this should be transparent using get requests)

  1. start caching data on the server side: http://docs.geoserver.org/latest/en/user/geowebcache/using.html
  2. optimize datasources (optimizing rasters, simplifying geometries, etc)
  3. optimize queries (using tiling, using png8, etc)
  4. clusterize geoservers

If you need more details, please post some of the query you are using.
Cheers,
Carlo

2014-01-27 Vikram Santhanam <vikraman.gis@anonymised.com…84…>

Dear Sir/Madam,
How to handle requests for Geoserver and make the geoserver to work faster. I am using layer switcher. For each layer it is taking more requests. how to control that. ?

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


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

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

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


Vikram,

could you kindly open a new post for this new argument on the ML?

please also add some more info about your needs configuring the control flow is too generic as question:
(http://docs.geoserver.org/stable/en/user/extensions/controlflow/index.html)

Cheers,
Carlo

···

2014-02-05 Vikram Santhanam <vikraman.gis@anonymised.com>:

Dear Carlo,
How to create controlflow.properties file and make it working in geoserver >?

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

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 Mon, Feb 3, 2014 at 2:28 PM, carlo cancellieri <carlo.cancellieri@anonymised.com07…> wrote:

Ciao Vikram,

I think you are still missing the following 2 steps:

  1. Configure a proxy to route requests to the configured tomcat instances:
    http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html

  2. Configure the proxy url on geoserver:
    http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html

PS: please keep the ML into the loop.

Cheers,
Carlo

2014-02-03 Vikram Santhanam <vikraman.gis@anonymised.com>:

yeah i have changed in server.xml
reference : http://www.ansoncheunghk.info/article/5-steps-install-multiple-apache-tomcat-instance-windows
I st tomcat is default and the following config are the 2nd and 3rd instance.,

Server shutdonw port : 8006
HTTP : 8081
AJP : 8010

Server shutdonw port : 8007
HTTP : 8082
AJP : 8011

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

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 Mon, Feb 3, 2014 at 1:26 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:

Vikram,
Could you give me some more info about your setup?
Have you configured a proxy?

Ps: please keep the ML into the loop.

Cheers,
Carlo

Il 03/feb/2014 06:38 “Vikram Santhanam” <vikraman.gis@anonymised.com> ha scritto:

Dear Carlo,
i am trying 3 geoserver in 3 instances of tomcat. Tomcat is working fine but only 1 instance of geoserver is working. Other 2 is not working. ? Can you give me the solution ?

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957

On Mon, Jan 27, 2014 at 7:26 PM, carlo cancellieri <carlo.cancellieri@anonymised.com> wrote:

Hi,
probably you may:
0. be sure that you are caching tiles on the client side (this should be transparent using get requests)

  1. start caching data on the server side: http://docs.geoserver.org/latest/en/user/geowebcache/using.html
  2. optimize datasources (optimizing rasters, simplifying geometries, etc)
  3. optimize queries (using tiling, using png8, etc)
  4. clusterize geoservers

If you need more details, please post some of the query you are using.
Cheers,
Carlo

2014-01-27 Vikram Santhanam <vikraman.gis@anonymised.com…84…>

Dear Sir/Madam,
How to handle requests for Geoserver and make the geoserver to work faster. I am using layer switcher. For each layer it is taking more requests. how to control that. ?

Regards,

S. Thiruvikraman M.Sc.,

Ph: +919746149212 , +919003419957


CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk


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

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

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