Product: OpenFusion TAO
Version: ALL
Description:
Is it possible to force TAO to close TCP/IP connection when it is no longer used?
Resolution:
The options you need to help force TAO to close TCP/IP connections are the following:
- -ORBConnectionCacheMax <n> - where n is the maximum number of connections allowed in the cache, The default is system dependent.
- -ORBConnectionPurgingStrategy <type> - where type is the strategy.
Opened connections are added to the transport cache so they can be reused. However, if a process continues to run and these connections are not reused, the cache will continue to grow. Therefore, before each new connection, the cache is checked and purged if it has reached the limit specified by ORBConnectionCacheMax option or the system default if that option was not used.
The possible values for type are lru, lfu, fifo, and null. The default is lru (least recently used). The other options are lfu (least frequently used), fifo (first in first out), and null (no connections are purged)
These options are described in the HTML documentation supplied with the distribution.
#KnowledgeDocs
#OpenFusionTAO
#OpenFusion