On 12/15/07, Philip Guenther <[EMAIL PROTECTED]> wrote:
> On Dec 14, 2007 3:06 PM, Mark Bucciarelli <[EMAIL PROTECTED]> wrote:
> > On 2007-05-10 8:40:36 Claudio Jeker wrote:
> >
> > > With many shortliving connections you have a lot of sockets in TIME_WAIT.
> > > Because you are testing from one host only you start to hit these entries
> > > more and more often this often results in a retry from the client.
> >
> > Why does it matter that the http requests come from the same host?
>
> I believe OpenBSD limits such port assignments via the
> net.inet.ip.porthi{first,last} sysctl variables which give you a
> default range of only 16384 ports. Putting that together with the
> normal TIME_WAIT period of 2 minutes means that a single OpenBSD
> machine connecting to a single port on a server is limited to 136
> connections per second on average.
Got it, thanks. That explains the "operation already in progress
message" from http_load. :) I've increased the client port range and
those messages are gone.
I'm noticing that often there are three sockets bound to www port that
end up in a state of CLOSING for nearly ten minutes after running the
test. (Their send queue is equal to 316.)
Is it unusual to have such a long timeout?
m