> From: Christopher Schultz [mailto:ch...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to