Configuring the listening socket queue size

The server socket that listens for CHP connections is used by Blueworx Voice Response for AIX to communicate with Blueworx Voice Response Java and VoiceXML Environment.

The maximum length of the queue on this socket is set to 150 by default. This means that Blueworx Voice Response can have a maximum of 150 pending connections to Java before the next connection is refused. It should be emphasized that the maximum queue length is the number of pending connections, not the total number of connections.

The problem is that some applications generate a high level of incoming calls, particularly applications that result in many short calls. In this situation, the pending socket queue can become full, especially during the period that garbage collection occurs. If this happens, Blueworx Voice Response writes the following error message to the error log file:
Could not connect to DirectTalk Beans: call will not be processed. Connect 
call failed to port <port number>
To avoid this problem, edit the dtj.ini file to add the following entry:
dta.listen.queue=<queue size>
where <queue size> is the increased queue size that you want to use. Save the changes.

The default value of 150 is the equivalent of specifying the following in the dtj.ini file:

dta.listen.queue=150