Re: Memory leak in EncodingDetector?

2024-03-22 Thread Simon Niederberger
Very cool Chris, thanks for the quick reaction! Simon out On Fri, Mar 22, 2024 at 1:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Simon, > > On 3/21/24 12:39, Simon Niederberger wrote: > > Hi Chris > > > > Personally I'd go with > > > > XML_INPUT_FACTORY = > > XMLInputFacto

Re: Memory leak in EncodingDetector?

2024-03-22 Thread Christopher Schultz
Simon, On 3/21/24 12:39, Simon Niederberger wrote: Hi Chris Personally I'd go with XML_INPUT_FACTORY = XMLInputFactory.newFactory(XMLInputFactory.class.getName(), EncodingDetector.class.getClassLoader()); allowing me to place my own JAR in common/lib if I really want to (the only scenario I c

Re: Memory leak in EncodingDetector?

2024-03-21 Thread Simon Niederberger
Hi Chris Personally I'd go with XML_INPUT_FACTORY = XMLInputFactory.newFactory(XMLInputFactory.class.getName(), EncodingDetector.class.getClassLoader()); allowing me to place my own JAR in common/lib if I really want to (the only scenario I can think of is an edge-case where there's a bug in the

Re: Memory leak in EncodingDetector?

2024-03-21 Thread Christopher Schultz
Simon, On 3/20/24 15:36, Simon Niederberger wrote: What if you create an empty jaxp.properties file and make it available to the common ClassLoader (e.g. in lib/empty-jaxp.jar:/jaxp.properties) -- does that prevent the problem? > I think that boils down to what I'm already doing with the sys

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
Hi Chris Spring's ObservationFilterChainDecorator is ridiculous, isn't it? > What if you create an empty jaxp.properties file and make it available to the > common ClassLoader (e.g. in lib/empty-jaxp.jar:/jaxp.properties) -- does that > prevent the problem? I think that boils down to what I'm a

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Christopher Schultz
Simon, On 3/20/24 09:59, Simon Niederberger wrote: The whole thing is caused by Maven dependencies which pull in com.fasterxml.woodstox:woodstox-core. The WstxInputFactory has a @ServiceProvider(XMLInputFactory.class) annotation, where ServiceProvider is org.ehcache.spi.service.ServiceProvider

Re: Memory leak in EncodingDetector?

2024-03-20 Thread Simon Niederberger
Hi Chris The whole thing is caused by Maven dependencies which pull in com.fasterxml.woodstox:woodstox-core. The WstxInputFactory has a @ServiceProvider(XMLInputFactory.class) annotation, where ServiceProvider is org.ehcache.spi.service.ServiceProvider. I didn't manage to trace the key code sect

Re: Memory leak in EncodingDetector?

2024-03-19 Thread Christopher Schultz
Simon, On 3/18/24 15:17, Simon Niederberger wrote: I'm analyzing a memory leak reported by Tomcat, and have narrowed it down to org.apache.jasper.compiler.EncodingDetector: private static final XMLInputFactory XML_INPUT_FACTORY; static { XML_INPUT_FACTORY = XMLInputFactory.newInstance(); }

Re: Memory leak with Jersey 2.33

2021-02-01 Thread Mark Eggers
Mark, On 2/1/2021 1:33 AM, Mark Thomas wrote: Is the GC root above the only one? I've seen similar behaviour in the past where weak references appear to be the cause of a leak but closer inspection uncovers a strong reference. Mark Thanks for putting me on the correct track. I'm using log4j2

Re: Memory leak with Jersey 2.33

2021-02-01 Thread Mark Thomas
On 01/02/2021 06:37, Mark Eggers wrote: > On 1/31/2021 9:39 PM, Mark Eggers wrote: >> GC roots for cplanapi are: >> >> class com.sun.naming.internal.ResourceManager >> '- propertiesCache java.util.WeakHashMap >>     '- table java.util.WeakHashMap$Entry[16] >>    '- java.util.WeakHashMap$Entr

Re: Memory leak with Jersey 2.33

2021-01-31 Thread Mark Eggers
On 1/31/2021 9:39 PM, Mark Eggers wrote: Folks, This is probably not a Tomcat issue, but any thoughts on how to resolve this would be greatly appreciated. I am running into an apparent ClassLoader leak with the following configuration: Windows 10 Professional (64 bit, latest updates) OpenJ

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Martin Grigorov
On Wed, Jul 22, 2020, 16:58 Ragavendhiran Bhiman (rabhiman) wrote: > Sorry Martin, > > My answers are inline. > Take a heap dump and analyze it! > Thanks & Regards, > Raghav > > On 22/07/20, 7:20 PM, "Ragavendhiran Bhiman (rabhiman)" > wrote: > > Hello Martin, > > Thanks for your rep

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Ragavendhiran Bhiman (rabhiman)
The tomcat version is apache-tomcat-8.5.29 And RedHat Enterprise Linux 7.6 On 22/07/20, 7:28 PM, "Ragavendhiran Bhiman (rabhiman)" wrote: Hi Chris, Please see my answers inline. Also shared the svg graph here. https://www.dropbox.com/sh/o6zra7pf2o1xpge/AAA1J7BaVdPDF7s3RjPmy0x

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Ragavendhiran Bhiman (rabhiman)
Hi Chris, Please see my answers inline. Also shared the svg graph here. https://www.dropbox.com/sh/o6zra7pf2o1xpge/AAA1J7BaVdPDF7s3RjPmy0xBa?dl=0 Kindly reply. Thanks & Regards, Raghav On 20/07/20, 11:08 PM, "Christopher Schultz" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Ragavendhiran Bhiman (rabhiman)
Sorry Martin, My answers are inline. Thanks & Regards, Raghav On 22/07/20, 7:20 PM, "Ragavendhiran Bhiman (rabhiman)" wrote: Hello Martin, Thanks for your reply https://www.dropbox.com/sh/o6zra7pf2o1xpge/AAA1J7BaVdPDF7s3RjPmy0xBa?dl=0 Here is the link I have shared the fla

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Ragavendhiran Bhiman (rabhiman)
Hello Martin, Thanks for your reply https://www.dropbox.com/sh/o6zra7pf2o1xpge/AAA1J7BaVdPDF7s3RjPmy0xBa?dl=0 Here is the link I have shared the flame graph. Also kindly check my answers in red as well. Thanks & Regards, Raghav On 22/07/20, 2:33 PM, "Martin Grigorov" wrote: Hi Ragaven

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-22 Thread Martin Grigorov
Hi Ragavendhiran, On Sat, Jul 18, 2020 at 3:55 PM Ragavendhiran Bhiman (rabhiman) wrote: > Hello All, > > > > I am seeing the memory leaks from tomcat apache in the following SSL path > using PKCS11. Attached the flame graph of memory possible memory leaks in > this area. > > Please check the at

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ragavendhiran, On 7/18/20 08:53, Ragavendhiran Bhiman (rabhiman) wrote: > The OS is RHEL => 7.6 > > > From: "Ragavendhiran Bhiman (rabhiman)" Date: > Saturday, 18 July 2020 at 6:21 PM To: Tomcat Users List > Subject: Memory leak in the PKCS11 how

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-19 Thread Ragavendhiran Bhiman (rabhiman)
HI, Kindly suggest what could be the issue below. Thanks & Regards, Raghav From: "Ragavendhiran Bhiman (rabhiman)" Date: Saturday, 18 July 2020 at 6:21 PM To: Tomcat Users List Subject: Memory leak in the PKCS11 how to fix the problem From: "Ragavendhiran Bhiman (rabhim

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-18 Thread Ragavendhiran Bhiman (rabhiman)
Kindly reply for the below mail, Expecting your feedback so that I can take it forward. Thanks & Regards, Raghav On 18/07/20, 6:25 PM, "Ragavendhiran Bhiman (rabhiman)" wrote: The OS is RHEL => 7.6 From: "Ragavendhiran Bhiman (rabhiman)" Date: Saturday, 18 July 2020 at 6:21 PM

Re: Memory leak in the PKCS11 how to fix the problem

2020-07-18 Thread Ragavendhiran Bhiman (rabhiman)
The OS is RHEL => 7.6 From: "Ragavendhiran Bhiman (rabhiman)" Date: Saturday, 18 July 2020 at 6:21 PM To: Tomcat Users List Subject: Memory leak in the PKCS11 how to fix the problem From: "Ragavendhiran Bhiman (rabhiman)" Date: Saturday, 18 July 2020 at 6:20 PM To: Tomcat Users List Subjec

Re: Memory Leak

2016-06-28 Thread Felix Schumacher
Am 29. Juni 2016 02:26:57 MESZ, schrieb Leo Donahue : >On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: >> >> I am running a middleware application in .. tomcat... > >Ok. This is something you wrote and deployed or it is a third party >war >file? > >> >> catalina.out.prob:SEVERE: The web applica

Re: Memory Leak

2016-06-28 Thread Roman Gelfand
It is third party REST server named espresso. After looking further into memory leaks message, I realized this is a thread that writes to mongodb. I had also found couple of posts relating to leaks mongodb jdbc drivers. On Jun 28, 2016 8:27 PM, "Leo Donahue" wrote: > On Jun 28, 2016 4:57 PM, "Ro

Re: Memory Leak

2016-06-28 Thread Leo Donahue
On Jun 28, 2016 4:57 PM, "Roman Gelfand" wrote: > > I am running a middleware application in .. tomcat... Ok. This is something you wrote and deployed or it is a third party war file? > > catalina.out.prob:SEVERE: The web application [] appears to have started a > thread named [cluster-ClusterI

Re: Memory Leak

2016-06-28 Thread David Kerber
On 6/28/2016 5:57 PM, Roman Gelfand wrote: I am running a middleware application in the tomcat environment described, below. After rebooting the server, the memory consumption is couple of gigs. Couple of weeks later, I get a message, I am out of memory. Moreover, I need to bounce the whole ser

Aw: Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-06 Thread devzero
or help and sorry for the noise ! regards roland ps: and indeed this should not be named memory leak, as a memory leak means indefinite ressource grow... > Gesendet: Sonntag, 05. Juni 2016 um 20:14 Uhr > Von: "Mark Thomas" > An: "Tomcat Users L

Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-05 Thread Mark Thomas
On 04/06/2016 09:22, devz...@web.de wrote: > thanks for help - but, are you really sure? Yes. > if i > > - set development=false > - delete everything within work subdir to force recompile of every jsp > > then for me, the initial crawl makes jvm consume the same amount of memory > regardless

Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-04 Thread devzero
thanks for help - but, are you really sure? if i - set development=false - delete everything within work subdir to force recompile of every jsp then for me, the initial crawl makes jvm consume the same amount of memory regardless development true or false - and thats what i'm wondering about.

Re: memory-leak in org.apache.jasper.compiler.Mark|Node$TemplateText

2016-06-03 Thread Mark Thomas
On 03/06/2016 17:14, devz...@web.de wrote: You are NOT observing a memory leak. > Regardless we have set "development" to true or false in > conf/web.xml, , whenever i recursively crawl our website with wget > (cleaning work dir before to make sure each page is being compiled > again), i can ea

Re: memory leak in Tomcat 8.0.9

2016-05-20 Thread Mark Thomas
> Thanks > Ambica. > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Friday, May 20, 2016 9:34 AM > To: Tomcat Users List > Subject: Re: memory leak in Tomcat 8.0.9 > > First of all, the subject is wrong. There is no memory leak in Tomcat. >

RE: memory leak in Tomcat 8.0.9

2016-05-20 Thread Sanka, Ambica
bject: Re: memory leak in Tomcat 8.0.9 First of all, the subject is wrong. There is no memory leak in Tomcat. There is a memory leak in the application you are running on Tomcat. On 20/05/2016 14:21, Sanka, Ambica wrote: > 2016-05-19 14:03:31,161 [localhost-startStop

Re: memory leak in Tomcat 8.0.9

2016-05-20 Thread Mark Thomas
First of all, the subject is wrong. There is no memory leak in Tomcat. There is a memory leak in the application you are running on Tomcat. On 20/05/2016 14:21, Sanka, Ambica wrote: > 2016-05-19 14:03:31,161 [localhost-startStop-2] WARN > org.apache.catalina.loader.WebappClassLoader- The web app

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/16/13 6:52 PM, Howard W. Smith, Jr. wrote: > just today, i recognized a query, such as following which was > performing very poorly, even though the JOIN was on a > primary/foreign key, and ORDER BY on primary key (which 'should' be > f

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-16 Thread Howard W. Smith, Jr.
On Tue, Apr 16, 2013 at 10:31 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Howard, > > On 4/15/13 4:02 PM, Howard W. Smith, Jr. wrote: > > On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz < > > ch...@christopherschultz.n

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/15/13 4:02 PM, Howard W. Smith, Jr. wrote: > On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Howard, > > On 4/14/13 9:53 PM, Howard W. Smith, Jr. wrote: I am definitely relying o

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Sunday, April 14, 2013 5:52 PM > To: Tomcat Users List > Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) > > I've had people tell me that I should run wi

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Howard, > > On 4/14/13 9:53 PM, Howard W. Smith, Jr. wrote: > > I am definitely relying on user HttpSessions, and I do JPA-level > > caching (stateme

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 11:18 AM, Mark Eggers wrote: > On 4/15/2013 7:25 AM, David kerber wrote: > >> On 4/15/2013 10:10 AM, Howard W. Smith, Jr. wrote: >> >>> On Mon, Apr 15, 2013 at 7:40 AM, David kerber >>> wrote: >>> >>> On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, A

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/14/13 9:53 PM, Howard W. Smith, Jr. wrote: > I am definitely relying on user HttpSessions, and I do JPA-level > caching (statement cache and query results cache). pages are > PrimeFaces and primefaces = xhtml, html, jquery, and > MyFac

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Mark Eggers
On 4/15/2013 7:25 AM, David kerber wrote: On 4/15/2013 10:10 AM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 7:40 AM, David kerber wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomas wrote: On 14/04/2013 21:53, Howard W. Smith, J

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread David kerber
On 4/15/2013 10:10 AM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 7:40 AM, David kerber wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomas wrote: On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 6:

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 7:40 AM, David kerber wrote: > On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: > >> On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomas wrote: >> >> On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: >>> >>> On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz< ch...@ch

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread David kerber
On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomas wrote: On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz< ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SH

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-14 Thread Howard W. Smith, Jr.
On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomas wrote: > On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: > >> On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> >>> Howard, >>> >>> On 4/11/13

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-14 Thread Mark Thomas
On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/11/13 10:38 PM, Howard W. Smith, Jr. wrote: On Thu, Apr 4, 2013 at 2:32 PM, Christopher Sc

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-14 Thread Howard W. Smith, Jr.
On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Howard, > > On 4/11/13 10:38 PM, Howard W. Smith, Jr. wrote: > > On Thu, Apr 4, 2013 at 2:32 PM, Christopher Schultz < > > ch...@christopherschultz.ne

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/11/13 10:38 PM, Howard W. Smith, Jr. wrote: > On Thu, Apr 4, 2013 at 2:32 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> Your heap settings should be tailored to your environment and >> usage scenarios. > > Int

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-11 Thread Howard W. Smith, Jr.
Chris, My apologies for late response; just realized earlier this afternoon that I didn't respond. On Thu, Apr 4, 2013 at 2:32 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Howard, > > On 4/3/13 4:15 PM, Howard W. Smith, Jr

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saumil, On 4/3/13 2:16 PM, saumil shah wrote: > I did change in Tomcat 6.0/Conf/server.xml unpackWARs="false" and > autoDeploy="false" Why? I don't believe I mentioned either of those settings... > but the logs still complaint about the Deploying

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/3/13 4:15 PM, Howard W. Smith, Jr. wrote: > On Tue, Apr 2, 2013 at 5:12 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> If you don't re-deploy your webapp, then daily rolling Tomcat >> restarts are not necessary.

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-04 Thread Pïd stèr
On 3 Apr 2013, at 15:36, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Saumil, > > Please try to keep discussions on the mailing list to everyone can > benefit. > > On 4/2/13 6:48 PM, saumil shah wrote: >> For some reason ...I do not see Java process in Task M

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-04 Thread Pïd stèr
e: Wed, 3 Apr 2013 10:35:50 -0400 >> From: ch...@christopherschultz.net >> To: users@tomcat.apache.org >> CC: saumil...@hotmail.com >> Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >>

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-03 Thread Howard W. Smith, Jr.
Chris, On Tue, Apr 2, 2013 at 5:12 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > > > I understand its not a premanent solution but as a stopgap for now > > ? If so , we can put it as part of daily cycle to bounce tomcat6. >

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-03 Thread saumil shah
C: saumil...@hotmail.com > Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Saumil, > > Please try to keep discussions on the mailing list to everyone can > benefit. > > On 4/2/13 6:48 PM, saumil s

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saumil, Please try to keep discussions on the mailing list to everyone can benefit. On 4/2/13 6:48 PM, saumil shah wrote: > For some reason ...I do not see Java process in Task Manager in > Windows, just Tomcat6 process. I am assuming killing Tomc

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saumil, On 4/2/13 5:01 PM, saumil shah wrote: > Thanks so much Chris this has been very very helpful ... > appreciate you taking time out. Would stopping Tomcat6 service in > Windows 2008 R2 take care of this "orphan threads" if you will ? > Also,

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread saumil shah
n but as a stopgap for now ? If so , we can put it as part of daily cycle to bounce tomcat6. Many thanks. > Date: Tue, 2 Apr 2013 15:58:53 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) > > -

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saumil, On 4/1/13 11:01 PM, saumil shah wrote: > I recently deployed one of the COTS products SAP Business Objects. > When the product was deployed , everything seemed to run fine but > yesterday we started experiencing "Service is unavailable" er

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread André Warnier
Caldarale, Charles R wrote: From: saumil shah [mailto:saumil...@hotmail.com] Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) Don't top post - it's annoying and confusing. can we deploy 32 bit web applications on 64 bit tomcat? The point being made is that your questi

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Caldarale, Charles R
> From: saumil shah [mailto:saumil...@hotmail.com] > Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) Don't top post - it's annoying and confusing. > can we deploy 32 bit web applications on 64 bit tomcat? The point being made is that your question doesn't mak

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread saumil shah
Thanks andre..can we deploy 32 bit web applications on 64 bit tomcat? -Original Message- From: André Warnier Sent: 2 Apr 2013 08:51:00 GMT To: Tomcat Users List Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) saumil shah wrote: > Hello there, > > I recently dep

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread André Warnier
saumil shah wrote: Hello there, I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing "Service is unavailable" error , upon enabling DEBUG logs in Tomcat , we saw the error below w

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Ognjen Blagojevic
Saumil, On 2.4.2013 5:01, saumil shah wrote: I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing "Service is unavailable" error , upon enabling DEBUG logs in Tomcat , we saw the

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-01 Thread saumil shah
Hello there, I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing "Service is unavailable" error , upon enabling DEBUG logs in Tomcat , we saw the error below with memory leak messa

Re: memory leak in tomcat

2012-06-05 Thread Christian Kaufhold
Hi Warren, thanks for the help. I found that the application creates lots of SessionFactoryImpl objects even though one is enough I changed this part of webapp. Now it has only one SessionFactoryImpl and the memory leak is gone. bye 2012/5/24 Warren Bell > Is this the same server with the Wic

Re: memory leak in tomcat

2012-05-24 Thread Warren Bell
Is this the same server with the Wicket app you posted about earlier ? If so, you have a Wicket app that is storing the SessionFactoryObjectFactory on a page as a class member. Wicket stores each page a user has been to in the user's session. If the page has class members, then it serializes them a

Re: memory leak in tomcat

2012-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 5/24/12 8:42 AM, Konstantin Kolinko wrote: > 2012/5/24 Christian Kaufhold : >> Hi, >> >> I have a leaking Tomcat App I checked the heap with the Eclipse >> Memory Analyser and it says >> >> The classloader/component >> *"org.apache.ca

Re: memory leak in tomcat

2012-05-24 Thread Konstantin Kolinko
2012/5/24 Christian Kaufhold : > Hi, > > I have a leaking Tomcat App > I checked the heap with the Eclipse Memory Analyser > and it says > > The classloader/component *"org.apache.catalina.loader.WebappClassLoader @ > 0x94532f50"* > occupies *376.421.152 (79,51%)* bytes. The memory is accumulated i

Re: memory leak in tomcat

2012-05-24 Thread André Warnier
Christian Kaufhold wrote: Hi, I have a leaking Tomcat App I checked the heap with the Eclipse Memory Analyser and it says The classloader/component *"org.apache.catalina.loader.WebappClassLoader @ 0x94532f50"* occupies *376.421.152 (79,51%)* bytes. The memory is accumulated in one instance of

Re: Memory Leak in Tomcat

2011-03-06 Thread הילה
Hey, i've posted a message on JTDS forums, but no one answered. I know the memory leak is caused by the dll, since when I don't use it, all is good. i'll open a new thread here, thanks 2011/3/6 André Warnier > הילה wrote: > >> Security seems to be always in the hands of the wrong people. >> >>

Re: Memory Leak in Tomcat

2011-03-06 Thread André Warnier
הילה wrote: Security seems to be always in the hands of the wrong people. No need for insults here, this is a new requirement which I'm not familiar with, and that's why I asked you guys.. Instead of the JTDS, can I use Tomcat Spengo? will it provide same results, as using a domain user for th

Re: Memory Leak in Tomcat

2011-02-23 Thread הילה
I trust the people in the company, but the company's work is with sites that any user all over the internet can access. so we want to perform a damage control if some hacker would gain access to our web server, so if he can - he won't get access to the DB, at least not with our help of displaying t

Re: Memory Leak in Tomcat

2011-02-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 הילה, On 2/23/2011 2:06 AM, הילה wrote: > I've posted my problem in the sourceforge forums, but no comments have > received so far. :( > > If you have any suggestions to replace this, another way to authenticate the > tomcat to the DB with user and p

Re: Memory Leak in Tomcat

2011-02-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Bah. The OP replied to me directly (and CC'd the list) and so a REPLY went to the OP and not to the list. Re-posting back. On 2/22/2011 4:52 PM, Christopher Schultz wrote: > הילה, > > On 2/22/2011 4:39 PM, הילה wrote: >> I have used JProfiler t

Re: Memory Leak in Tomcat

2011-02-23 Thread הילה
Sorry for the sent mail double time thing :] i'll check the Jespa suggestion. thanks :] keep the ideas coming, guys. every little thing could help Thanks Hila 2011/2/23 André Warnier > הילה wrote: > >> I've posted my problem in the sourceforge forums, but no comments have >> received so far.

Re: Memory Leak in Tomcat

2011-02-23 Thread André Warnier
הילה wrote: I've posted my problem in the sourceforge forums, but no comments have received so far. :( If you have any suggestions to replace this, another way to authenticate the tomcat to the DB with user and password that do not appear in clear text, I'll be glad to hear about it. Have a lo

Re: Memory Leak in Tomcat

2011-02-22 Thread הילה
I've posted my problem in the sourceforge forums, but no comments have received so far. :( If you have any suggestions to replace this, another way to authenticate the tomcat to the DB with user and password that do not appear in clear text, I'll be glad to hear about it. Thanks Hila 2011/2/23 A

Re: Memory Leak in Tomcat

2011-02-22 Thread André Warnier
הילה wrote: ... The tomcat service (on windows) ran with local system... Ok, now I get it. ... Now the tomcat service is running (as a Windows domain user) and authenticates to the DB with a domain user The above are two entirely distinct matters. 1) the Tomcat service was running as "Lo

Re: Memory Leak in Tomcat

2011-02-22 Thread הילה
Hey, When going to tomcat site, you can download "32-bit/64-bit Windows Service Installer " That's what I have installed. When installing this, it creates the tomcat service in windows + the regular folder under c:\progr

Re: Memory Leak in Tomcat

2011-02-22 Thread André Warnier
הילה (Interesting: my Thunderbird email client seems unable to remove your name above...) Anyway, hi. Your initial description says : Until now, we used [b]SQL Authentication[/b] for the tomcat service and configuration (user and password for tomcat to access the DB was provided within the xml

Re: Memory Leak in Tomcat

2011-02-22 Thread הילה
Hey, I have used JProfiler to monitor the tomcat process, but haven't found anything useful. you can see that the tomcat process is the only one that increasing, and it started to happen since i switched to windows authentication.. so I think it's connected? what is a heap analysis? how can i enab

Re: Memory Leak in Tomcat

2011-02-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 הילה, On 2/20/2011 8:28 AM, הילה wrote: > 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. Any chance you can move all the way up to 6.0.32? > since we changed > configuration to use

Re: memory leak in tomcat?

2011-02-03 Thread Konstantin Kolinko
2011/2/3 maxxe...@gmail.com : > Hi, > > Tomcat 6.0.26 on a solaris. > > After I unloaded a webapp and asked tomcat to 'find leaks', it > reported a webapp leaked memory. However, when I ran a profiler on the > heapdump, there are only 2 references to the webappclassloader. Both > are weak and are t

Re: memory leak in tomcat?

2011-02-03 Thread maxxe...@gmail.com
uploaded the screenshot here: http://i.imgur.com/OqCBv.png On Thu, Feb 3, 2011 at 9:29 AM, maxxe...@gmail.com wrote: > oh and here is a screenshot (not sure if attachments are allowed) > > -m > > On Thu, Feb 3, 2011 at 9:28 AM, maxxe...@gmail.com wrote: >> Hi, >> >> Tomcat 6.0.26 on a solaris. >

Re: memory leak in tomcat?

2011-02-03 Thread maxxe...@gmail.com
oh and here is a screenshot (not sure if attachments are allowed) -m On Thu, Feb 3, 2011 at 9:28 AM, maxxe...@gmail.com wrote: > Hi, > > Tomcat 6.0.26 on a solaris. > > After I unloaded a webapp and asked tomcat to 'find leaks', it > reported a webapp leaked memory. However, when I ran a profile

RE: memory leak warning "ThreadLocal with key of type [null]" in 6.0.29

2011-02-01 Thread Caldarale, Charles R
> From: Michael Heinen [mailto:mhn4...@googlemail.com] > Subject: memory leak warning "ThreadLocal with key of type [null]" in 6.0.29 > Is this a false alarm or wrong usage? Pretty much any usage of ThreadLocal in a thread-pooling environment is wrong usage, unless you are very careful to clean

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/5/2010 12:46 AM, B. Balakrishna Rao wrote: > Attached is the image for incoming references for > com.sun.net.ssl.internal.ssl.SSLSocketImpl objects. Please let me > know if you want any further details. This list strips attachments. Glad th

RE: Memory leak in using SSL with Tomcat 6.0.18 - Solved

2010-08-05 Thread Sarath Babu Polavarapu
Good Work Bala. -Original Message- From: B. Balakrishna Rao [mailto:balakrishna_...@persistent.co.in] Sent: Thursday, August 05, 2010 5:29 PM To: Tomcat Users List Subject: RE: Memory leak in using SSL with Tomcat 6.0.18 - Solved The problem with memory leak using Tomcat 6.0.18 with SSL

RE: Memory leak in using SSL with Tomcat 6.0.18 - Solved

2010-08-05 Thread B. Balakrishna Rao
. Thanks, Bala. -Original Message- From: B. Balakrishna Rao Sent: Thursday, August 05, 2010 10:17 AM To: Tomcat Users List Subject: RE: Memory leak in using SSL with Tomcat 6.0.18 Hi Chris, Attached is the image for incoming references for com.sun.net.ssl.internal.ssl.SSLSocketImpl objects

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
, 2010 10:14 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/4/2010 10:19 AM, B. Balakrishna Rao wrote: > Please note that, the 2,996 count is on production environment. > The counts 7 and 10 are on my

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/4/2010 10:19 AM, B. Balakrishna Rao wrote: > Please note that, the 2,996 count is on production environment. > The counts 7 and 10 are on my local environment. Ok. > Below is the procedure I am following on my local environment to test this

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Sent: Wednesday, August 04, 2010 7:43 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/2010 10:06 AM, B. Balakrishna Rao wrote: > I have implemented your suggestion. I have deployed my application > in T

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/2010 10:06 AM, B. Balakrishna Rao wrote: > I have implemented your suggestion. I have deployed my application > in Tomcat 6.0.29 version under the same environment as Tomcat > 6.0.18(test environment). > > After performing the similar operatio

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
org] Sent: Wednesday, August 04, 2010 6:19 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 13:40, B. Balakrishna Rao wrote: > Hi Mark, > > I am trying to apply the patch that is available for the fix below: > https://issues.apache.org/bugzil

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 13:40, B. Balakrishna Rao wrote: > Hi Mark, > > I am trying to apply the patch that is available for the fix below: > https://issues.apache.org/bugzilla/show_bug.cgi?id=47744#c2 Why? What makes you think that is the problem you are seeing? > However, after giving the below command,

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
.org] Sent: Wednesday, August 04, 2010 4:28 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 11:54, B. Balakrishna Rao wrote: > Hi Mark, > > Thanks for your reply. > I tried reading the change log. It appears that in Tomcat 6.0.20 there

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 11:54, B. Balakrishna Rao wrote: > Hi Mark, > > Thanks for your reply. > I tried reading the change log. It appears that in Tomcat 6.0.20 there is a > fix related to memory leak using SSL. > What I am thinking is that if this is the issue with the Tomcat 6.0.18 or an > issue with m

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
[mailto:ma...@apache.org] Sent: Wednesday, August 04, 2010 4:18 PM To: Tomcat Users List Subject: Re: Memory leak in using SSL with Tomcat 6.0.18 On 04/08/2010 10:49, B. Balakrishna Rao wrote: > Hi, > > We are using Tomcat<http://www.coderanch.com/forums/f-56/Tomcat> 6.0.18 on > Lin

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 10:49, B. Balakrishna Rao wrote: > Hi, > > We are using Tomcat 6.0.18 on > Linux environment(Red hat Linux) for our production. > We have enabled SSL by deploying SSL certificates. We observed that, over a > period of time, the memory co

RE: Memory leak in Tomcat 5.5.16

2010-05-04 Thread KT2010
Hello Tom, I am facing a similar issue. Could you please send that piece of code that was causing you this error, just that snippet should be good. Thanks Tom Price-3 wrote: > > Hi all, > > No more help required - I traced back all the references to the Request > objects and it did turn out

  1   2   >