Ye Tao wrote:
> 
> Dear gurus
> 
> I was load testing James, and  it choked when i have
> 20 concurrent threads sending emails to James. I did a
> little research, and the cause seems can be traced
> back to the java.net.ServerSocket as by default it
> only allows 50 sockets in the queue. ServerSocket
> actually offers a couple of alternative constructors
> that allows to change this number. Howerver, the
> Avalon SocketServer implementation does not use the
> other constructors. It would be nice if this number
> can be configured thru the same james xml conf file.
> Other than the code change, I am stuck with this
> default value 50 (and btw, i havent figured out why
> James fails at mere 20 concurrent threads).
> 
> Any good suggestions? How can I make James able to
> serve a decent amount of concurrent traffic?
> 
> thanks
> 
> --Ye
> 

Actually right now it's quite a mess... the SocketServer is a block
provided in the avalon dist but since the avalon cvs is under maior
changes to patch it is quite a mess. 

Can you be patient for a week or so? :-)

-- 
Federico
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

Reply via email to