You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dustin Delage <dd...@sagecomputing.com> on 2016/10/26 17:07:32 UTC

Tomcat 9 exe, High CPU usage due to TCP I/O with itself

Tomcat 9, running on Windows Server 2008, runs the CPU at 79% - 90%
continuously. The only activity is tomcat spamming itself with TCP
traffic. Same proc ID, out one port, to another port back to itself.

A small sample from Process Monitor:

##########################################################################
##########################################################################
##################
10:16:04.7458125 AM	Tomcat9.exe	1932	TCP Receive
7f00:1::d880:fe03:80fa:ffff:49199 ->
7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49198	SUCCESS	Length: 1, seqnum:
0, connid: 0
10:16:04.7458374 AM	Tomcat9.exe	1932	TCP Send
Sage-Web03.sage.local:49198 -> Sage-Web03.sage.local:49199	SUCCESS
Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
10:16:04.7458805 AM	Tomcat9.exe	1932	TCP Receive
7f00:1::d880:fe03:80fa:ffff:49197 ->
7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1, seqnum:
0, connid: 0
10:16:04.7458972 AM	Tomcat9.exe	1932	TCP Send
Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197	SUCCESS
Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
10:16:04.7459244 AM	Tomcat9.exe	1932	TCP Receive
7f00:1::d880:fe03:80fa:ffff:49197 ->
7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1, seqnum:
0, connid: 0
10:16:04.7459507 AM	Tomcat9.exe	1932	TCP Send
Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197	SUCCESS
Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
##########################################################################
##########################################################################
###################

Attaching an image of my findings as well

Thank You,

D Delage


RE: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Christopher Schultz [mailto:chris@christopherschultz.net] 
> Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

> On 10/27/16 1:45 PM, Dustin Delage wrote:
> > Looks like the app is now slated for redevelopment. Thanks
> > everyone.

> I still think this has nothing to do with your application...

Maybe, maybe not.  On a fresh install of Tomcat 9.0.0.M11 using JDK 1.8.0_102 running as a service on Windows 7 Pro, I see the following ports in use:

Protocol  Local Address     Remote Address    State
TCP       <dns-name>:8009   <dns-name>:0      LISTENING
TCP       <dns-name>:8080   <dns-name>:0      LISTENING
TCP       <dns-name>:8005   <dns-name>:0      LISTENING
TCP       <dns-name>:55089  <dns-name>:55090  ESTABLISHED
TCP       <dns-name>:55090  <dns-name>:55089  ESTABLISHED
TCP       <dns-name>:55091  <dns-name>:55092  ESTABLISHED
TCP       <dns-name>:55092  <dns-name>:55091  ESTABLISHED
TCP       <dns-name>:55093  <dns-name>:55094  ESTABLISHED
TCP       <dns-name>:55094  <dns-name>:55093  ESTABLISHED
TCP       <dns-name>:55095  <dns-name>:55096  ESTABLISHED
TCP       <dns-name>:55096  <dns-name>:55095  ESTABLISHED
TCP       <dns-name>:55097  <dns-name>:55098  ESTABLISHED
TCP       <dns-name>:55098  <dns-name>:55097  ESTABLISHED
TCP       <dns-name>:55099  <dns-name>:55100  ESTABLISHED
TCP       <dns-name>:55100  <dns-name>:55099  ESTABLISHED
TCPV6     <dns-name>:8009   <dns-name>:0      LISTENING
TCPV6     <dns-name>:8080   <dns-name>:0      LISTENING

I haven't figured out what all the paired ports with established connections are used for yet; maybe stdin, stdout, stderr, and ??  If some of the ports are redirects of stdout and/or stderr, the webapp could be dumping a lot of junk there, causing the high CPU usage.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dustin,

On 10/27/16 1:45 PM, Dustin Delage wrote:
> Looks like the app is now slated for redevelopment. Thanks
> everyone.

I still think this has nothing to do with your application...

- -chris

> -----Original Message----- From: Mark Thomas
> [mailto:markt@apache.org] Sent: Thursday, October 27, 2016 4:48 AM 
> To: Tomcat Users List <us...@tomcat.apache.org> Subject: Re: Tomcat
> 9 exe, High CPU usage due to TCP I/O with itself
> 
> On 26/10/2016 18:07, Dustin Delage wrote:
>> Tomcat 9, running on Windows Server 2008, runs the CPU at 79% -
>> 90% continuously. The only activity is tomcat spamming itself
>> with TCP traffic. Same proc ID, out one port, to another port
>> back to itself.
> 
> Tomcat doesn't do that. That looks more likely to be an app issue.
> 
> A series of thread dumps (3 thread dumps, 10 seconds apart) should
> provide some pointers as to what is going on. A profiler (e.g.
> YourKit) would be better.
> 
> Mark
> 
>> 
>> A small sample from Process Monitor:
>> 
>> #####################################################################
#
>>
>> 
####
>> #####################################################################
#
>>
>> 
####
>> ################## 10:16:04.7458125 AM	Tomcat9.exe	1932	TCP
>> Receive 7f00:1::d880:fe03:80fa:ffff:49199 -> 
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49198	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7458374 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49198 -> Sage-Web03.sage.local:49199
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 10:16:04.7458805 AM	Tomcat9.exe	1932	TCP Receive 
>> 7f00:1::d880:fe03:80fa:ffff:49197 -> 
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7458972 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 10:16:04.7459244 AM	Tomcat9.exe	1932	TCP Receive 
>> 7f00:1::d880:fe03:80fa:ffff:49197 -> 
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7459507 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 
>> #####################################################################
#
>>
>> 
####
>> #####################################################################
#
>>
>> 
####
>> ###################
>> 
>> Attaching an image of my findings as well
>> 
>> Thank You,
>> 
>> D Delage
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYElPDAAoJEBzwKT+lPKRY7qoP/jL/CvgwumQ8n5f4vw4yFYFC
IedXndeyp6iQ5XGKi+XjjjCPUHPf0rQgjBtfn1yBmVh8Pn2QKA4SGVPrQoRwD/Q1
5HSY8n4cALaeTBLUbf/rVqeu3zzRs+TDPTf9O6MHa6PXj9LTxlRB8PqEzV8ltnLT
1UHC5w8XvDTFtVRRnmYdr0615zByEEf1l6EUbFZsi+fRTA/f39eMohXDgNYQzJ1j
WL1BcmpBPJfxHZjnfkOxI8QnieAnBprNGk9T8cpbuTFURTG9B0HZ/LtWOGaCN63e
Ji2Riu84TZx0Y2uz5XwunyPykRqBxMRyZhtzvCuomna8R+hYf+6i3utXnzcaKwID
dAvJm7vr/BbJen5tzvzGkAX26Zl4I6UCfcVzp0OW1wmbX+gTLdmEaT0kQrO5Udz4
ZraXF5zxwYEh/BHtVv/tF6GrOSI8c3GUZOZwi6P7ItMiCahkj8seAgPBA49g9wrq
HBuGRSaTW6xdyZoYzJVX4gyTjVPrCm71Ky8eORh96EnMYW/Rd+zCq9sy8UCkBg5V
/aFmv+ax1PFPNByMQKtRRItQorxLanmt2Z/K1SWm6kDHhT7hMHFZcHe/Q3QMiTwi
sbeGXCCGH5KEZC+j/w8OzfPJgJPJYrMyuJs/CcBNxp9zYZISL8N/IcqMFqkSMl0g
QGYcT3vU2hHFlD75Ksn/
=NpHn
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

Posted by Dustin Delage <dd...@sagecomputing.com>.
Looks like the app is now slated for redevelopment. Thanks everyone.

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org]
Sent: Thursday, October 27, 2016 4:48 AM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

On 26/10/2016 18:07, Dustin Delage wrote:
> Tomcat 9, running on Windows Server 2008, runs the CPU at 79% - 90%
> continuously. The only activity is tomcat spamming itself with TCP
> traffic. Same proc ID, out one port, to another port back to itself.

Tomcat doesn't do that. That looks more likely to be an app issue.

A series of thread dumps (3 thread dumps, 10 seconds apart) should provide
some pointers as to what is going on. A profiler (e.g. YourKit) would be
better.

Mark

>
> A small sample from Process Monitor:
>
> ######################################################################
> ####
> ######################################################################
> ####
> ##################
> 10:16:04.7458125 AM	Tomcat9.exe	1932	TCP Receive
> 7f00:1::d880:fe03:80fa:ffff:49199 ->
> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49198	SUCCESS	Length: 1, seqnum:
> 0, connid: 0
> 10:16:04.7458374 AM	Tomcat9.exe	1932	TCP Send
> Sage-Web03.sage.local:49198 -> Sage-Web03.sage.local:49199	SUCCESS
> Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
> 10:16:04.7458805 AM	Tomcat9.exe	1932	TCP Receive
> 7f00:1::d880:fe03:80fa:ffff:49197 ->
> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1, seqnum:
> 0, connid: 0
> 10:16:04.7458972 AM	Tomcat9.exe	1932	TCP Send
> Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197	SUCCESS
> Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
> 10:16:04.7459244 AM	Tomcat9.exe	1932	TCP Receive
> 7f00:1::d880:fe03:80fa:ffff:49197 ->
> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1, seqnum:
> 0, connid: 0
> 10:16:04.7459507 AM	Tomcat9.exe	1932	TCP Send
> Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197	SUCCESS
> Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
> ######################################################################
> ####
> ######################################################################
> ####
> ###################
>
> Attaching an image of my findings as well
>
> Thank You,
>
> D Delage
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

Posted by Dustin Delage <dd...@sagecomputing.com>.
Unfortunately my knowledge of Tomcat and Java apps is limited to basic sys
admin stuff. I've made the suggestion to the developer to Profile the app.
I'm sure this will reveal the problem. I might make an attempt as well.

-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net]
Sent: Thursday, October 27, 2016 12:03 PM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 10/27/16 4:47 AM, Mark Thomas wrote:
> On 26/10/2016 18:07, Dustin Delage wrote:
>> Tomcat 9, running on Windows Server 2008, runs the CPU at 79% - 90%
>> continuously. The only activity is tomcat spamming itself with TCP
>> traffic. Same proc ID, out one port, to another port back to itself.
>
> Tomcat doesn't do that. That looks more likely to be an app issue.
>
> A series of thread dumps (3 thread dumps, 10 seconds apart) should
> provide some pointers as to what is going on. A profiler (e.g.
> YourKit) would be better.

Tomcat9.exe should be the monitor (procrun), not anything hosting an
application, right?

- -chris

>> A small sample from Process Monitor:
>>
>> #####################################################################
#####
>>
>>
########################################################################
##
>> ################## 10:16:04.7458125 AM	Tomcat9.exe	1932	TCP
>> Receive 7f00:1::d880:fe03:80fa:ffff:49199 ->
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49198	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7458374 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49198 -> Sage-Web03.sage.local:49199
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 10:16:04.7458805 AM	Tomcat9.exe	1932	TCP Receive
>> 7f00:1::d880:fe03:80fa:ffff:49197 ->
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7458972 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 10:16:04.7459244 AM	Tomcat9.exe	1932	TCP Receive
>> 7f00:1::d880:fe03:80fa:ffff:49197 ->
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7459507 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0
>> #####################################################################
#####
>>
>>
########################################################################
##
>> ###################
>>
>> Attaching an image of my findings as well
>>
>> Thank You,
>>
>> D Delage
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>>
>>
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
>
>
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYEiUyAAoJEBzwKT+lPKRY92oP/jYekQFTj5HaiQsmsQaaWgg+
eGmookPwRATKubROIedjzQA9Y62Y1PL0udQpk5xnEReQ5ISxbUs+OGJtPQippC85
VxILggVIA2ZHuPVd2qEhj1cBb5ppB9n1SsRBFRHU+Y7rdJGp8goIMBZzs1CytR/M
vK7xkyDtXzLinerMGj4k/82KnTfCo6nwf+z7Np03Np2doWXYYcZmJO3yo3N/v4lm
arp1MEHf1qSutd12ga3MeMXwt8e3WZaK5M1gFL7h7CMclIbgUBz0vGtZ7VYYCB7g
qVCzwQi64Jt7HADwllKKLmPC/N3lA3zTQvp/o1z8qsDSYPtbaZNSKNnSoqb4uzx/
8Z59Y3HZEQudT8gV2GwNzULmGh6Clcn3ECQaUxnK81YZFz0YluO8QbKTMuRM18pb
mr8UH/JoPO3PUaBsDvWo95KUZw8m1+YPhvtMCi0r2NTD7j+Klr3r9cHubAHq21Hi
VfsGXHm1Pv7vaYVx4za9bREtxEtQZWkQOsjrviYX9lH5n2Ad8QwWOd0fI4HrLBhM
3i/zE7VSOLnCpCZwQ0Dpx7inzVIuXQzmvecdSS6MsuPea3uzNqgSbKoct0A28tTU
Em1dBwPuyeHVISnxBtTYufJOeBSBEq/sFW5385QftHLQgwfH4aVouix9U6pLfAF0
+ptjg7u5okrPzuh+6RTx
=laEe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 10/27/16 4:47 AM, Mark Thomas wrote:
> On 26/10/2016 18:07, Dustin Delage wrote:
>> Tomcat 9, running on Windows Server 2008, runs the CPU at 79% -
>> 90% continuously. The only activity is tomcat spamming itself
>> with TCP traffic. Same proc ID, out one port, to another port
>> back to itself.
> 
> Tomcat doesn't do that. That looks more likely to be an app issue.
> 
> A series of thread dumps (3 thread dumps, 10 seconds apart) should 
> provide some pointers as to what is going on. A profiler (e.g.
> YourKit) would be better.

Tomcat9.exe should be the monitor (procrun), not anything hosting an
application, right?

- -chris

>> A small sample from Process Monitor:
>> 
>> #####################################################################
#####
>>
>> 
########################################################################
##
>> ################## 10:16:04.7458125 AM	Tomcat9.exe	1932	TCP
>> Receive 7f00:1::d880:fe03:80fa:ffff:49199 -> 
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49198	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7458374 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49198 -> Sage-Web03.sage.local:49199
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 10:16:04.7458805 AM	Tomcat9.exe	1932	TCP Receive 
>> 7f00:1::d880:fe03:80fa:ffff:49197 -> 
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7458972 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 10:16:04.7459244 AM	Tomcat9.exe	1932	TCP Receive 
>> 7f00:1::d880:fe03:80fa:ffff:49197 -> 
>> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1,
>> seqnum: 0, connid: 0 10:16:04.7459507 AM	Tomcat9.exe	1932	TCP
>> Send Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197
>> SUCCESS Length: 1, startime: 12341635, endtime: 12341635, seqnum:
>> 0, connid: 0 
>> #####################################################################
#####
>>
>> 
########################################################################
##
>> ###################
>> 
>> Attaching an image of my findings as well
>> 
>> Thank You,
>> 
>> D Delage
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYEiUyAAoJEBzwKT+lPKRY92oP/jYekQFTj5HaiQsmsQaaWgg+
eGmookPwRATKubROIedjzQA9Y62Y1PL0udQpk5xnEReQ5ISxbUs+OGJtPQippC85
VxILggVIA2ZHuPVd2qEhj1cBb5ppB9n1SsRBFRHU+Y7rdJGp8goIMBZzs1CytR/M
vK7xkyDtXzLinerMGj4k/82KnTfCo6nwf+z7Np03Np2doWXYYcZmJO3yo3N/v4lm
arp1MEHf1qSutd12ga3MeMXwt8e3WZaK5M1gFL7h7CMclIbgUBz0vGtZ7VYYCB7g
qVCzwQi64Jt7HADwllKKLmPC/N3lA3zTQvp/o1z8qsDSYPtbaZNSKNnSoqb4uzx/
8Z59Y3HZEQudT8gV2GwNzULmGh6Clcn3ECQaUxnK81YZFz0YluO8QbKTMuRM18pb
mr8UH/JoPO3PUaBsDvWo95KUZw8m1+YPhvtMCi0r2NTD7j+Klr3r9cHubAHq21Hi
VfsGXHm1Pv7vaYVx4za9bREtxEtQZWkQOsjrviYX9lH5n2Ad8QwWOd0fI4HrLBhM
3i/zE7VSOLnCpCZwQ0Dpx7inzVIuXQzmvecdSS6MsuPea3uzNqgSbKoct0A28tTU
Em1dBwPuyeHVISnxBtTYufJOeBSBEq/sFW5385QftHLQgwfH4aVouix9U6pLfAF0
+ptjg7u5okrPzuh+6RTx
=laEe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

Posted by Mark Thomas <ma...@apache.org>.
On 26/10/2016 18:07, Dustin Delage wrote:
> Tomcat 9, running on Windows Server 2008, runs the CPU at 79% - 90%
> continuously. The only activity is tomcat spamming itself with TCP
> traffic. Same proc ID, out one port, to another port back to itself.

Tomcat doesn't do that. That looks more likely to be an app issue.

A series of thread dumps (3 thread dumps, 10 seconds apart) should
provide some pointers as to what is going on. A profiler (e.g. YourKit)
would be better.

Mark

> 
> A small sample from Process Monitor:
> 
> ##########################################################################
> ##########################################################################
> ##################
> 10:16:04.7458125 AM	Tomcat9.exe	1932	TCP Receive
> 7f00:1::d880:fe03:80fa:ffff:49199 ->
> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49198	SUCCESS	Length: 1, seqnum:
> 0, connid: 0
> 10:16:04.7458374 AM	Tomcat9.exe	1932	TCP Send
> Sage-Web03.sage.local:49198 -> Sage-Web03.sage.local:49199	SUCCESS
> Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
> 10:16:04.7458805 AM	Tomcat9.exe	1932	TCP Receive
> 7f00:1::d880:fe03:80fa:ffff:49197 ->
> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1, seqnum:
> 0, connid: 0
> 10:16:04.7458972 AM	Tomcat9.exe	1932	TCP Send
> Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197	SUCCESS
> Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
> 10:16:04.7459244 AM	Tomcat9.exe	1932	TCP Receive
> 7f00:1::d880:fe03:80fa:ffff:49197 ->
> 7f00:1:ffff:ffff:ffff:ffff:ffff:ffff:49196	SUCCESS	Length: 1, seqnum:
> 0, connid: 0
> 10:16:04.7459507 AM	Tomcat9.exe	1932	TCP Send
> Sage-Web03.sage.local:49196 -> Sage-Web03.sage.local:49197	SUCCESS
> Length: 1, startime: 12341635, endtime: 12341635, seqnum: 0, connid: 0
> ##########################################################################
> ##########################################################################
> ###################
> 
> Attaching an image of my findings as well
> 
> Thank You,
> 
> D Delage
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org