I'm reposting this, I had left out the mina-users ml address On Thu, Feb 10, 2011 at 2:06 PM, Francesco Vivoli <[email protected]>wrote:
> > > On Thu, Feb 10, 2011 at 1:29 PM, Emmanuel Lécharny > <[email protected]>wrote: > >> On 2/10/11 12:57 PM, Francesco Vivoli wrote: >> >>> Ok, I have run some other tests with mina-core-2.0.2 and this connection >>> pattern is still there... It surely has to deal with Windows since, on >>> Linux >>> and Mac OS X there's no sign of it. >>> >>> I am still trying to capture traffic going through any of these >>> connection >>> but it can't see any of it. >>> >> >> Are you using Wireshark ? >> >> > Yes, why? > > >> Frankly I'm a bit concerned as we had a system failure weeks ago where >>> Windows reported it was out of nonpaged pool, and it stopped being able >>> to >>> create new connections. On average netstat shows around 250-300 >>> established >>> connections of which some 80 are these "unknown" ones. It also has 30-40 >>> TIME_WAIT ones. >>> >> >> 300 established connections is just nothing. On a loaded server, you may >> get hundreds of thousands established connections. Although I would never >> run such a load on a windows machine, hat's for sure ... >> >> > I know it's not much, that's why it bothers me having run out of pool space > to allocate new connections... > > > >> Since the app we're working on basically is just a webapp using mina and >>> a >>> DB, and being able to pinpoint db connections easily, do you have some >>> ideas >>> about what could be causing this and if we should worry about it (right >>> now >>> we do, maybe it's a well known Windows/NIO behavior that I haven't been >>> able >>> to locate). >>> >> Question is : can you reproduce this behaviour on a test machine with few >> connected sessions? It would be easier to determinate what can cause those >> localhost connections to be opened. >> >> > This is going to be my next step:) > > >> Also I'm not sue that Process Explorer can help in finding which process >> exactly is creating those connections (Process Explorer is a bit like lsof >> on linux). >> >> > netstat shows that they are all owned by the tomcat process. > > Thanks, regards > Francesco > > >> >> -- >> Regards, >> Cordialement, >> Emmanuel Lécharny >> www.iktek.com >> >> >
