Mark Bucciarelli wrote:
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
Hi Mark,
You revive a very old tread here.
Along the way if you read it well, there is a lots of good informations,
but also I have to caution you, there is also some that are way wrong as
well and were corrected in the process/tread.
Just make sure to not use all that I put in there blindly please.
Depending on your setup some will affect you negatively and there is
some in that tread that are/were definitely wrong on my part and soem
that definitely help too.
Don't use it blindly without proper test, I was wrong on some of them.
Best of luck,
Daniel.