Once you're approach a thousand threads/connections, I'd seriously guess
you're hitting JVM/OS issues.  I regularly check
http://www.volano.com/report.html to see how well various JVM/OS's handle
high thread/connection conditions.  I'd need to hear what OS and JVM
implementation you're using, and what if any changes you've made to the OS
to support a large number of threads.

With the JDK 1.4 there's support for asynchronous IO, and in theory Avalon
could retool so the # of threads doesn't increase with the number of
connections.

Incidentally, why do you need so many concurrent connections?

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: "Eric Weaver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 16, 2001 6:05 PM
Subject: Re: Number of SMTP connections in James SMTPServer


> Serge Knystautas wrote:
> >
> > Eric,
> >
> > I'm not sure what the limitation is at this point... what are you using
to
> > simulate that many connections?
>
> My apologies; I have been an idiot.
>
> My preceding tests were done on the released version.  I couldnt' make the
> recent version run because (!) I hadn't changed the port numbers in the
config
> file.  Running the new version, it handles up to 945 and then chokes and
has to
> be restarted  - the threads apparently hang and it won't answer the SMTP
port
> after that.
>
> C10k.pl 4 will try 1000 clients  -  it opens 10**(n/2) connections.
>
> Any more thoughts?
>
> --
> Eric C. Weaver   [EMAIL PROTECTED]
> "Wire telegraph is a kind of a very, very long cat... and radio operates
> exactly the same way... the only difference is that there is no cat."
> -- Albert Einstein
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to