Summary
What is the port range used by the Orbix daemon?
Environment
Orbix 3.3.12
All supported platforms
Question/Problem Description
What is the port range used by the Orbix daemon?
How to set the ports available to the Orbix daemon.
Resolution
The range of server port numbers chosen by the Orbix daemon is controlled by using the configuration entries IT_DAEMON_SERVER_BASE;
and
IT_DAEMON_SERVER_RANGE;
The starting port number for daemon-run servers:
IT_DAEMON_SERVER_BASE = "1570";
IT_DAEMON_SERVER_RANGE = "50";
The IT_DAEMON_SERVER_BASE must be set and the recommended value is 1590. You do not have to set IT_DAEMON_SERVER_RANGE which has a default value of 50.
When the Orbix daemon starts a server, the first server port assigned is IT_DAEMON_SERVER_BASE plus 1, and the last assigned is IT_DAEMON_SERVER_BASE plus IT_DAEMON_SERVER_RANGE. For example, using the default values the server ports range from 1591 to 1640.
Once the end of the range is reached, orbixd reiterates through the range in an attempt to find a free port. If no free port is found, an IMP_LIMIT system exception is raised to the client application attempting an invocation to the server.
The IT_DAEMON_SERVER_BASE and IT_DAEMON_SERVER_RANGE values can be set in the configuration file "common.cfg", or by setting the corresponding environment variables. Values set must be greater that 1024 and one should make sure that they do not conflict with other services. The range chosen should be greater than the maximum number of servers expected to run on the host.
Notes
More information about this can be found in Orbix 3.3.12 C admin guide.
http://supportline.microfocus.com/Documentation/books/Orbix/33sp12/orbix_3312_admin_guide_c .pdf
#Orbix3
#Orbix
#configuration
#KnowledgeDocs