[Geoserver-users] Production Config

Hi List,

After migrating our GeoServer 2.0.2 instance to the 2.8 version I've got a couple of questions regarding the configuration of GeoServer in a production environment. One thing that confused me was that on my older installation the process tomcat was able to consume up to 2 GB of ram, which is fine as we have plenty of RAM on that server, and to be honest we haven't had any problem, but in the new version I see that the process consumes up to 300 MB and I feel that when loading WMS vector layers it doesn't do as good as it was done by the older version. Perhaps it has to be like that and it's OK so I decided to go for a production tuning for GeoServer.

The first thing I saw is that according to GeoServer documentation (1) the 1.8 java version is not supported, and we installed that version... It's been working but perhaps those problems with 1.8 version were related to our performance problems.. So I decided to downgrade to java 1.7 and point tomcat to that version. But I still feel that GeoServer is not working at his best..

So I need some advice on advanced configuration. So far I've added these parameters to the java options on the apache tomcat monitor..

-server-Xmx2048M-Xms2048m-XX:MaxPermSize=512m-XX:SoftRefLRUPolicyMSPerMB=36000-XX:+UseParallelGC

I don't know if they're really OK. Can someone tell me if they're more or less OK?

My Set up:

Intel Xeon CPU @ 2.0 GHz
8 GB RAM
Window Server 2012 R2 64 bit.

Oracle Corporation: 1.7.0_80 (Java HotSpot(TM) Client VM) -> 32 bit
Tomcat 7 -> 32 bit

1 - http://docs.geoserver.org/stable/en/user/production/java.html#use-supported-jre

Help is much appreciated.

Thanks

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@anonymised.com | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

Hi,

To add more info... I've found that we have several JAVA HEAP SPACE errors in the logs.

How con confirm that the java options are set as I specified in the Tomcat Monitor?

Any ideas to improve our performance?

Thanks in advance.

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@anonymised.com | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda@anonymised.com]
Enviado el: martes, 02 de febrero de 2016 11:21
Para: GeoServer Users
Asunto: [Geoserver-users] Production Config

Hi List,

After migrating our GeoServer 2.0.2 instance to the 2.8 version I've got a couple of questions regarding the configuration of GeoServer in a production environment. One thing that confused me was that on my older installation the process tomcat was able to consume up to 2 GB of ram, which is fine as we have plenty of RAM on that server, and to be honest we haven't had any problem, but in the new version I see that the process consumes up to 300 MB and I feel that when loading WMS vector layers it doesn't do as good as it was done by the older version. Perhaps it has to be like that and it's OK so I decided to go for a production tuning for GeoServer.

The first thing I saw is that according to GeoServer documentation (1) the 1.8 java version is not supported, and we installed that version... It's been working but perhaps those problems with 1.8 version were related to our performance problems.. So I decided to downgrade to java 1.7 and point tomcat to that version. But I still feel that GeoServer is not working at his best..

So I need some advice on advanced configuration. So far I've added these parameters to the java options on the apache tomcat monitor..

-server-Xmx2048M-Xms2048m-XX:MaxPermSize=512m-XX:SoftRefLRUPolicyMSPerMB=36000-XX:+UseParallelGC

I don't know if they're really OK. Can someone tell me if they're more or less OK?

My Set up:

Intel Xeon CPU @ 2.0 GHz
8 GB RAM
Window Server 2012 R2 64 bit.

Oracle Corporation: 1.7.0_80 (Java HotSpot(TM) Client VM) -> 32 bit
Tomcat 7 -> 32 bit

1 - http://docs.geoserver.org/stable/en/user/production/java.html#use-supported-jre

Help is much appreciated.

Thanks

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@anonymised.com | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER ***************************** Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

how come there’s no space between JVM arguments?, like in “-server-Xmx2048M-…” should be “-server -Xmx2048M -…”

Is that just a copy&paste error or is that how you’re actually passing them, cause if it is I doubt they’ll have any impact, or at least I’ve never seen JVM args passed in that way

···

On Wed, Feb 3, 2016 at 4:48 AM, David Alda Fernandez de Lezea <dalda@anonymised.com.6818…> wrote:

Hi,

To add more info… I’ve found that we have several JAVA HEAP SPACE errors in the logs.

How con confirm that the java options are set as I specified in the Tomcat Monitor?

Any ideas to improve our performance?

Thanks in advance.

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@anonymised.com | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda@anonymised.com]
Enviado el: martes, 02 de febrero de 2016 11:21
Para: GeoServer Users
Asunto: [Geoserver-users] Production Config

Hi List,

After migrating our GeoServer 2.0.2 instance to the 2.8 version I’ve got a couple of questions regarding the configuration of GeoServer in a production environment. One thing that confused me was that on my older installation the process tomcat was able to consume up to 2 GB of ram, which is fine as we have plenty of RAM on that server, and to be honest we haven’t had any problem, but in the new version I see that the process consumes up to 300 MB and I feel that when loading WMS vector layers it doesn’t do as good as it was done by the older version. Perhaps it has to be like that and it’s OK so I decided to go for a production tuning for GeoServer.

The first thing I saw is that according to GeoServer documentation (1) the 1.8 java version is not supported, and we installed that version… It’s been working but perhaps those problems with 1.8 version were related to our performance problems… So I decided to downgrade to java 1.7 and point tomcat to that version. But I still feel that GeoServer is not working at his best…

So I need some advice on advanced configuration. So far I’ve added these parameters to the java options on the apache tomcat monitor…

-server-Xmx2048M-Xms2048m-XX:MaxPermSize=512m-XX:SoftRefLRUPolicyMSPerMB=36000-XX:+UseParallelGC

I don’t know if they’re really OK. Can someone tell me if they’re more or less OK?

My Set up:

Intel Xeon CPU @ 2.0 GHz
8 GB RAM
Window Server 2012 R2 64 bit.

Oracle Corporation: 1.7.0_80 (Java HotSpot™ Client VM) → 32 bit
Tomcat 7 → 32 bit

1 - http://docs.geoserver.org/stable/en/user/production/java.html#use-supported-jre

Help is much appreciated.

Thanks

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@anonymised.com | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER ***************************** Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.


Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140


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


Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140


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

Gabriel Roldán
Software Developer | Boundless
groldan@anonymised.com
@boundlessgeo

Hi Gabriel,

Thanks for your response.

I've added this JVM options in the apache monitor in the Java options tab, and apparently, after testing different formats, I have to pass them without blank spaces and new lines... Otherwise the service won't start. And the thing is that I don't know if the parameters are getting set in the OS.

I have tomcat installed as a service in windows Server 2012

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@...6818... | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

De: Gabriel Roldan [mailto:groldan@…5876…]
Enviado el: jueves, 04 de febrero de 2016 4:21
Para: David Alda Fernandez de Lezea
CC: GeoServer Users
Asunto: Re: [Geoserver-users] Production Config

how come there's no space between JVM arguments?, like in "-server-Xmx2048M-..." should be "-server -Xmx2048M -..."

Is that just a copy&paste error or is that how you're actually passing them, cause if it is I doubt they'll have any impact, or at least I've never seen JVM args passed in that way

On Wed, Feb 3, 2016 at 4:48 AM, David Alda Fernandez de Lezea <dalda@...6818...> wrote:
Hi,

To add more info... I've found that we have several JAVA HEAP SPACE errors in the logs.

How con confirm that the java options are set as I specified in the Tomcat Monitor?

Any ideas to improve our performance?

Thanks in advance.

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@...6818... | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda@…6818…]
Enviado el: martes, 02 de febrero de 2016 11:21
Para: GeoServer Users
Asunto: [Geoserver-users] Production Config

Hi List,

After migrating our GeoServer 2.0.2 instance to the 2.8 version I've got a couple of questions regarding the configuration of GeoServer in a production environment. One thing that confused me was that on my older installation the process tomcat was able to consume up to 2 GB of ram, which is fine as we have plenty of RAM on that server, and to be honest we haven't had any problem, but in the new version I see that the process consumes up to 300 MB and I feel that when loading WMS vector layers it doesn't do as good as it was done by the older version. Perhaps it has to be like that and it's OK so I decided to go for a production tuning for GeoServer.

The first thing I saw is that according to GeoServer documentation (1) the 1.8 java version is not supported, and we installed that version... It's been working but perhaps those problems with 1.8 version were related to our performance problems.. So I decided to downgrade to java 1.7 and point tomcat to that version. But I still feel that GeoServer is not working at his best..

So I need some advice on advanced configuration. So far I've added these parameters to the java options on the apache tomcat monitor..

-server-Xmx2048M-Xms2048m-XX:MaxPermSize=512m-XX:SoftRefLRUPolicyMSPerMB=36000-XX:+UseParallelGC

I don't know if they're really OK. Can someone tell me if they're more or less OK?

My Set up:

Intel Xeon CPU @ 2.0 GHz
8 GB RAM
Window Server 2012 R2 64 bit.

Oracle Corporation: 1.7.0_80 (Java HotSpot(TM) Client VM) -> 32 bit
Tomcat 7 -> 32 bit

1 - http://docs.geoserver.org/stable/en/user/production/java.html#use-supported-jre

Help is much appreciated.

Thanks

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@...6818... | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER ***************************** Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Gabriel Roldán
Software Developer | Boundless
groldan@...5876...
@boundlessgeo

I think I've solved it.

It happened that Tomcat was installed as a Windows Service and couldn't get the params through the GUI so I've done it in command line:

"C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7.exe" //US//Tomcat7 --JvmMx=2048M --JvmMs=1024M ++JvmOptions="-Xms1024m" ++JvmOptions="-XX:MaxPermSize=512m" ++JvmOptions="-XX:SoftRefLRUPolicyMSPerMB=36000" ++JvmOptions="-XX:+UseParallelGC"

One strange thing though is that I can't pass the parameter ++JvmOptions="-Xmx2048m" as Tomcat crashes while starting up. I don't know why.

Now it seems that the performance is notably better.

Hope this can help to someone else.

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@...6818... | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda@…6818…]
Enviado el: jueves, 04 de febrero de 2016 8:19
Para: Gabriel Roldan
CC: GeoServer Users
Asunto: Re: [Geoserver-users] Production Config

Hi Gabriel,

Thanks for your response.

I've added this JVM options in the apache monitor in the Java options tab, and apparently, after testing different formats, I have to pass them without blank spaces and new lines... Otherwise the service won't start. And the thing is that I don't know if the parameters are getting set in the OS.

I have tomcat installed as a service in windows Server 2012

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@...6818... | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER ***************************** Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

De: Gabriel Roldan [mailto:groldan@…5876…] Enviado el: jueves, 04 de febrero de 2016 4:21
Para: David Alda Fernandez de Lezea
CC: GeoServer Users
Asunto: Re: [Geoserver-users] Production Config

how come there's no space between JVM arguments?, like in "-server-Xmx2048M-..." should be "-server -Xmx2048M -..."

Is that just a copy&paste error or is that how you're actually passing them, cause if it is I doubt they'll have any impact, or at least I've never seen JVM args passed in that way

On Wed, Feb 3, 2016 at 4:48 AM, David Alda Fernandez de Lezea <dalda@...6818...> wrote:
Hi,

To add more info... I've found that we have several JAVA HEAP SPACE errors in the logs.

How con confirm that the java options are set as I specified in the Tomcat Monitor?

Any ideas to improve our performance?

Thanks in advance.

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@...6818... | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER ***************************** Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda@…6818…] Enviado el: martes, 02 de febrero de 2016 11:21
Para: GeoServer Users
Asunto: [Geoserver-users] Production Config

Hi List,

After migrating our GeoServer 2.0.2 instance to the 2.8 version I've got a couple of questions regarding the configuration of GeoServer in a production environment. One thing that confused me was that on my older installation the process tomcat was able to consume up to 2 GB of ram, which is fine as we have plenty of RAM on that server, and to be honest we haven't had any problem, but in the new version I see that the process consumes up to 300 MB and I feel that when loading WMS vector layers it doesn't do as good as it was done by the older version. Perhaps it has to be like that and it's OK so I decided to go for a production tuning for GeoServer.

The first thing I saw is that according to GeoServer documentation (1) the 1.8 java version is not supported, and we installed that version... It's been working but perhaps those problems with 1.8 version were related to our performance problems.. So I decided to downgrade to java 1.7 and point tomcat to that version. But I still feel that GeoServer is not working at his best..

So I need some advice on advanced configuration. So far I've added these parameters to the java options on the apache tomcat monitor..

-server-Xmx2048M-Xms2048m-XX:MaxPermSize=512m-XX:SoftRefLRUPolicyMSPerMB=36000-XX:+UseParallelGC

I don't know if they're really OK. Can someone tell me if they're more or less OK?

My Set up:

Intel Xeon CPU @ 2.0 GHz
8 GB RAM
Window Server 2012 R2 64 bit.

Oracle Corporation: 1.7.0_80 (Java HotSpot(TM) Client VM) -> 32 bit Tomcat 7 -> 32 bit

1 - http://docs.geoserver.org/stable/en/user/production/java.html#use-supported-jre

Help is much appreciated.

Thanks

Regards,

Agur bero bat,

David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda@...6818... | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba

********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER ***************************** Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Gabriel Roldán
Software Developer | Boundless
groldan@...5876...
@boundlessgeo

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

In the olden days I recall an effective limit of about 1.3GB heap for 32-bit JVM. Perhaps this is relevant. I have not used a 32-bit architecture for many years (except my phone). But as you note, why would this regress?

On 05/02/16 00:18, David Alda Fernandez de Lezea wrote:

One strange thing though is that I can't pass the parameter ++JvmOptions="-Xmx2048m" as Tomcat crashes while starting up. I don't know why.

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand