what does "internet stream tcp 0x0 *:0" mean?

2017-05-03 Thread Stuart Henderson
I've got an amd64 web app server running 6.0/tomcat 7.0/jdk 1.8. Occasionally I get a lot of FDs building up, looking like this in fstat: $ fstat | grep internet.stream.tcp | head -1500 |tail -5 _tomcat java 88950 1585* internet stream tcp 0x0 *:0 _tomcat java 88950 1586* internet

Re: what does "internet stream tcp 0x0 *:0" mean?

2017-05-03 Thread Stuart Henderson
On 2017/05/03 10:33, Stuart Henderson wrote: > I've got an amd64 web app server running 6.0/tomcat 7.0/jdk 1.8. > Occasionally I get a lot of FDs building up, looking like this in > fstat: > > $ fstat | grep internet.stream.tcp | head -1500 |tail -5 > _tomcat java 88950 1585* internet str

Re: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Alexander Bluhm
On Wed, May 03, 2017 at 02:22:23PM +0100, Stuart Henderson wrote: > On 2017/05/03 10:33, Stuart Henderson wrote: > > $ fstat | grep internet.stream.tcp | head -1500 |tail -5 > > _tomcat java 88950 1585* internet stream tcp 0x0 *:0 The socket has no TCP PCB anymore. This can happen either

Re: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Alexander Bluhm
On Thu, May 04, 2017 at 10:45:27AM +0200, Alexander Bluhm wrote: > I consider it as a bug that these connection don't appear in netstat. Not so sure anymore whether this is a bug. The diff shows those sockets also in netstat. 0x0 tcp 0 0 *.**.*CLO

Re: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Stuart Henderson
On 2017/05/04 10:50, Alexander Bluhm wrote: > On Thu, May 04, 2017 at 10:45:27AM +0200, Alexander Bluhm wrote: > > I consider it as a bug that these connection don't appear in netstat. > > Not so sure anymore whether this is a bug. The diff shows those > sockets also in netstat. > > 0x0 tcp

Fwd: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Andrew Grillet
-- From: Alexander Bluhm Date: 4 May 2017 at 09:45 Subject: Re: what does "internet stream tcp 0x0 *:0" mean? To: tech@openbsd.org On Wed, May 03, 2017 at 02:22:23PM +0100, Stuart Henderson wrote: > On 2017/05/03 10:33, Stuart Henderson wrote: > > $ fstat | grep interne

Re: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Alexander Bluhm
On Thu, May 04, 2017 at 02:29:14PM +0100, Stuart Henderson wrote: > The information that netstat can show for these isn't particularly > useful, I think adding them to the netstat output would mainly just > increase noise. Yes. > They matter more when under FD pressure, people will already look >

Re: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Stuart Henderson
On 2017/05/04 15:59, Alexander Bluhm wrote: > On Thu, May 04, 2017 at 02:29:14PM +0100, Stuart Henderson wrote: > > The information that netstat can show for these isn't particularly > > useful, I think adding them to the netstat output would mainly just > > increase noise. > > Yes. > > > They ma

Re: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Jason McIntyre
On Thu, May 04, 2017 at 03:03:21PM +0100, Stuart Henderson wrote: > On 2017/05/04 15:59, Alexander Bluhm wrote: > > On Thu, May 04, 2017 at 02:29:14PM +0100, Stuart Henderson wrote: > > > The information that netstat can show for these isn't particularly > > > useful, I think adding them to the net

Re: Fwd: what does "internet stream tcp 0x0 *:0" mean?

2017-05-04 Thread Stuart Henderson
On 2017/05/04 14:45, Andrew Grillet wrote: > "The socket has no TCP PCB anymore. " > > This would be a better error message. It's more a statement of fact rather than an error, and the other information in this line is important for tracking it down. > (Although I don't know what a PCB is, > and