Re: setting jvm parameters to optimize production performance

2016-05-06 Thread tomcat
On 06.05.2016 14:11, Stefan Frei wrote: Tomcat 8.0.33 Debain jessie java 8 Hello i cannot find any resources how to set configure the setenv.sh for a production environment. Does somebody have some tips? You have not been looking very hard. How about this for a start :

Re: setting jvm parameters to optimize production performance

2016-05-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stafan, On 5/6/16 8:11 AM, Stefan Frei wrote: > Tomcat 8.0.33 Debain jessie java 8 > > Hello > > i cannot find any resources how to set configure the setenv.sh for > a production environment. > > Does somebody have some tips? Just turn off the

Re: setting jvm parameters to optimize production performance

2016-05-06 Thread Aurélien Terrestris
Hi Stefan I think that tuning should be considered for one application, not for "production" or "development". First, you need to check how your JVM is working with its memory parameters. You can either learn its behaviour by checking the logs ( add this to the setenv : -XX:+PrintGCDetails

Re: setting jvm parameters to optimize production performance

2016-05-06 Thread Olaf Kock
Am 06.05.2016 um 14:11 schrieb Stefan Frei: > Tomcat 8.0.33 > Debain jessie > java 8 > > Hello > > i cannot find any resources how to set configure the setenv.sh for a > production environment. > > Does somebody have some tips? *How* to set them? CATALINA_OPTS="-your -parameters -here" *Which*

setting jvm parameters to optimize production performance

2016-05-06 Thread Stefan Frei
Tomcat 8.0.33 Debain jessie java 8 Hello i cannot find any resources how to set configure the setenv.sh for a production environment. Does somebody have some tips? Best regards Stefan - To unsubscribe, e-mail:

RE: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-25 Thread Jeffrey Janner
-Original Message- From: Matthias Müller [mailto:mm4...@googlemail.com] Sent: Thursday, September 20, 2012 2:02 PM To: Tomcat Users List Subject: Re: Setting JVM Parameters in Windows Service for Tomcat7 Hi, Environment variables are irrelevant when running services. That's why

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/22/12 3:36 PM, André Warnier wrote: Patrick Flaherty wrote: Is this a Windows platform ? :-) If you manage to run tomcat.exe on a platform other than Windows, let us know. It would greatly simplify the Tomcat releases. I wonder if

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-22 Thread André Warnier
Patrick Flaherty wrote: Hi Mikolaj, Is this a Windows platform ? :-) If you manage to run tomcat.exe on a platform other than Windows, let us know. It would greatly simplify the Tomcat releases. -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012 15:59, Patrick

Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
Hi, I want to set JVM Parameters in a Windows Service (Windows7) for Tomcat7 (7.0.30) The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 11:41, Matthias Müller wrote: The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the registry. Is it possible to specify these

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread jean-louis . mateo
/2012 11:57 Objet : Setting JVM Parameters in Windows Service for Tomcat7 Hi, I want to set JVM Parameters in a Windows Service (Windows7) for Tomcat7 (7.0.30) The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread chris derham
The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the registry. Matthias - can you please elaborate on exactly what it is not practicable for

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
HI Matthias, I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ? I'm just looking to set the min/max heap sizes. Thanks Pat On Sep 20, 2012, at 5:41 AM,

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ? I'm just looking to set the min/max heap sizes.

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Brett Delle Grazie
On 20 September 2012 13:53, Mikolaj Rydzewski m...@ceti.pl wrote: On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ?

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
On Sep 20, 2012, at 9:25 AM, Brett Delle Grazie wrote: On 20 September 2012 13:53, Mikolaj Rydzewski m...@ceti.pl wrote: On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 15:59, Patrick Flaherty wrote: Have you tried this and gotten it to work ? My check to see if it took has been to open tomcatw.exe and check the values there. No matter what I've tried I cannot get it to take. Yes, it works for me in both ways (either via CLI or GUI). In fact I

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
Hi Mikolaj, Is this a Windows platform ? -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012 15:59, Patrick Flaherty wrote: Have you tried this and gotten it to work ? My check to see if it took has been to open tomcatw.exe and check the values there. No matter what

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 16:39, Patrick Flaherty wrote: Is this a Windows platform ? Looking at the path I suppose so :-) ${root}\\bin\\tomcat6.exe -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail:

RE: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Martin Gainty
à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Thu, 20 Sep 2012 16:47:05 +0200 From: m...@ceti.pl To: users@tomcat.apache.org Subject: Re: Setting JVM Parameters in Windows Service for Tomcat7 On 20.09.2012 16:39, Patrick Flaherty wrote

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 9/20/12 11:37 AM, Martin Gainty wrote: if passing the -D options are not working for you when running service why not SET JAVA_OPTS=-Xms1024m -Xmx1024m and then run the service? Environment variables are irrelevant when running

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
Hi Mikolaj, I got it to work. I was not using a space after the --JvmMs and -- JvmMx switches. So in summary the following works: \tomcat7.exe //US//tomcat7 --JvmMs 512 --JvmMx 1024 Thanks for everyone's help. -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for our production environment means? I want to put the

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread David kerber
On 9/20/2012 3:02 PM, Matthias Müller wrote: Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for our

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
On Sep 20, 2012, at 3:02 PM, Matthias Müller wrote: Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for

setting JVM parameters

2009-07-31 Thread dori
(as a service on centOS), the catalina file is in tomcat/bin any help much appreciated! -- View this message in context: http://www.nabble.com/setting-JVM-parameters-tp24757042p24757042.html Sent from the Tomcat - User mailing list archive at Nabble.com

RE: setting JVM parameters

2009-07-31 Thread Caldarale, Charles R
From: dori [mailto:dorian.cus...@googlemail.com] Subject: setting JVM parameters JAVA_OPTS=$JAVA_OPTS -Xmx128m -Xms128m by placing it at the top of my catalina.sh file Better to create a setenv.sh file with the above than to modify the Tomcat-supplied script. I am running tomcat6

RE: setting JVM parameters

2009-07-31 Thread dori
...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/setting-JVM-parameters-tp24757042p24757437.html Sent from the Tomcat - User mailing list archive at Nabble.com

RE: setting JVM parameters

2009-07-31 Thread dori
a little confused! Caldarale, Charles R wrote: From: dori [mailto:dorian.cus...@googlemail.com] Subject: setting JVM parameters JAVA_OPTS=$JAVA_OPTS -Xmx128m -Xms128m by placing it at the top of my catalina.sh file Better to create a setenv.sh file with the above than to modify

RE: setting JVM parameters

2009-07-31 Thread Martin Gainty
From: dorian.cus...@googlemail.com To: users@tomcat.apache.org Subject: RE: setting JVM parameters Hello, It was installed through a control panel (parellels), i start an stop by typing service tomcat6 restart at command line. Looking at the tomcat file in etc/init.d/ i see

RE: setting JVM parameters

2009-07-31 Thread dori
accepter aucune responsabilité pour le contenu fourni. Date: Fri, 31 Jul 2009 07:32:38 -0700 From: dorian.cus...@googlemail.com To: users@tomcat.apache.org Subject: RE: setting JVM parameters Hello, It was installed through a control panel (parellels), i start an stop by typing