How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-02 Thread Suvendu Sekhar Mondal
Hello Everyone, I am new here. :) Environment: Java Version: Java HotSpot(TM) 64-Bit Server VM version 25.91-b15 (Java version 1.8.0_91-b15) Tomcat Version: Tomcat 8.0.20 OS Version: Microsoft Windows 8.1 Enterprise I am trying to enable Native Memory Tracking(NMT) to get internal memory usage

Re: Tomcat Not Responding (Resolved)

2017-03-28 Thread Suvendu Sekhar Mondal
Well, I took thread dumps on couple of Tomcat JVMs(which were not busy...JVMs on my system) and for all of them it showed thread opened socket and accepting connection(StandardServer.java:446): at java.net.DualStackPlainSocketImpl.accept0(Native Method) at

Re: Tomcat Not Responding (Resolved)

2017-03-28 Thread Suvendu Sekhar Mondal
Sorry for late "chime in". It seems that your Tomcat JVM was not up properly. From both thread dumps showing main thread in TIMED_WAITING waiting state not in runnable state : "main" #1 prio=5 os_prio=0 tid=0x01198000 nid=0x2340 waiting on condition [0x0132e000]

Re: Ways to identify poorly designed client aplications sending request to Tomcat !

2017-03-30 Thread Suvendu Sekhar Mondal
>Memory heap dump generated is of >Size: 787.3 MB Classes: 139k Objects: 19.3m Class Loader: 1.6k >Overview shows 580.9 MB occupied by remainder's. >Problem suspect:- >465 MB occupied by remainder Remainder section has retained a good chunk of memory. That indicates lots of small objects are

Re: Running multiple instance of tomcat on windows

2017-04-20 Thread Suvendu Sekhar Mondal
Jugal, On Thu, Apr 20, 2017 at 6:41 PM, JUGAL SHAH wrote: > I have to run multiple instance of tomcat server on a single system with > window 8.1 OS.I searched the topic I got the solution to make 2 copies of > tomcat and change the ports in the server.xml file I tried

Re: Running multiple instance of tomcat on windows

2017-04-20 Thread Suvendu Sekhar Mondal
On Thu, Apr 20, 2017 at 7:19 PM, JUGAL SHAH wrote: > my first instance port are: > > > > connectionTimeout="2" >redirectPort="8443" /> > > > > > my Second instance port are: > > > > connectionTimeout="2" >

Re: JMX currentThreadsBusy less than connections/requests when use APR connector

2017-03-08 Thread Suvendu Sekhar Mondal
Linbo, "currentThreadsBusy" is number of busy threads. These are the threads are being actively use. If you are seeing this count > 0 for long time(depending on your application type), then most likely you have "hung thread". In that case thread dump analysis will show you root of the problem.

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-02 Thread Suvendu Sekhar Mondal
Mark, I am running Tomcat as a Windows service. Thanks! Suvendu On Thu, Mar 2, 2017 at 8:08 PM, Mark Thomas <ma...@apache.org> wrote: > On 02/03/17 10:54, Suvendu Sekhar Mondal wrote: >> Hello Everyone, >> >> I am new here. :) >> >> Environment: >> Ja

Re: How to enable Native Memory Tracking(NMT) in Tomcat?

2017-03-07 Thread Suvendu Sekhar Mondal
:06 PM, Mark Thomas <ma...@apache.org> wrote: > On 03/03/17 06:20, Suvendu Sekhar Mondal wrote: >> Mark, >> I am running Tomcat as a Windows service. > > Then I suspect that supporting this would require changes in Apache > Commons Daemon which is what Tomcat use

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

Re: Tomcat memory

2017-08-17 Thread Suvendu Sekhar Mondal
shing with an OOM. >>> That is not enough information for us to be able to help you. >>> >>> If you are desperate and in a hurry, maybe you need first to find a Java >>> JVM specialist, who can help you poinpoint the problem more specifically. >>> >>>

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 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-11 Thread Suvendu Sekhar Mondal
>> > >> > On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <281170...@qq.com> wrote: >> > >> > > Hi, guys >> > > >> > > >> > > I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit >> > > without any error logs after keep running 2-3 days, that means >> > catalina.out >> > > has no error info

Re: Unable to install Tomcat 9 on Windows 10

2017-07-20 Thread Suvendu Sekhar Mondal
On Thu, Jul 20, 2017 at 7:53 PM, Mark Thomas wrote: > On 20/07/17 14:45, Roparzh Hemon wrote: >> Hello all, >> >> I am currently unable to install Tomcat 9.0 on my Windows 10 >> system (I didn't install any other version of Tomcat so far). >> I've retried several

Re: Tomcat is stopping on its own even though stop script is not executed

2017-07-20 Thread Suvendu Sekhar Mondal
Chaitanya, On Thu, Jul 20, 2017 at 8:33 PM, Chaitanya Sabbineni wrote: > Hi Chris, > > Stop script in the sense it's Catalina script only but we usually stop > tomcat using the command Catalina.sh stop. But in our case we are not > manually executing this script to stop

Re: any way to get 20k request/seconds in tomcat

2017-04-25 Thread Suvendu Sekhar Mondal
Laxmi, On Tue, Apr 25, 2017 at 7:20 AM, Laxmi Narayan wrote: > Hi , > > I am looking to get some 20k or above response in tomcat. > > I am not able to find out best combination for that. > > My servlet will return just "hello-world" response. > > > Keep learning keep moving

Re: tuning to accommodate Apache 2.4 event mpm

2017-04-28 Thread Suvendu Sekhar Mondal
John, On Fri, Apr 28, 2017 at 11:48 AM, Rainer Jung wrote: > Am 27.04.2017 um 22:21 schrieb Mark Thomas: >> >> On 27/04/17 20:08, John Cartwright - NOAA Federal wrote: >>> >>> Thanks for your reply Mark! My sysadmin tells me just that we're >>> using "the defaults" for

Re: Web application jars gets re loaded causing permgen issue !

2017-07-28 Thread Suvendu Sekhar Mondal
Utkarsh, On Jul 28, 2017 2:10 PM, "Utkarsh Dave" wrote: Hi Users, I am running Tomcat 7.0.77 on a linux server with openJDK 1.7.0.131 I am working on an issue where within 2-3 days Tomcat goes out of memory because of java.lang.OutOfMemoryError: PermGen space . After

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Suvendu Sekhar Mondal
Lazar, > I am observing slow shutdown of Tomcat 8 on Windows 10 - some 9 - 11 > seconds. I observed this first with Tomcat 8.5.16, but then checked it on > older versions and I found the same from 8.5.11 onward. Before that it > stops for less than a second. > > > Has anybody experienced similar

Re: Tomcat server apparently bouncing up and down

2017-08-20 Thread Suvendu Sekhar Mondal
James, Since you told the context is rather huge, have you checked gc times? A long running full gc can block the machine completely resulting in the up/down behaviour from outside. GC options depend on JVM version I use: export JAVA_OPTS="$JAVA_OPTS -XX:+DisableExplicitGC -verbose:GC

Re: TomcatCon London - registration open

2017-08-22 Thread Suvendu Sekhar Mondal
Just wondering when we will have TomcatCon in India... :) On Aug 22, 2017 10:21 PM, "Mark Thomas" wrote: > All, > > The Apache Tomcat PMC is delighted to announce that registration for > TomcatCon London is now open. > > This one day conference will be held on Tuesday 26th

Re: MaxThread Configurations Issue

2017-05-16 Thread Suvendu Sekhar Mondal
Shailesh, On Tue, May 16, 2017 at 12:37 AM, Mark Eggers wrote: > Shailesh, > > On 5/15/2017 8:22 AM, Shailesh Jain wrote: >> We have updated the maxThread configuration to 10 at below place in >> server.xml of DEV environment. However I was able to see more than 10

Re: Tomcat 7 giving java.lang.OutOfMemoryError: unable to create new native thread Exception in Catalina.out after upgrading to RHEL 7.4

2017-09-19 Thread Suvendu Sekhar Mondal
Radhika, On Tue, Sep 19, 2017 at 2:21 PM, Peddi, Radhika (Radhika) wrote: > Hi, > > We have upgraded RHEL 7.2 to RHEL 7.4. After upgrade when we are running > performance testing of our application we are seeing below error in > catalina.out. > > java.lang.OutOfMemoryError:

Re: Performance settings for Multiple Hosts

2017-10-06 Thread Suvendu Sekhar Mondal
On Fri, Oct 6, 2017 at 2:06 AM, Jerry Malcolm wrote: > I am running TC 8.0 on WinServer8 on a commercially hosted platform with a > WAMP environment. I am running around 10 virtual hosts. 2 hosts are > dedicated to JSPWiki. The other 8 are running variations of the

RE: Refreshing webapps slows server

2017-08-23 Thread Suvendu Sekhar Mondal
On Aug 23, 2017 11:40 PM, "Caldarale, Charles R" wrote: > From: Jerry Malcolm [mailto:techst...@malcolms.com] > Subject: Refreshing webapps slows server > I have a very weird situation. Actually, it's fairly common. > This is somewhat circumstantial. But TC will

Re: Performance issue 8.5.20 (metaspace related?)

2017-08-29 Thread Suvendu Sekhar Mondal
Hello, On Tue, Aug 29, 2017 at 2:54 PM, Ing. Andrea Vettori wrote: > Hello, > W're running several instances of Tomcat 8.5.20 / JDK8.144 / CentOs7 on our > company for various web sites in many hosts. Recently I’m trying to > understand a performance problem we’re having

Re: Performance issue 8.5.20 (metaspace related?)

2017-08-31 Thread Suvendu Sekhar Mondal
Andrea, >> Sometimes Full GC were able to clean up some space from Metaspace but >> only as part of a final last ditch collection effort: >> >> 43618.504: [Full GC (Last ditch collection) 1386M->250M(20G), 1.6455823 >> secs] >> [Eden: 0.0B(6408.0M)->0.0B(6408.0M) Survivors: 0.0B->0.0B Heap:

Re: Performance issue 8.5.20 (metaspace related?)

2017-08-30 Thread Suvendu Sekhar Mondal
Andrea, On Tue, Aug 29, 2017 at 5:39 PM, Ing. Andrea Vettori <a.vett...@b2bires.com> wrote: >> On 29 Aug 2017, at 12:29, Suvendu Sekhar Mondal <suv3...@gmail.com> wrote: >> >> On Tue, Aug 29, 2017 at 2:54 PM, Ing. Andrea Vettori >> <a.vett...@b2bires.com>

Re: Performance issue 8.5.20 (metaspace related?)

2017-09-01 Thread Suvendu Sekhar Mondal
> Profiling the code I have been able to find the cause of the big metaspace > garbage… > Due to a bug, we were not caching remote interfaces when connecting to jboss > from the web sites. Other client kind was ok. > Fixed this problem today, it’s a few hours that the system is running fine. >

Re: Tomcat 8.5 Stuck Issue while trying to stop tomcat service

2017-11-22 Thread Suvendu Sekhar Mondal
Hi Athar, On Nov 22, 2017 9:24 PM, "Khan, Athar (Contractor)" wrote: Hi Team, we have installed & using apache-tomcat-8.5.23 in our Pega 7.3 CRM application. when we try to stop tomcat service from windows server-2012 R2 system tray GUI, It gets stuck & never gets stopped

Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-04 Thread Suvendu Sekhar Mondal
On Tue, Dec 5, 2017 at 1:28 AM, Mark Thomas <ma...@apache.org> wrote: > On 04/12/17 11:12, Suvendu Sekhar Mondal wrote: >> Hello Everyone, >> >> I am investigating a Tomcat crash. Actually, JRE crashed due to >> "access violation" error. It created

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

Are Symbol files of Tomcat DLLs publicly available?

2017-12-04 Thread Suvendu Sekhar Mondal
Hello Everyone, I am investigating a Tomcat crash. Actually, JRE crashed due to "access violation" error. It created a Windows memory dump file. I am trying to analyze it win WinDbg. Problem I am facing is that lots of Symbols (of tomcat7, jvm, java, tcnative-1, nio DLLs) are not available to me.

Re: TomCat service is running but not responding

2017-10-21 Thread Suvendu Sekhar Mondal
Darin, On Oct 20, 2017 8:48 PM, "James H. H. Lampert" wrote: On 10/20/17, 7:50 AM, André Warnier (tomcat) wrote: . . . Then also tell a bit more about the "stop responding" aspect. What > exactly happens when you try to access tomcat, in the browser ? > Are you not

Does Tomcat supports serialize session access?

2018-05-18 Thread Suvendu Sekhar Mondal
Hello Everyone, We recently migrate our apps from Websphere(WAS) to Tomcat. We are using httpd 2.4.10 in front of multiple Tomcat 7.0.55. There is one feature of WAS that I am interested about and I am looking for it everywhere in Tomcat world but could not found any source. Feature called

Re: Apache Tomcat 9.0.8 install check

2018-06-18 Thread Suvendu Sekhar Mondal
Shailendra, On Mon, Jun 18, 2018 at 5:45 PM, Shailendra Kumar Verma wrote: > Hello, > > I am trying to find out through registry checking whether or not Apache > Tomcat 9.0.8 is already installed or not. If the below registry is not there, > then my program installs Apache Tomcat 9.0.8

Re: Apache Tomcat 9.0.8 install check

2018-06-18 Thread Suvendu Sekhar Mondal
8_1\InstallPath There is another key called version - if you want to verify the version again: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\8.0\Tomcat8_1\Version > Thanks, > Shailendra > > -Original Message- > From: Suvendu Sekhar Mondal > Sent: Monday,

Re: tomcat8/java8 "broken pipe" error

2018-06-05 Thread Suvendu Sekhar Mondal
On Tue, Jun 5, 2018, 8:34 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Holly, > > On 6/5/18 7:23 AM, Lund, Holly (CONTR) wrote: > > > > Continuously receiving the below error after upgrade to Tomcat > > 8.0.43 /java

Re: application goes down after restart the tomcat server 8.29 or restart the OS

2018-06-06 Thread Suvendu Sekhar Mondal
Loai, On Thu, Jun 7, 2018, 2:03 AM Loai Abdallatif wrote: > Dear Colleagues > I have HR application deployed on two tomcat workers , but when I restart > the tomcat instance or restart the OS , then the application failed to > start and just works if I re-deploy the application again , please

Re: tomcat 7 and 8 version memory setting

2018-04-26 Thread Suvendu Sekhar Mondal
Ramesh, On Thu, Apr 26, 2018 at 11:45 AM, Naga Ramesh wrote: > Team, > > > > I have configured the tomcat7 & 8 versions on our AWS environment, but how > much memory need to give min and max for each tomcat. ( max to max how much > need to give the max vlaue) > > > >

Re: GC allocation failure

2018-01-11 Thread Suvendu Sekhar Mondal
On Tue, Jan 9, 2018 at 10:53 AM, Leon Rosenberg wrote: > On Mon, Jan 8, 2018 at 10:26 AM, Mark Thomas wrote: > >> On 08/01/18 15:16, Christopher Schultz wrote: >> >> >> >> >> Therefore, the first time that the GC runs, the process can take >> >>

Re: GC allocation failure

2018-01-05 Thread Suvendu Sekhar Mondal
On Jan 4, 2018 11:14 PM, "Rainer Jung" wrote: Am 04.01.2018 um 18:20 schrieb Christopher Schultz: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Ambica, > > On 1/4/18 11:17 AM, Sanka, Ambica wrote: > >> I am seeing below highlighted errors in native_err logs in

Re: GC allocation failure

2018-01-04 Thread Suvendu Sekhar Mondal
Ambica, On Jan 4, 2018 9:47 PM, "Sanka, Ambica" wrote: I am seeing below highlighted errors in native_err logs in all my tomcat applications. I also increased memory for the VM from 4GB to 8GB. Still seeing those. When do we get that errors? It is not an error. It is a very

Which Connector properties will be used in case of redirection?

2018-01-17 Thread Suvendu Sekhar Mondal
Hello Everyone, I am seeing one issue. Under high load sporadically one web service call fails with: "java.net.SocketTimeoutException: Read timed out" after 60 Sec mark. In our app, httpd routes requests to then it get redirected to 8889. Connector which listens on has

Re: Which Connector properties will be used in case of redirection?

2018-01-17 Thread Suvendu Sekhar Mondal
Hi Christopher, On Wed, Jan 17, 2018 at 10:41 PM, Christopher Schultz <ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Suvendu, > > Which version of Tomcat? > Tomcat version is 7.0.55 > On 1/17/18 8:20 AM, Suvendu Sekha

Re: Tool to analyze the core/heap dump

2018-02-06 Thread Suvendu Sekhar Mondal
On Tue, Feb 6, 2018 at 2:12 AM, Coty Sutherland wrote: > On Mon, Feb 5, 2018 at 3:16 PM, Igal @ Lucee.org wrote: >> On 2/5/2018 11:15 AM, Johan Compagner wrote: >>> >>> Jvisualvm that ships with java8 or yourkit (you can evaluate for some >>> time) >>> >>> Op

Re: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-28 Thread Suvendu Sekhar Mondal
On Thu, Dec 28, 2017 at 3:36 PM, Olaf Kock wrote: > > On 27.12.2017 23:16, Eric Robinson wrote: >>> >>> I mean A is java8 and tomcat8.. so make a C that is tomcat6 and java8 >> >> I don't think so. This is a requirement of the software company whose >> application solution we

Re: Are Symbol files of Tomcat DLLs publicly available?

2017-12-28 Thread Suvendu Sekhar Mondal
On Tue, Dec 5, 2017 at 4:19 PM, Mark Thomas <ma...@apache.org> wrote: > On 05/12/17 06:47, Suvendu Sekhar Mondal wrote: >> On Tue, Dec 5, 2017 at 1:28 AM, Mark Thomas <ma...@apache.org> wrote: >>> On 04/12/17 11:12, Suvendu Sekhar Mondal wrote: >>>> He

Re: Windows Service Weirdness

2018-08-10 Thread Suvendu Sekhar Mondal
On Sat, Aug 11, 2018, 12:33 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > Did something change with Windows recently? > > On this list and on SO there seem to be lots of questions about > "Tomcat not releasing

Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Suvendu Sekhar Mondal
On Thu, Aug 9, 2018 at 2:39 PM Mark Thomas wrote: > > On 09/08/18 01:06, Daniel Savard wrote: > > > Louis, > > > > I believe you need to understand a bit more how things are working with > > Java and the JVM. > > Actually Daniel, it is you who needs to understand things better. > > > Louis, > >

Re: Tomcat service gets stuck

2018-08-23 Thread Suvendu Sekhar Mondal
On Thu, Aug 23, 2018, 2:06 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Bab, > > On 8/22/18 9:49 AM, Bab Alemzadeh wrote: > > I am using Windows Server 2008/2012, datacenter edition. We have > > installed: KB4338815. > > > >

Re: Tomcat 9.0.8 with JRE 10.0.2 x64 Windows

2018-07-20 Thread Suvendu Sekhar Mondal
Shailendra, On Fri, Jul 20, 2018 at 12:35 PM Shailendra Kumar Verma wrote: > > Hello, > > I recently installed Tomcat 9.0.8 on Windows 2016 server with JRE 10.0.2 x64. > After installation, it is taking 95% of CPU and 4 GB of RAM without any calls > running to the box. Why? > > System has 32

Re: Tomcat HTTP Sessions exceeded

2018-07-12 Thread Suvendu Sekhar Mondal
Sorry, there was a typo on my last email. On Wed, Jul 11, 2018, 3:08 AM Gopi Palla wrote: > Hi, > > We have two dc, in one of the dc tomcat http sessions are exceeded. we are > using introscope to monitor tomcat application server and getting the > alerts, we kept the threshold value as 850 in

Re: Tomcat HTTP Sessions exceeded

2018-07-12 Thread Suvendu Sekhar Mondal
Gopi, On Wed, Jul 11, 2018, 3:08 AM Gopi Palla wrote: > Hi, > > We have two dc, in one of the dc tomcat http sessions are exceeded. we are > using introscope to monitor tomcat application server and getting the > alerts, we kept the threshold value as 850 in introscope > Do you mean in one of

Re: Instances of org.apache.coyote.RequestInfo accumulate in RequestGroupInfo.processors and eventually result in OOME

2018-03-15 Thread Suvendu Sekhar Mondal
On Wed, Mar 14, 2018 at 2:19 AM, Industrious wrote: > Hello, Mark, > > Thanks for your attention. > > Could you take a look at the class histogram from today's OOME heap dump? > Maybe it could provide some details. > I see a spike in CPU usage at the approximate time

Is LDAP connection failing?

2018-04-05 Thread Suvendu Sekhar Mondal
Hello Everyone, Recently in one of our environments I am seeing following log in Catalina.out. It seems that LDAP connection is failing. This issue is sporadic and goes away with Tomcat recycle. One interesting thing is "localhost:389" part. I could not find out any configuration related to

Re: Is LDAP connection failing?

2018-04-19 Thread Suvendu Sekhar Mondal
On Wed, Apr 11, 2018, 3:00 PM Felix Schumacher < felix.schumac...@internetallee.de> wrote: > Am 05.04.2018 15:32, schrieb Suvendu Sekhar Mondal: > > Hello Everyone, > > > > Recently in one of our environments I am seeing following log in > > Catalina.out. It seem

Re: Application hanging on Tomcat 7.0.54

2018-09-27 Thread Suvendu Sekhar Mondal
On Thu, Sep 27, 2018, 6:20 PM Louis Zipes wrote: > Chris, > I looked through the log some more and I see all of the types of Thread > Statuses. Blocked, Runnable, Waiting, etc.. Any in particular that I > should concentrate on? > Louis, can you please take multiple thread dumps(at least 3)

Is this a classloader leak?

2018-09-20 Thread Suvendu Sekhar Mondal
Hello Everyone, Recently I am investigating a Metaspace leak issue. I dumped Metaspace content over time using jcmd. While comparing them I can see that there are 15,000 classes which are taking 120MB in that area! For all of them InstCount(number of object instances of the Java class) is zero.

Re: Issues upgrading to tomcat 9.0.17

2019-04-03 Thread Suvendu Sekhar Mondal
On Wed, Apr 3, 2019, 10:07 PM Kim, Chang H (JMD) Yes, that's correct. The same browser, hitting the same url since both > tomcat 8 and 9 are installed on the same server. Tomcat 8 works, but > tomcat 9... blank. > As per your access log sample, Tomcat is not getting the request. Can you please

Re: Thread pools

2019-03-29 Thread Suvendu Sekhar Mondal
Hi Rajendra, On Fri, Mar 29, 2019 at 2:44 AM Rajendra Popuri wrote: > > Hi, > > Is any parameter to recycle Tomcat connector thread pools like Datasource > pools? Or we can only define maxThreads value to connector element. Please > advise. > Can you please elaborate on "recycle Tomcat

Re: Tomcat Usage

2019-03-22 Thread Suvendu Sekhar Mondal
Lucas, On Thu, Mar 21, 2019, 11:08 PM Igal Sapir Lucas, > > On 3/21/2019 6:57 AM, Lucas Bovetto wrote: > > Hello, > > > > I whould like to get a support to a problem that has been happening. > > I have scenario that my tomcat stay in 100% cpu usage even though no > > one access, and when it

Re: Queries regarding tuning Apache Tomcat to serve high traffic

2019-06-13 Thread Suvendu Sekhar Mondal
On Wed, Jun 12, 2019, 7:18 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Vinu, > > On 6/12/19 04:53, Vinu Vibhu Sobhana wrote: > > Hai Team, > > > > I have been requested by Project Manager to host a web application > > in

Re: Massive Startup Time after Server Reboot

2019-05-20 Thread Suvendu Sekhar Mondal
On Mon, May 20, 2019, 5:46 PM Louis Zipes Can you refresh me on how to capture the stack dumps you suggested? > It's been a while > > >In Task Manager find the Tomcat process, right click on it and there is > an option to create a dump file. > Well, that will create Windows memory dump. > >

Re: Massive Startup Time after Server Reboot

2019-05-21 Thread Suvendu Sekhar Mondal
Jerry, On Tue, May 21, 2019, 10:55 PM Jerry Malcolm Update I totally disabled Windows Real Time Virus protection. > Apparently it was 'one' of the problems. However... > > Original startup after reboot (with WIndows Real Time Virus scan) -- ~21 > minutes > > With Windows Real Time Virus

Re: error 0 issue

2019-06-26 Thread Suvendu Sekhar Mondal
On Wed, Jun 26, 2019, 11:02 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Kumar, > > On 6/26/19 13:27, Kumar R wrote: > > Hi, Thanks for your reply...! As the application is available for > > users, also cost is involved for

Re: Windows: Tomcat grabs 100% CPU after upgrading to 7.0.96

2019-08-13 Thread Suvendu Sekhar Mondal
On Tue, Aug 13, 2019, 11:24 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Paula, > > On 8/13/19 13:11, Childers, Paula wrote: > > Windows Server 2008r2, Oracle Java 1.7.0_231 > > Thanks for that. > > > We are running

OT: Connection timeout with HttpClient

2019-07-23 Thread Suvendu Sekhar Mondal
One of our legacy applications is using Apache Commons HttpClient 3.1. POST call to one REST service is failing with "java.net.ConnectException: Connection timed out: connect" exception[1]. Timeout is occurring after one minute. To figure out where thread is spending all the time, I took multiple

Re: OT: Connection timeout with HttpClient

2019-07-24 Thread Suvendu Sekhar Mondal
Hi Chris, On Tue, Jul 23, 2019 at 6:00 PM Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Suvendu, > > On 7/23/19 07:39, Suvendu Sekhar Mondal wrote: > > One of our legacy applications is using Apache Commons HttpClient > > 3

Re: JVM job for Tomcat taking lots and lots of CPU

2020-02-12 Thread Suvendu Sekhar Mondal
Hello James, On Wed, Feb 12, 2020, 6:10 AM James H. H. Lampert wrote: > Ladies and Gentlemen: > > We have a customer installation in which the JVM job for our Tomcat > server is frequently using massive amounts of CPU. > > It's Tomcat 7.0.67, running on an AS/400, in a 64-bit Java 7 JVM, with >

Re: [OT] Trying to determine the minimum heap required for an operation

2020-07-06 Thread Suvendu Sekhar Mondal
Hello Christopher, On Mon, Jul 6, 2020, 8:50 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > Definitely off-topic, but it's the kind of weird thing someone here > might have experience with. > > I have an offline

HTTP thread pool size remained high after database failover

2020-11-11 Thread Suvendu Sekhar Mondal
Hello Everyone, During database failover resiliency testing we noticed something unusual which we still cannot explain. So, reaching out to the community for help. Application Setup: AdoptOpenJDK 1.8.192, Tomcat 7.0.55, Apache httpd, Windows 2012, SQL Server 2016 Observations: After database

Re: HTTP thread pool size remained high after database failover

2020-11-11 Thread Suvendu Sekhar Mondal
Hi Michael, On Wed, Nov 11, 2020 at 6:03 PM Michael Osipov wrote: > > Am 2020-11-11 um 12:40 schrieb Suvendu Sekhar Mondal: > > Hello Everyone, > > > > During database failover resiliency testing we noticed something > > unusual which we still ca

Re: HTTP thread pool size remained high after database failover

2020-11-11 Thread Suvendu Sekhar Mondal
Thank you Chris for your response. On Wed, Nov 11, 2020 at 10:02 PM Christopher Schultz wrote: > > Suvendu, > > On 11/11/20 06:40, Suvendu Sekhar Mondal wrote: > > Application Setup: > > AdoptOpenJDK 1.8.192, Tomcat 7.0.55, Apache httpd, Windows 2012, SQL Server > &g

Re: Logging Information when Tomcat reaches max thread limit

2020-11-02 Thread Suvendu Sekhar Mondal
Hello Aquib, On Mon, Nov 2, 2020 at 10:09 AM Aquib Khan wrote: > > Hi, > > We have a usecase where we want that our application should indicate when it > reaches maximum thread limit. Our application is deployed in tomcat. Maximum > thread limit of tomcat is 200, so If 200 threads are

Not able to connect to Tomcat 9.0.39 instance using jconsole/jvisualvm

2021-02-02 Thread Suvendu Sekhar Mondal
Hello Everyone, We recently migrated Tomcat from 7.0.55 to 9.0.39. Everything is working as expected except accessing exposed MBeans via JMX clients like jconsole/jvisualvm. While troubleshooting the issue, I enabled debug logging for both of those tools and it is throwing following error:

Re: Not able to connect to Tomcat 9.0.39 instance using jconsole/jvisualvm

2021-02-02 Thread Suvendu Sekhar Mondal
that out but I think it is not related to the problem I am seeing. > On Tue, Feb 2, 2021 at 12:22 PM Suvendu Sekhar Mondal > wrote: > > > > Hello Everyone, > > > > We recently migrated Tomcat from 7.0.55 to 9.0.39. Everything is > > working as expected excep

Re: [OT] visualvm time stamps

2021-04-11 Thread Suvendu Sekhar Mondal
Hi Chris, On Sat, Apr 10, 2021 at 12:33 AM Chris Cheshire wrote: > > My googlefu is failing me here. > > I am trying to figure out some anomalous database connection behavior in my > tomcat web app. I have enabled JMX/RMI and have visualvm running on my local > machine. > > I found the ability

Re: Not able to connect to Tomcat 9.0.39 instance using jconsole/jvisualvm

2021-02-06 Thread Suvendu Sekhar Mondal
ect to it, e.g. via your favourite IDE. > > > > Cheers, > > > > Luis > > > > [1] > > https://tomcat.apache.org/tomcat-9.0-doc/monitoring.html#Enabling_JMX_Remote > > > > > > > > > > > > > > El mar, 2 feb 2021 a las

Re: JNDIRealm thread blocking issue

2021-10-29 Thread Suvendu Sekhar Mondal
On Fri, Oct 29, 2021 at 2:02 PM Rémy Maucherat wrote: > > On Fri, Oct 29, 2021 at 9:28 AM Suvendu Sekhar Mondal > wrote: > > > > Hello Chris, > > > > On Fri, Oct 29, 2021 at 2:46 AM Christopher Schultz > > wrote: > > > > > > Suvendu, &

JNDIRealm thread blocking issue

2021-10-28 Thread Suvendu Sekhar Mondal
Hello Everyone, I was investigating one thread pool exhaustion issue. Thread dump analysis showed that all HTTP threads were waiting for a ReentrantLock object. Object address 0x00066d727f28 were same for all of the waiting threads: "http-nio-18100-exec-86" #32808 daemon prio=5 os_prio=0

Re: JNDIRealm thread blocking issue

2021-10-29 Thread Suvendu Sekhar Mondal
Hello Chris, On Fri, Oct 29, 2021 at 2:46 AM Christopher Schultz wrote: > > Suvendu, > > On 10/28/21 12:55, Suvendu Sekhar Mondal wrote: > > Hello Everyone, > > > > I was investigating one thread pool exhaustion issue. Thread dump > > analysis showe

Re: In what directory was tomcat installed

2022-02-23 Thread Suvendu Sekhar Mondal
Hello! On Thu, Feb 24, 2022, 3:50 AM Amn Ojee Uw wrote: > I am trying to setup Tomecat in Netbeans, but after installing Tomcat in > my Debian 11, and in Netbeans going to "Tools -> Servers->Add server > ->Apache Tomcat or TomEE > -> Server Location > -> Browse" > > I cannot tell in which

Re: Tomcat service does not restart on Windows with high value of Xms/Xmx

2022-04-12 Thread Suvendu Sekhar Mondal
Hello Christophe, On Tue, Apr 12, 2022 at 3:56 PM Morfin, Christophe wrote: > > Hi > > As additional information I have done further testing > > Windows 2016 32Gb RAM > Xms/Xmx 20g > Pagefile 5g > Just wondering, how are you setting min and max heap now? By setting Xms and Xmx values in the

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-04-08 Thread Suvendu Sekhar Mondal
Thank you Chris for the details and encouragement! :) One question, is there any plan to broadcast this year's ApacheCon as well? Personally speaking, I was excited to attend my first ApacheCon when this even went virtual. Experience was overwhelming for me. Thanks & Regards, Suvendu On Thu,

Re: [ANN] ApacheCon NA 2022 in New Orleans, 3-6 Oct 2022, CFP is OPEN!

2022-04-14 Thread Suvendu Sekhar Mondal
Thank you Chris for the information! On Thu, Apr 14, 2022 at 1:06 AM Christopher Schultz wrote: > > Suvendu, > > On 4/8/22 05:31, Suvendu Sekhar Mondal wrote: > > Thank you Chris for the details and encouragement! :) > > > > One question, is there any plan to b

Re: How can I stop scanning TLD's?

2022-04-13 Thread Suvendu Sekhar Mondal
Hello Blake, On Wed, Apr 13, 2022 at 6:34 PM Blake McBride wrote: > > Thanks, Thomas. > > I tried putting the following in conf/context.xml > > > > > > > That worked. However, that seems to match the Tomcat 8 docs and not the > Tomcat 9 docs. I will try figuring out the Tomcat 9

Re: Are there any known class loader leaks in Tomcat 9?

2023-11-06 Thread Suvendu Sekhar Mondal
Hello William, On Mon, Nov 6, 2023 at 11:25 PM William Crowell wrote: > > Good afternoon, > > I am running Tomcat 9.0.78 with JDK 1.8.0_371 (running with G1GC), and I am > loading some very large Java classes into Metaspace. I know this is not good > practice, but I inherited this library.

Re: Are there any known class loader leaks in Tomcat 9?

2023-11-07 Thread Suvendu Sekhar Mondal
Hello William, On Tue, Nov 7, 2023 at 4:29 PM William Crowell wrote: > > Olaf and Sevendu, > > Thank you for your replies. Correct, I sincerely doubt this is a Tomcat > class loading bug. > > I am using Tomcat’s normal class loader (webapp/WAR) to load the classes into > memory, and it is a

Re:

2023-11-06 Thread Suvendu Sekhar Mondal
On Mon, Nov 6, 2023 at 3:15 PM Mark Thomas wrote: > > On 05/11/2023 17:23, Greg Huber wrote: > > Thanks Mark and Chris. > > > >>> >>> base="/home/devuser/git/myproject/target/classes" > >>> className="org.apache.catalina.webresources.DirResourceSet" > >>>

Re: Tomcat service does not restart on Windows with high value of Xms/Xmx

2022-04-08 Thread Suvendu Sekhar Mondal
Hello Christophe, On Fri, Apr 8, 2022 at 7:40 PM Morfin, Christophe wrote: > > > > Hi > > I am using Tomcat 9.0.52 and 9.0.60 on Windows server 2019 version 1809 (OS > Build 17763.2686) > The machine has 32Gb of Ram > Pagefile size 4Gb > The Tomcat service is configured with Xms20g Xmx20g added

Re: Connection pool

2022-05-04 Thread Suvendu Sekhar Mondal
Hello Mohamed, On Thu, May 5, 2022 at 2:59 AM Mohamed Eliyas Abdul Kadar wrote: > > Hi All > I am trying to limit the db connections on the oracle side by limiting the > size of connection pool in the datasource config as below. I tried setting > the max size to 20 by maxTotal/ maxActive

Re: Tomcat unresponsive

2022-09-29 Thread Suvendu Sekhar Mondal
Hello Christoph, On Thu, Sep 29, 2022, 3:27 PM Christoph Empl wrote: > Hello, > > i’m facing a problem that my tomcat seems to become unresponsive if it’s > under a certain load. > Can you please elaborate the situation a bit? What happens after that, is it crashing or becomes sluggish? Does

Re: Question about upgrade from Tomcat 7 to Tomcat 9.0.67

2022-10-05 Thread Suvendu Sekhar Mondal
Hello Terry, On Wed, Oct 5, 2022, 1:47 PM Terry ST SY/OGCIO wrote: > Hi , > > we would like to upgrade Tomcat 7 to Tomcat 9.0.67. > > Check on the major changes on Tomcat 7 to Tomcat 9. (One of the major > change we initially spotted is the BIO connector used in Tomcat 7 for > connector setup

Re: About granting permissions to Tomcat JVM

2022-10-09 Thread Suvendu Sekhar Mondal
Hello Martin, On Sun, Oct 9, 2022 at 7:03 PM Martin Moore wrote: > > the ProcessExplorer shows that a Java process is running on the file and > this only after actually performing the delete from Java. > Sometimes Logstash gives me trouble like this. Most probably some part of the app was still

Re: tomcat is not coming Up

2023-01-11 Thread Suvendu Sekhar Mondal
Hello Prabu, On Wed, Jan 11, 2023, 8:56 PM Ganesan, Prabu wrote: > Hi team > > > > Our Production Servers are down, Not Coming up When we are trying to start > the services > Which OS are you using? Please provide some basic details ( like OS, Tomcat version, JRE version ) about your

Re: Need to know about analyzing of thread dump and heap dump

2023-04-04 Thread Suvendu Sekhar Mondal
Hi Koustav, On Tue, Apr 4, 2023, 1:28 AM Naha, Koustav wrote: > Hi all, > > Good day. > > Can someone suggest me some good tools to analyze heap dump and thread > dumps which we can use in real time production environment. > Also, GUI based tools will be a good one to use. > Pease don't use

Re: Need to know about analyzing of thread dump and heap dump

2023-04-05 Thread Suvendu Sekhar Mondal
On Tue, Apr 4, 2023, 5:08 PM wrote: > > > > > -Original Message- > > From: Suvendu Sekhar Mondal > > Sent: Tuesday, April 04, 2023 1:54 AM > > To: Tomcat Users List > > Subject: Re: Need to know about analyzing of thread dump and heap dump &g

Re: Tomcat 9.0.76 Memory leak with Java 17

2023-07-12 Thread Suvendu Sekhar Mondal
Hi Chris, On Tue, Jul 11, 2023 at 11:48 PM Christopher Schultz wrote: > > James, > > On 7/11/23 10:21, James Boggs wrote: > > We had a stable SSL enabled website with Apache Tomcat 9.0.73 on Windows > > Server 2012 o/s, Java 8, Oracle ORDS 21.4 and SSL. > > > > We simultaneously upgraded to

Re: Core Dump File generating Issue

2023-06-06 Thread Suvendu Sekhar Mondal
Hello Mohit, On Tue, Jun 6, 2023 at 4:48 AM Chaudhary, Mohit wrote: > > Hello Team, > > Onto our tomcat production environment we are having two server clustered > .where we have only one tomcat app running. > We are facing some issue in production system and observed there are core > dump

  1   2   >