Consider the following suggestions and generalizations when planning your multiplexor deployment. The parameters discussed in this section are located in the iim.conf file.
The number of iim_mux.maxthreads should not exceed the number of CPUs on your server.
This helps maximize resource utilization and optimizes processing speed.
The iim_mux.maxsessions value should be high enough to avoid rejecting connections, but it should be reasonable enough so that the multiplexor processes to not get overloaded.
Be sure that your expected number of concurrent client connections is less than the maximum possible by a safe margin.
Do not configure threads or number of concurrent sessions to more than you require. Otherwise, you will unnecessarily consume system resources.
A good starting point is to configure iim_mux.numinstances to the number of CPUs on the system.
See the Sun Java System Instant Messaging 7.2 Administration Guide for more detailed information about these parameters.