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

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

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

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

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

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

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

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

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

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

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

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 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: Question - Tomcat Memory

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

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

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

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