Re: backlog measurement

2008-01-11 Thread Andrew Skiba
ample, maxThreads=10 acceptCount=30, with your > implementations, your not measuring the actual backlog, you're only > measuring the number of actually accepted connections, you still end up > with unmeasurable backlog. what you instead end up with is 15 extra > connections, and

Re: backlog measurement

2008-01-10 Thread Andrew Skiba
uot; minSpareThreads="5" maxSpareThreads="7" > >enableLookups="false" redirectPort="8443" > acceptCount="10" > >

Re: backlog measurement

2008-01-10 Thread Andrew Skiba
It works with tomcat from trunk now. I opened a bug and attached a patch for the new code. License and author specified as you said. Please review. http://issues.apache.org/bugzilla/show_bug.cgi?id=44199 On Jan 10, 2008 11:47 AM, Andrew Skiba <[EMAIL PROTECTED]> wrote: > Hi Peter, t

Re: backlog measurement

2008-01-10 Thread Andrew Skiba
> Regards, > Peter > > > Am 10.01.2008 um 09:47 schrieb Andrew Skiba: > > > Hello, > > > > I want to contribute a custom SocketFactory allowing to analyze the > > utilization of acceptConnection attribute of a Connector. In a > > properly configured

backlog measurement

2008-01-10 Thread Andrew Skiba
. Please review the code in the attachment. Andrew Skiba. package org.apache.tomcat.util.net; import java.io.*; import java.net.*; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.atomic.AtomicLong; import