Answer Posted / babuv
The variables in the thread_pool namespace specify policies that configure multi-threading. This namespace includes the following variables:
high_water_mark
high_water_mark specifies the maximum number of threads allowed in the thread pool. Defaults to -1, which means that there is no limit on the maximum number of threads.
initial_threads
initial_threads specifies the number of initial threads in the thread pool.
Defaults to the low_water_mark thread limit (or 5, if the low_water_mark is not set).
low_water_mark
low_water_mark specifies the minimum number of threads in the thread pool. If this variable is set, the ORB will terminate unused threads until only this number exists. The ORB can then create more threads, if needed, to handle the items in its work queue. Defaults to -1,which means do not terminate unused threads.
max
max sets the maximum number of threads that are available for JMS message processing.
max_queue_size
max_queue_size specifies the maximum number of request items that can be queued on the ORB’s internal work queue. If this limit is exceeded, Orbix considers the server to be overloaded, and gracefully closes down connections to reduce the load. The ORB will reject subsequent requests until there is free space in the work queue. Defaults to -1, which means that there is no upper limit on the size of the request queue. In this case, the maximum work queue size is limited by how much memory is available to the process.
stack_size
stack_size sets the ORB’s internal threads stack size. This is only available in the C++ ORB; the Java API does not allow manipulation of the thread stack size.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can a client use jdk orb to communicate with orbix domain?
Explain how to change the default orbix client timeout?
How to download the orbix products?
Does interceptor capture ssl handshaking errors?
Explain how you can configure an orbix domain to use the dns network alias hostname in iors for orbix services?
How to increase the internal logging in orbix configure?
How to limit the connections to from a service?
How can you dump the orbix configuration?
Does clients using orbix 3.x talk to servers using orbix 2000?
Tell me does orbix web services provide locator functionality for web services endpoints?
How to programatically query the length of a workqueue
Explain how you configure thread pool settings in orbix 6.3?
How to developed the event service consumers and suppliers?
Does orbix provide tool to remove surplus empty lines from an orbix configuration file?
How you can access to cobra objects in orbix?