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 leak

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, Tomc

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 lea

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 t

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 repeat

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) were

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 from

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 kil

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 utiliz

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 histogr

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 not

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 th

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 Eclipse MAT[http://www.eclip

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 an

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 -histo:

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 i

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 i used: > -XX:PermSize

Re: Tomcat memory

2017-08-16 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 -XX:+CMS

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 y

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 hang due to insufficent

Re: Tomcat memory

2016-02-23 Thread tomcat
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 JVM grows as much as to the available system memory of there are m min and max set. Gokul,

RE: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
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
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 P

RE: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
...@verizon.net] Sent: Monday, February 22, 2016 6:46 AM To: Tomcat Users List 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 and max set. But if you go back an

Re: Tomcat memory

2016-02-22 Thread David kerber
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 To: Tomcat Users List Subject: Re: Tomcat memory grep mx bin/* found only s

Re: Tomcat memory

2016-02-22 Thread Gokul . Baskaran
>> >> -Original Message- >> From: Olaf Kock [mailto:tom...@olafkock.de] >> Sent: Sunday, February 21, 2016 3:04 PM >> To: Tomcat Users List >> Subject: Re: Tomcat memory >> >> grep mx bin/* found only settings in setenv.sh in my installat

Re: Tomcat memory

2016-02-22 Thread tomcat
Kock [mailto:tom...@olafkock.de] Sent: Sunday, February 21, 2016 3:04 PM To: Tomcat Users List 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 contained in the distribution but will be

RE: Tomcat memory

2016-02-21 Thread Gokul . Baskaran
s 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 Subject: Re: Tomcat memory grep mx bin/* found only settings in setenv.sh in my installation -

Re: Tomcat memory

2016-02-21 Thread Christopher Schultz
x27;s defaults, or you 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 Subject: Re: Tomcat > memory > > This is rather a Java than a tomcat question: >

Re: Tomcat memory

2016-02-21 Thread Olaf Kock
ig, I would curious to 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 2

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 Subject: Re: Tomcat memory This is rather a Java than a 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 Ja

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

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: users-h...@tomcat.apache.org

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 ar

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 a

Re: Tomcat memory requirements

2012-01-25 Thread Pid
On 25/01/2012 18:19, 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. Th

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 ta

Re: Tomcat memory requirements

2012-01-25 Thread Celso Magalhães Dantas Neto
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 anything about technologies but has op

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

Re: Tomcat memory requirements

2012-01-25 Thread Pid *
On 25 Jan 2012, at 12:53, Mark Thomas 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 > on the

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Really sorry about that =[ 2012/1/25, 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

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

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 a weba

Re: Tomcat memory requirements

2012-01-25 Thread chris derham
> > Hi Celso, you signature is in portuguese because that i will talk in > portuguese... > > Tenho 12 anos de experiência com Linux e dois livros publicados, nunca > vi um tomcat rodar sem consumir umas cacetadas de megas de memória, > acho que o java, é uma plataforma ruim, mas que todo mundo defe

Re: Tomcat memory requirements

2012-01-25 Thread Mark Thomas
On 25/01/2012 11:55, Luciano Andress Martini wrote: > Hi Celso, you signature is in portuguese because that i will talk in > portuguese... This list conducts its business in English. We do not normally use other languages. If anyone feels unable to express themselves in English then by all means

Re: Tomcat memory requirements

2012-01-25 Thread Konstantin Kolinko
2012/1/25 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

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Hi Celso, you signature is in portuguese because that i will talk in portuguese... Tenho 12 anos de experiência com Linux e dois livros publicados, nunca vi um tomcat rodar sem consumir umas cacetadas de megas de memória, acho que o java, é uma plataforma ruim, mas que todo mundo defende e quer us

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] &

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

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

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

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

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

Re: Tomcat memory allocation

2011-12-09 Thread André Warnier
uck.caldar...@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; cr

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, sta

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'She

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 an

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; cre

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_O

RE: Tomcat memory allocation

2011-12-09 Thread Daniel Mikusa
onder 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

Re: Tomcat memory allocation

2011-12-09 Thread Ronald Klop (Mailing List)
Op vrijdag, 9 december 2011 16:11 schreef Pid : 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

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
ading? -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 15 03 To: Tomcat Users List Subject: RE: Tomcat memory allocation > From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory allocation > So I could reduce

Re: Tomcat memory allocation

2011-12-09 Thread Pid
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 > >> From: Martin O'Shea [mailt

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 ear

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: Mar

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_OPT

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

2010-10-20 Thread Martin O'Shea
Users List 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

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
.e. that Tomcat monitors my application's demise and reports the threads as extant because Quartz has not yet ended? Full dumps are available if required. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 19 Oct 2010 16 57 To: Tomcat Users List Subje

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

2010-10-19 Thread appy74
Thanks Charles. Quoting "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 > > > Are you able to advise how this may be done within > > NetBea

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 > Are you able to advise how this may be done within > NetBeans 6.9.1 / Tomcat 6.0.26? Within NetBeans? No idea. (As stated before, I don't

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" : > > From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com] > > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 >

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

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

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 cleare

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

2010-10-19 Thread Martin O'Shea
Thanks Mark. I will give this a try later on. -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: 19 Oct 2010 01 08 To: Tomcat Users List Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 Once again, I apologize for the wall of text. However

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 foll

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

2010-10-18 Thread Mark Eggers
ting the SchedulerFactory first, then getting a scheduler, then starting the scheduler, and finally adding a job. - Original Message From: Pid To: Tomcat Users List Sent: Mon, October 18, 2010 3:15:28 PM Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 18/1

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 >>> memo

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

2010-10-18 Thread Pid
yet. > > Finally, there are two ways to shut down the scheduler. The default > (graceful) > way waits for any pending jobs to complete. Calling shutdown(false) > immediately > terminates the scheduler. This doesn't seem to be configurable using the > supplied listener, so the

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 p

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

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

2010-10-18 Thread Martin O'Shea
he scheduler should end 'gracefully' by unsubmitting the jobs and by using scheduler.shutdown(true);. 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

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

2010-10-18 Thread Mark Eggers
-- From: Martin O'Shea To: Tomcat Users List 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 c

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: T

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 ano

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 org.apac

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

2010-10-16 Thread Martin O'Shea
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 On 16/10/2010 15:24, Martin O'Shea wrote: > OK. So the error is happening as the application is closed, not as it > started. My mistake. But Tomcat restarts occur frequently as I have > NetBeans's Deplo

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

2010-10-16 Thread Pid
ome of it results in a message and an attempt to clean up. p > -Original Message- > From: Pid * [mailto:p...@pidster.com] > Sent: 16 Oct 2010 15 06 > To: Tomcat Users List > Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1 > > On 16 Oct 2010, at 12

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

2010-10-16 Thread Martin O'Shea
other environments. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 16 Oct 2010 15 53 To: Tomcat Users List Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Sub

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

2010-10-16 Thread Caldarale, Charles R
> From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > When the application is terminated, e.g. when the server > is stopped, appropriate messages are issued to confirm > that the scheduler has stopp

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

2010-10-16 Thread Martin O'Shea
s.com] Sent: 16 Oct 2010 15 30 To: Tomcat Users List Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > From: Martin O'Shea [mailto:app...@dsl.pipex.com] > Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1 > I have NetBeans's

  1   2   3   >