On Thursday Mar 30, 2000, Peter Schuller wrote:

> > Our application server starts rejecting TCP connections (actually,
> > the OS does, our app never sees these rejected requests) at about 20
> > simultaneous requests. The load average on the system runs a little
> > high (5-10) when requests start getting bounced, but not overly
> > concerning. Connections start getting bounced within about 10
> > seconds of starting the load test.
> 
> Hmm. Could it have something to do with the default backlog? The API docs
> for ServerSocket claims the default is 50, but if it is 20 for some reason,
> that might explain you're problems.

Good try, but we call ServerSocket() with 128.

> Try passing "100" or something as the second argument in the ServerSocket
> constructor and see if it has any effect.
> 
> Is there a "roof" in terms of number of simultaneous connections when you
> run it on other platforms?

I have test runs on NT and Solaris both with >500 simultaneous
users. Both on lesser hardware than I'm currently using.

Thanks!
-John


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to