No more than 5 concurrent threads are used for creating new server-to-server connections

Description

Even though OutgoingSessionPromise was using a ThreadPool, the pool was configure with 5 core thread and an unbounded queue. ThreadPool will then prefer to queue packets instead of creating new threads so in practice this means that we were only using 5 thread to establish new outgoing connections to remote servers.

Environment

None

Activity

Show:

Gaston Dombiak 
May 10, 2006 at 5:35 AM

New system properties:

xmpp.server.outgoing.max.threads (default 20)
xmpp.server.outgoing.queue (default 50)

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created May 10, 2006 at 5:34 AM
Updated May 10, 2006 at 5:35 AM
Resolved May 10, 2006 at 5:35 AM