Re: Tomcat memory growth while using TLS

2019-01-12 Thread John Dale
I love it when a memory leak bites the dust .. it's a great feeling to extend process life. Fixed one yesterday in a capture/encode buffer of my mp3 streamer. Kudos, Mark! :) John On 1/12/19, i...@flyingfischer.ch wrote: > Am 11.01.19 um 18:23 schrieb Mark Thomas: >> Found it. >> >> The

Re: Tomcat memory growth while using TLS

2019-01-12 Thread i...@flyingfischer.ch
Am 11.01.19 um 18:23 schrieb Mark Thomas: > Found it. > > The leak impacted NIO and NIO2 when used with OpenSSL. > > The bug is in Tomcat Native. I have a fix that I am currently testing. > That fix should be in the next Tomcat Native release. > > For those interested in the technical details,

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Mark Thomas
On 11/01/2019 21:07, Christopher Schultz wrote: > Mark, > > On 1/11/19 13:50, Mark Thomas wrote: >> On 11/01/2019 17:31, Christopher Schultz wrote: >>> Mark, >>> >>> On 1/11/19 12:23, Mark Thomas wrote: On 10/01/2019 19:55, Mark Thomas wrote: >>> >>> > I've just tracked down one

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/11/19 13:50, Mark Thomas wrote: > On 11/01/2019 17:31, Christopher Schultz wrote: >> Mark, >> >> On 1/11/19 12:23, Mark Thomas wrote: >>> On 10/01/2019 19:55, Mark Thomas wrote: >> >>> >> I've just tracked down one leak although

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Mark Thomas
On 11/01/2019 17:31, Christopher Schultz wrote: > Mark, > > On 1/11/19 12:23, Mark Thomas wrote: >> On 10/01/2019 19:55, Mark Thomas wrote: > >> > >>> I've just tracked down one leak although it is a relatively small >>> one. Next steps are to fix that leak and then find the next one. >>> And

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/11/19 12:23, Mark Thomas wrote: > On 10/01/2019 19:55, Mark Thomas wrote: > > > >> I've just tracked down one leak although it is a relatively small >> one. Next steps are to fix that leak and then find the next one. >> And then

Re: Tomcat memory growth while using TLS

2019-01-11 Thread Mark Thomas
On 10/01/2019 19:55, Mark Thomas wrote: > I've just tracked down one leak although it is a relatively small one. > Next steps are to fix that leak and then find the next one. And then repeat. Found it. The leak impacted NIO and NIO2 when used with OpenSSL. The bug is in Tomcat Native. I have

Re: Tomcat memory growth while using TLS

2019-01-10 Thread Mark Thomas
On 10/01/2019 17:31, john.e.gr...@wellsfargo.com wrote: > The first troubleshooting step should be to take a heap dump and analyze it > with a tool like Eclipse MAT. If you read the entire thread you will see that I have already done that. The Java Heap (in fact all the JVM managed pools)

RE: Tomcat memory growth while using TLS

2019-01-10 Thread John.E.Gregg
Mason, Mark, etc... > -Original Message- > From: Mark Thomas > Sent: Thursday, January 10, 2019 10:45 AM > To: users@tomcat.apache.org > Subject: Re: Tomcat memory growth while using TLS > > On 09/01/2019 14:24, Mark Thomas wrote: > > On 09/01/20

Re: Tomcat memory growth while using TLS

2019-01-10 Thread Mark Thomas
On 09/01/2019 14:24, Mark Thomas wrote: > On 09/01/2019 10:14, Mark Thomas wrote: >> It may be you are seeing the same thing. Or you may have found a memory >> leak. The next step would be to use a profiler to see where the memory >> is being used. > > Using NIO + OpenSSL with the settings

Re: Tomcat memory growth while using TLS

2019-01-09 Thread Mark Thomas
On 09/01/2019 10:14, Mark Thomas wrote: > On 08/01/2019 23:51, Mason Meier wrote: >> Hello, >> >> I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth >> with requests over time, to the point that if I run Tomcat in Docker and >> make constant requests to it, Docker will kill

Re: Tomcat memory growth while using TLS

2019-01-09 Thread i...@flyingfischer.ch
Am 09.01.19 um 11:14 schrieb Mark Thomas: > On 08/01/2019 23:51, Mason Meier wrote: >> Hello, >> >> I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth >> with requests over time, to the point that if I run Tomcat in Docker and >> make constant requests to it, Docker will

Re: Tomcat memory growth while using TLS

2019-01-09 Thread Mark Thomas
On 08/01/2019 23:51, Mason Meier wrote: > Hello, > > I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth > with requests over time, to the point that if I run Tomcat in Docker and > make constant requests to it, Docker will kill the container due to > excessive memory

Tomcat memory growth while using TLS

2019-01-08 Thread Mason Meier
Hello, I'm running Tomcat-8.5 with TLS and I've noticed substantial memory growth with requests over time, to the point that if I run Tomcat in Docker and make constant requests to it, Docker will kill the container due to excessive memory utilization. The problem occurs with standalone Tomcat as

Re: Question - Tomcat Memory

2017-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ramya, On 11/16/17 1:48 PM, Ramya Elineni wrote: > The "Initial memory pool" and "maximum memory pool" are the two > configurations under Tomcat. I couldn't find any detailed > explanation of how Tomcat uses these settings. Others have provided

Re: Question - Tomcat Memory

2017-11-16 Thread Suvendu Sekhar Mondal
On Nov 17, 2017 12:18 AM, "Ramya Elineni" wrote: The "Initial memory pool" and "maximum memory pool" are the two configurations under Tomcat. I couldn't find any detailed explanation of how Tomcat uses these settings. Those settings are equivalent to Xms and Xmx

Re: Question - Tomcat Memory

2017-11-16 Thread Coty Sutherland
On Thu, Nov 16, 2017 at 1:48 PM, Ramya Elineni wrote: > The "Initial memory pool" and "maximum memory pool" are the two > configurations under Tomcat. I couldn't find any detailed explanation of how > Tomcat uses these settings. I request you to please provide me

Question - Tomcat Memory

2017-11-16 Thread Ramya Elineni
The "Initial memory pool" and "maximum memory pool" are the two configurations under Tomcat. I couldn't find any detailed explanation of how Tomcat uses these settings. I request you to please provide me that informaiotn so that I can have the appropriate values set on a production environment.

Re: Tomcat memory

2017-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 8/17/17 6:57 AM, Leon Rosenberg wrote: > Fady, one thing, > > analyzing heap dumps is hard especially a 10GB dump, you will need > at least 40 Gb of memory an about 10 hours to start jhat. What is > fast is analyzing a histogram. A

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 14:21, Suvendu Sekhar Mondal wrote: According to this however : https://eclipsesource.com/blogs/2013/01/31/creating-tomcat-heap-dumps-on-windows/ jmap does not work under Windows, if Tomcat is running as a Service (seems likely in the OP's case) I don't know if that's true, have

Re: Tomcat memory

2017-08-17 Thread Suvendu Sekhar Mondal
> According to this however : > https://eclipsesource.com/blogs/2013/01/31/creating-tomcat-heap-dumps-on-windows/ > jmap does not work under Windows, if Tomcat is running as a Service > (seems likely in the OP's case) > I don't know if that's true, have not checked it. Andre, That is not correct.

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 12:57, Leon Rosenberg wrote: Fady, one thing, analyzing heap dumps is hard especially a 10GB dump, you will need at least 40 Gb of memory an about 10 hours to start jhat. What is fast is analyzing a histogram. A histogram is a list of all classes in your JVM and amount of memory

Re: Tomcat memory

2017-08-17 Thread Suvendu Sekhar Mondal
Hi Fady, On Thu, Aug 17, 2017 at 12:16 PM, Fady Haikal wrote: > @Suvendu, > I took a heap dump from Java VisualVM but honestly i didnt know how i > should analyse it, please some help here Acquire the software: André has already given you some pointer. My favorite is

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 12:57, Leon Rosenberg wrote: Fady, one thing, analyzing heap dumps is hard especially a 10GB dump, you will need at least 40 Gb of memory an about 10 hours to start jhat. Hmm. Good to know. Strange that the documentation didn't say anything about that.. :-) What is fast is

Re: Tomcat memory

2017-08-17 Thread Leon Rosenberg
Fady, one thing, analyzing heap dumps is hard especially a 10GB dump, you will need at least 40 Gb of memory an about 10 hours to start jhat. What is fast is analyzing a histogram. A histogram is a list of all classes in your JVM and amount of memory they use. It is very easy to use: jmap

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 11:21, Fady Haikal wrote: Team, Please i need some help her Maybe start here ? http://lmgtfy.com/?q=analyse+tomcat+heap+dump (and this looks like it might help you : http://docs.oracle.com/javase/7/docs/technotes/tools/share/jhat.html) To restate the obvious : - this list here

Re: Tomcat memory

2017-08-17 Thread Fady Haikal
Team, Please i need some help her Regards, On Thu, Aug 17, 2017 at 9:46 AM, Fady Haikal wrote: > @Suvendu, > I took a heap dump from Java VisualVM but honestly i didnt know how i > should analyse it, please some help here > > also please find below the java configuration

Re: Tomcat memory

2017-08-17 Thread Fady Haikal
@Suvendu, I took a heap dump from Java VisualVM but honestly i didnt know how i should analyse it, please some help here also please find below the java configuration i used: -XX:PermSize=10240m -XX:MaxPermSize=10240m -XX:ReservedCodeCacheSize=512m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC

Re: Tomcat memory

2017-08-16 Thread tomcat
On 16.08.2017 15:34, Fady Haikal wrote: Dear Team, I'm facing an issue that tomcat from task manager is consuming around 60 GB of memory while from Oracle Java Mission Control is showing maximum 10 GB (Attached screenshots), and from time to time the server hang due to insufficent memory. can

Re: Tomcat memory

2017-08-16 Thread Suvendu Sekhar Mondal
Hi Fady, On Aug 16, 2017 7:04 PM, "Fady Haikal" wrote: Dear Team, I'm facing an issue that tomcat from task manager is consuming around 60 GB of memory while from Oracle Java Mission Control is showing maximum 10 GB (Attached screenshots), and from time to time the server

Tomcat memory

2017-08-16 Thread Fady Haikal
Dear Team, I'm facing an issue that tomcat from task manager is consuming around 60 GB of memory while from Oracle Java Mission Control is showing maximum 10 GB (Attached screenshots), and from time to time the server hang due to insufficent memory. can you please advise why the above is showing

Re: Tomcat memory

2016-02-23 Thread tomcat
ailto:a...@ice-sa.com] Sent: Monday, February 22, 2016 8:37 AM To: users@tomcat.apache.org Subject: Re: Tomcat memory On 22.02.2016 13:02, Gokul.Baskaran wrote: The answer I expected is the JVM grows as much as to the available system memory of there are m min and max set. Gokul, Well, no.

RE: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
, it is clear and thanks for explaining. -Gokul -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Monday, February 22, 2016 8:37 AM To: users@tomcat.apache.org Subject: Re: Tomcat memory On 22.02.2016 13:02, Gokul.Baskaran wrote: > The answer I expected is the J

Re: Tomcat memory

2016-02-22 Thread tomcat
In my case, the Tomcat is running on windows and I don't have setenv.bat or sentenv.sh or even catalina.bat and catalina.conf does not have the OPT config for min and max. HTH Thank you -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 PM

RE: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
...@verizon.net] Sent: Monday, February 22, 2016 6:46 AM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat memory On 2/22/2016 7:02 AM, Gokul.Baskaran wrote: > The answer I expected is the JVM grows as much as to the available system > memory of there are m min

Re: Tomcat memory

2016-02-22 Thread David kerber
know if the tomcat ui or the catalina does not have a Xms and -Xmx, would it default to 400MB? I read this in another forum. -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:14 AM To: Tomcat Users List <users@tomcat.apache.org>

Re: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
t; -Gokul >> >> >> -Original Message- >> From: Olaf Kock [mailto:tom...@olafkock.de] >> Sent: Sunday, February 21, 2016 3:04 PM >> To: Tomcat Users List <users@tomcat.apache.org> >> Subject: Re: Tomcat memory >> &

Re: Tomcat memory

2016-02-22 Thread tomcat
[mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat memory grep mx bin/* found only settings in setenv.sh in my installation - this lets me state that there are no defaults: setenv.sh is not con

RE: Tomcat memory

2016-02-21 Thread Gokul . Baskaran
not have the OPT config for min and max. HTH Thank you -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat memory grep mx bin/* found only settings in set

Re: Tomcat memory

2016-02-21 Thread Christopher Schultz
ou have specified them yourself. -chris > -Original Message- From: Olaf Kock > [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:14 AM > To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat > memory > > This is rather a Java than a tomcat qu

Re: Tomcat memory

2016-02-21 Thread Olaf Kock
To: Tomcat Users List <users@tomcat.apache.org> > Subject: Re: Tomcat memory > > This is rather a Java than a tomcat question: > > The JVM allocates memory based on whatever default your current JVM version > decides (you don't mention what version of Java you're

RE: Tomcat memory

2016-02-21 Thread Gokul . Baskaran
does not have a Xms and -Xmx, would it default to 400MB? I read this in another forum. -Gokul -Original Message- From: Olaf Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:14 AM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat

Re: Tomcat memory

2016-02-21 Thread Olaf Kock
This is rather a Java than a tomcat question: The JVM allocates memory based on whatever default your current JVM version decides (you don't mention what version of Java you're on) >From a text on http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html that's linked from my

Tomcat memory

2016-02-20 Thread Gokul . Baskaran
Hi, I am currently running tomcat 7 in Windows 2012. The current JVM Heap memory parameters are set to empty, does the JVM Heap memory utilize the entire memory of the OS or does it default to a specific memory number? Thank you -Gokul

Tomcat Memory Leaks.

2014-09-17 Thread Ahmed Hosni
I am using tomcat 7 on production environment, I used Find Leaks option it called GC but I didn't get any information.It should show more information, I hope to get information about memory and unreachable objects which caused the leak. -- Best Regards *Ahmed Hosni*

Re: Tomcat Memory Leaks.

2014-09-17 Thread David kerber
On 9/17/2014 10:24 AM, Ahmed Hosni wrote: I am using tomcat 7 on production environment, I used Find Leaks option it called GC but I didn't get any information.It should show more information, I hope to get information about memory and unreachable objects which caused the leak. Are you sure

Re: Tomcat memory requirements

2012-01-26 Thread Pid
On 26/01/2012 00:25, André Warnier wrote: Pid wrote: I'm not actually a committer. Just a mailing list lurker. but you are close to the gods.. Aww shucks p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Tomcat memory requirements

2012-01-25 Thread Celso Magalhães Dantas Neto
Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is complaining about it. It's a webapp and for me it's normal

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
...@reconcavo.org.br: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is complaining about it. It's a webapp and for me it's

Re: Tomcat memory requirements

2012-01-25 Thread Konstantin Kolinko
2012/1/25 Celso Magalhães Dantas Neto ce...@reconcavo.org.br: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he

Re: Tomcat memory requirements

2012-01-25 Thread Mark Thomas
. So I'm looking for some Tomcat memory requirements info, even if it's a memory requirements to run Tomcat only, with no deployed webapp. It will help me to argue with him. Thanks! -- http://www.reconcavo.org.br/ *CELSO DANTAS* *Pesquisa Inovação + 55 71 2101.4104 | skype: celsomdantas

Re: Tomcat memory requirements

2012-01-25 Thread chris derham
to say that java just kept on consuming memory infinitely 2012/1/25, Celso Magalhães Dantas Neto ce...@reconcavo.org.br: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Couldn't you just run tomcat without any webapps installed

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Celso Magalhães Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is complaining about it. It's

Re: Tomcat memory requirements

2012-01-25 Thread Mark Thomas
On 25/01/2012 11:45, Celso Magalhães Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Tomcat needs less than 20MB to start up. Everything after that depends on the application and the load level. Here's the problem: I got

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Really sorry about that =[ 2012/1/25, Mark Thomas ma...@apache.org: On 25/01/2012 11:45, Celso Magalhăes Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Tomcat needs less than 20MB to start up. Everything after

Re: Tomcat memory requirements

2012-01-25 Thread Pid *
On 25 Jan 2012, at 12:53, Mark Thomas ma...@apache.org wrote: On 25/01/2012 11:45, Celso Magalhães Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Tomcat needs less than 20MB to start up. Everything after that depends

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Pid * wrote: ... And of this, a Tomcat instance with just the ROOT application can be observed to consume from ~6Mb to ~10Mb of RAM in the object heap with a nice stable sawtooth on most systems. Not that I want to cast doubt upon your measurements, but somehow that seems hard to believe.

Re: Tomcat memory requirements

2012-01-25 Thread Celso Magalhães Dantas Neto
memory consumption of a small 1 CRUD application (for example). And yes I could start Tomcat with no app, and create a 1 CRUD application, but I would prefer to argue with some trusted article or official information. Ah! BTW, I'm not complaining about Java or Tomcat memory consumption! I'm just

Re: Tomcat memory requirements

2012-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celso, On 1/25/12 6:45 AM, Celso Magalhães Dantas Neto wrote: Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking

Re: Tomcat memory requirements

2012-01-25 Thread Pid
, I'm not complaining about Java or Tomcat memory consumption! I'm just trying to argue with the client. =D And I'm running Tomcat 6 and Java 1.6 I work for a fairly large well known company that ships a commercial version of Tomcat with the default heap size set to 512Mb. I regularly see heaps

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Celso Magalhães Dantas Neto wrote: Thanks everyone for the reply! My problem is not to argue how the application is consuming RAM, but to show that 150MB is not too much memory. But for that I'd like to use trusted information such as an article, or official info. The client doesn't understand

Re: Tomcat memory requirements

2012-01-25 Thread Pid
On 25/01/2012 21:48, André Warnier wrote: Celso Magalhães Dantas Neto wrote: Thanks everyone for the reply! My problem is not to argue how the application is consuming RAM, but to show that 150MB is not too much memory. But for that I'd like to use trusted information such as an article, or

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Pid wrote: I'm not actually a committer. Just a mailing list lurker. but you are close to the gods.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Tomcat memory allocation

2011-12-12 Thread Mark H. Wood
On Fri, Dec 09, 2011 at 02:52:23PM -, Martin O'Shea wrote: Thanks for this Chuck. I realise now what is happening. I thought the PermGen space was used in the heap when now I see it as just storing class definitions. So I could reduce it below 128Mb if I choose. Is there a default value?

RE: Tomcat memory allocation

2011-12-12 Thread Jeffrey Janner
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, December 09, 2011 10:35 AM To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I

Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
Hello Following advice found elsewhere on the internet, I've just added the following line to the catalina.bat file in my installation of tomcat 6.0.26: set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m I know that settings: Xms128m -Xmx512m Control the initial heap size and

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: Tomcat memory allocation Following advice found elsewhere on the internet Always to be taken with large chunks of salt. set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m You would be better off using CATALINA_OPTS

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
earlier and I wonder if memory was to blame although there is nothing in the system or server logs to say so. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 14 46 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation So I could reduce it below 128Mb if I choose. Is there a default value? Yes - for each platform and JVM type. Use JConsole on a running JVM to see what it is. A job hung earlier and I wonder

Re: Tomcat memory allocation

2011-12-09 Thread Ronald Klop (Mailing List)
Op vrijdag, 9 december 2011 16:11 schreef Pid p...@pidster.com: On 09/12/2011 14:52, Martin O'Shea wrote: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 14 46 To: Tomcat Users List Subject: RE: Tomcat memory allocation

RE: Tomcat memory allocation

2011-12-09 Thread Daniel Mikusa
in the system or server logs to say so. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 14 46 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: Tomcat memory

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat to hold all your local settings. set CATALINA_OPTS=%CATALINA_OPTS% -Xms128m -Xmx768m

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation Sorry to belabour this but if I create a setenv.bat file with settings: set CATALINA_OPTS=%CATALINA_OPTS% -Xms128m -Xmx768m -XX:MaxPermSize=128m where should the file go and does it need to be called

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
I should add that Tomcat is running as a Windows service, it isn't started manually. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that we've been discussing about JAVA_OPTS, CATALINA_OPTS, startup.bat, catalina.bat

Re: Tomcat memory allocation

2011-12-09 Thread André Warnier
...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat

Re: Tomcat memory allocation

2011-12-09 Thread David kerber
On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that we've been discussing about JAVA_OPTS

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
...@verizon.net] Sent: 09 Dec 2011 16 02 To: users@tomcat.apache.org Subject: Re: Tomcat memory allocation On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I believe I should be looking in the Windows Registry DO NOT edit the Windows registry - you will break something. Use the tomcat?w.exe utility; that's what it's for. - Chuck THIS COMMUNICATION MAY

Re: Tomcat memory allocation

2011-12-09 Thread André Warnier
David kerber wrote: On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that we've been

Re: Tomcat memory allocation

2011-12-09 Thread Pid
On 09/12/2011 16:37, André Warnier wrote: David kerber wrote: On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually

Tomcat Memory Leak

2011-02-20 Thread הילה
Hey, I sent it today but I'm not sure it was sent, so I'm sending again (and that's the last time :)). I work in a company which we use Tomcat (5.5.26 , and recently we've upgraded it to 6.0.29) to run our application. The tomcat is running on servers with OS windows 2008 R2 STD. The

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-20 Thread Pid
On 20/10/2010 12:41, Martin O'Shea wrote: And then when I terminate the Quartz application, but leave Tomcat running, the second dump appears to be show no trace of these messages at all. So does this indicate that Quartz has shut down but only after my application has stopped within Tomcat,

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-20 Thread Martin O'Shea
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 20/10/2010 12:41, Martin O'Shea wrote: And then when I terminate the Quartz application, but leave Tomcat running, the second dump appears to be show no trace of these messages at all. So does this indicate

Heading [OT] Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread Pid
On 19/10/2010 01:07, Mark Eggers wrote: Once again, I apologize for the wall of text. However, most of it is pretty quick and dirty code, so it should be easy to skim. I'm guessing the end result is harmless? Well, if the ClassLoader is still extant after it's supposed to have been cleared

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread appy74
Well, I've tried Mark's code earlier, albeit without using a properties file for Log4J, and the position has improved slightly. The log indicates the following: INFO: Pausing Coyote AJP/1.3 on ajp-8009 Job Job1 unsubmitted at 2010-10-19 15:18:10 24047 [main] INFO org.quartz.core.QuartzScheduler

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread Caldarale, Charles R
From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 Where there are fewer messages but it still seems as if Tomcat is detecting Quartz threads after Quartz is shut down. Which means Quartz isn't really shutting

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-19 Thread appy74
Are you able to advise how this may be done within NetBeans 6.9.1 / Tomcat 6.0.26? Thanks. Quoting Caldarale, Charles R chuck.caldar...@unisys.com: From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 Where

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 10/16/2010 11:11 AM, Martin O'Shea wrote: Definitely seems to be when the web application in question is terminated, rather than Tomcat itself. And all indications are the listener that handles the scheduler. And I've tried another

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Martin O'Shea
You're probably correct and assuming this is to do with Quartz which it seems to be, are you aware of any similar cases or remedies? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 Oct 2010 13 49 To: Tomcat Users List Subject: Re: Tomcat

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Eggers
...@dsl.pipex.com To: Tomcat Users List users@tomcat.apache.org Sent: Mon, October 18, 2010 5:52:08 AM Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 You're probably correct and assuming this is to do with Quartz which it seems to be, are you aware of any similar cases or remedies

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Thomas
On 18/10/2010 12:05, Mark Eggers wrote: I saw a mention of this on the Quartz forums. People there seem to think it's a race condition between Quartz's scheduler shutdown and Tomcat's thread memory leak reporting. That is certainly possible. There was a reason I wrote the message This is

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Thomas
On 18/10/2010 16:56, Mark Thomas wrote: On 18/10/2010 12:05, Mark Eggers wrote: I saw a mention of this on the Quartz forums. People there seem to think it's a race condition between Quartz's scheduler shutdown and Tomcat's thread memory leak reporting. That is certainly possible.

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Pid
);. If I'm wrong, please let me know. -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: 18 Oct 2010 18 06 To: Tomcat Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 I saw a mention of this on the Quartz forums. People

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Pid
On 18/10/2010 23:02, Mark Thomas wrote: On 18/10/2010 16:56, Mark Thomas wrote: On 18/10/2010 12:05, Mark Eggers wrote: I saw a mention of this on the Quartz forums. People there seem to think it's a race condition between Quartz's scheduler shutdown and Tomcat's thread memory leak

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Eggers
first, then getting a scheduler, then starting the scheduler, and finally adding a job. - Original Message From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Mon, October 18, 2010 3:15:28 PM Subject: Re: Tomcat memory leak error launching web app in NetBeans

Re: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-18 Thread Mark Eggers
Once again, I apologize for the wall of text. However, most of it is pretty quick and dirty code, so it should be easy to skim. I'm guessing the end result is harmless? It does seem like a race condition. Everything seems to work fine until shutdown. When DEBUG is set in logging, you get the

RE: Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-17 Thread Martin O'Shea
Well, I've upgraded to Quartz 1.8.3 and the two SLF4J files that seem to be needed. I believe Quartz's config is correct with regards to the two scheduled jobs I have. But upon terminating my web app in Tomcat or terminating Tomcat, I still find a number of messages: -Oct-2010 14:40:52

Tomcat memory leak error launching web app in NetBeans 6.9.1

2010-10-16 Thread Martin O'Shea
Hello I wonder if anyone can help here? I am developing a web application written in Java servlets and JSPs which uses Quartz 1.6.1 to submit two jobs when Apache Tomcat 6.0.26 is started and hourly after that. But what I'm finding is that a message is issued several times as the server is

  1   2   3   >