Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Guido Jäkel
On 2020-03-31 15:34, Mark Thomas wrote: > On 31/03/2020 13:49, Aditya Kumar wrote: >> Hi Mark, >> >> Sorry I'm not familiar with what a Selector is? However on one system I've >> noticed 28000 such connections. Are these caused by client connections? I'm >> not saying the connection originates

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 3/31/20 10:37, John Dale wrote: > I always appreciate your depth of knowledge, Chris. > > "hand-wavy device supporting NIO for Java" > > Could you write us a quick paragraph expanding on this idea? > > I'm happy to follow a pointer to a

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread John Dale
I always appreciate your depth of knowledge, Chris. "hand-wavy device supporting NIO for Java" Could you write us a quick paragraph expanding on this idea? I'm happy to follow a pointer to a well written article (something up to your standards). On 3/31/20, Christopher Schultz wrote: >

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread tomcat/perl
On 31.03.2020 15:30, Mark Thomas wrote: On 31/03/2020 13:29, André Warnier (tomcat/perl) wrote: On 31.03.2020 14:20, Mark Thomas wrote: On 31/03/2020 11:20, Aditya Kumar wrote: Tomcat 9.0.30 on Windows Server 2012 / Java 1.8 I've noticed on a freshly installed version of tomcat 9, upon

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 3/31/20 09:30, Frank Tornack wrote: > Yes, these too are for communication between processes. Only you > don't use the network stack. This is a special feature of Unix-like > operating systems. > > DGRAM, unlike STREAM, does not know

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Mark Thomas
On 31/03/2020 13:49, Aditya Kumar wrote: > Hi Mark, > > Sorry I'm not familiar with what a Selector is? However on one system I've > noticed 28000 such connections. Are these caused by client connections? I'm > not saying the connection originates from a client, but does the type of > socket get

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Frank Tornack
Yes, these too are for communication between processes. Only you don't use the network stack. This is a special feature of Unix-like operating systems. DGRAM, unlike STREAM, does not know connection states. Therefore STREAM is comparable to a local TCP connection. Unix domain sockets exist in the

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Mark Thomas
On 31/03/2020 13:29, André Warnier (tomcat/perl) wrote: > On 31.03.2020 14:20, Mark Thomas wrote: >> On 31/03/2020 11:20, Aditya Kumar wrote: >>> Tomcat 9.0.30 on Windows Server 2012 / Java 1.8 >>> >>> I've noticed on a freshly installed version of tomcat 9, upon startup >>> there >>> are several

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Aditya Kumar
Hi Mark, Sorry I'm not familiar with what a Selector is? However on one system I've noticed 28000 such connections. Are these caused by client connections? I'm not saying the connection originates from a client, but does the type of socket get create because of client connections? On Tue, Mar

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread tomcat/perl
On 31.03.2020 14:20, Mark Thomas wrote: On 31/03/2020 11:20, Aditya Kumar wrote: Tomcat 9.0.30 on Windows Server 2012 / Java 1.8 I've noticed on a freshly installed version of tomcat 9, upon startup there are several connections to and from localhost on different ports For example on my

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Mark Thomas
On 31/03/2020 11:20, Aditya Kumar wrote: > Tomcat 9.0.30 on Windows Server 2012 / Java 1.8 > > I've noticed on a freshly installed version of tomcat 9, upon startup there > are several connections to and from localhost on different ports > > For example on my tomcat server there are 4

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread Frank Tornack
Hi Aditya, I'm not quite sure, but it could be a replacement for the sockets that a Linux system provides for inter-process communication. But it's just a guess, because I don't see this behavior on Linux. kindly Frank Am Dienstag, den 31.03.2020, 11:20 +0100 schrieb Aditya Kumar: > Tomcat

Why does Tomcat open connections on localhost?

2020-03-31 Thread Aditya Kumar
Tomcat 9.0.30 on Windows Server 2012 / Java 1.8 I've noticed on a freshly installed version of tomcat 9, upon startup there are several connections to and from localhost on different ports For example on my tomcat server there are 4 connections to and from localhost (output from netstat) TCP