Hello,
I installed GeoServer as a windows service. Then I found in the
documentation for GeoServer in Production that some parameters should be
given too, e. g.:
• -server
• -Xms48m -Xmx256M
• -XX:SoftRefLRUPolicyMSPerMB=36000
• -XX:MaxPermSize=128m
and -XX:XX:+UseParallelGC
How can I set this parameters in wrapper.conf? Can anybody help me.
Thanks in advance.
Schokokeksi
--
View this message in context: http://www.nabble.com/how-to-set--server-etc.-when-geoserver-runs-as-service-on-windows--tp18047201p18047201.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Schokokeksi,
I have never actually tried this but looking at wrapper.conf it looks like you can set the memory parameters (-Xms and -Xmx ) with the wrapper.java.initmemory and wrapper.java.maxmemory options respectively.
About the rest I am a little unsure. There is a section for "Java Additional Paramters". Have you tried:
wrapper.java.additional.3=-server
wrapper.java.additional.4=-XX:SoftRefLRUPolicyMSPerMB=36000
etc...
Anyways, hopefully someone more familiar with the wrappers use can better comment.
-Justin
schokokeksi wrote:
Hello,
I installed GeoServer as a windows service. Then I found in the
documentation for GeoServer in Production that some parameters should be
given too, e. g.:
• -server
• -Xms48m -Xmx256M
• -XX:SoftRefLRUPolicyMSPerMB=36000
• -XX:MaxPermSize=128m and -XX:XX:+UseParallelGC
How can I set this parameters in wrapper.conf? Can anybody help me.
Thanks in advance.
Schokokeksi
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com