web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Thread pools Table 3.3 Auxiliary thread pool properties (continued) Property Default value Description vbroker.se.aux_se.scm. aux_tp.dispatcher.threadMax vbroker.se.aux_se.scm.aux_t p.dispatcher.threadMaxIdle vbroker.se.aux_se.scm.aux_t p.connection.tcpNoDelay 0 Specifies the maximum number of threads that the Server Connection Manager can create. The default value, 0 (zero), implies no restriction. 0 Specifies the time in seconds before an idle thread is destroyed. true For example, the following entries are required for the Partition: When this property is set to false, this turns on buffering for the socket. The default value, true, turns off buffering so that all packets are sent as soon as they are ready.Valid values are true and false. ## ## Configuration file located under /var/domains// ## configurations//mos//adm/properties/ vbroker.properties ## ## ... vbroker.se.aux_se.host=null vbroker.se.aux_se.proxyHost=null vbroker.se.aux_se.scms=aux_tp vbroker.se.aux_se.scm.aux_tp.manager.type=Socket vbroker.se.aux_se.scm.aux_tp.manager.connectionMax=0 vbroker.se.aux_se.scm.aux_tp.manager.connectionMaxIdle=0 vbroker.se.aux_se.scm.aux_tp.listener.type=IIOP vbroker.se.aux_se.scm.aux_tp.listener.port=0 vbroker.se.aux_se.scm.aux_tp.listener.proxyPort=0 vbroker.se.aux_se.scm.aux_tp.listener.giopVersion=1.2 vbroker.se.aux_se.scm.aux_tp.dispatcher.type=ThreadPool vbroker.se.aux_se.scm.aux_tp.dispatcher.threadMin=0 # # By default the thread pool size is unlimited. Actual thread # usage is controlled through default VJB thread pool, but # the maximum number of active threads will never exceed # that currently active for the default thread pool. # vbroker.se.aux_se.scm.aux_tp.dispatcher.threadMax=0 vbroker.se.aux_se.scm.aux_tp.dispatcher.threadMaxIdle=0 vbroker.se.aux_se.scm.aux_tp.connection.tcpNoDelay=false ... By default, a Partition will use the aux_se server engine. However, if required, it can be disabled through configuration of the following Partition system property: useAuxiliaryThreadPool=false Chapter 3: Partitions 27

28 BES Developer’s Guide

Thread pools<br />

Table 3.3<br />

Auxiliary thread pool properties (continued)<br />

Property Default value Description<br />

vbroker.se.aux_se.scm.<br />

aux_tp.dispatcher.threadMax<br />

vbroker.se.aux_se.scm.aux_t<br />

p.dispatcher.threadMaxIdle<br />

vbroker.se.aux_se.scm.aux_t<br />

p.connection.tcpNoDelay<br />

0 Specifies the maximum number of threads that<br />

the Server Connection Manager can create.<br />

The default value, 0 (zero), implies no<br />

restriction.<br />

0 Specifies the time in seconds before an idle<br />

thread is destroyed.<br />

true<br />

For example, the following entries are required for the Partition:<br />

When this property is set to false, this turns on<br />

buffering for the socket. The default value, true,<br />

turns off buffering so that all packets are sent as<br />

soon as they are ready.Valid values are true<br />

and false.<br />

##<br />

## Configuration file located under /var/domains//<br />

## configurations//mos//adm/properties/<br />

vbroker.properties<br />

##<br />

##<br />

...<br />

vbroker.se.aux_se.host=null<br />

vbroker.se.aux_se.proxyHost=null<br />

vbroker.se.aux_se.scms=aux_tp<br />

vbroker.se.aux_se.scm.aux_tp.manager.type=Socket<br />

vbroker.se.aux_se.scm.aux_tp.manager.connectionMax=0<br />

vbroker.se.aux_se.scm.aux_tp.manager.connectionMaxIdle=0<br />

vbroker.se.aux_se.scm.aux_tp.listener.type=IIOP<br />

vbroker.se.aux_se.scm.aux_tp.listener.port=0<br />

vbroker.se.aux_se.scm.aux_tp.listener.proxyPort=0<br />

vbroker.se.aux_se.scm.aux_tp.listener.giopVersion=1.2<br />

vbroker.se.aux_se.scm.aux_tp.dispatcher.type=ThreadPool<br />

vbroker.se.aux_se.scm.aux_tp.dispatcher.threadMin=0<br />

#<br />

# By default the thread pool size is unlimited. Actual thread<br />

# usage is controlled through default VJB thread pool, but<br />

# the maximum number of active threads will never exceed<br />

# that currently active for the default thread pool.<br />

#<br />

vbroker.se.aux_se.scm.aux_tp.dispatcher.threadMax=0<br />

vbroker.se.aux_se.scm.aux_tp.dispatcher.threadMaxIdle=0<br />

vbroker.se.aux_se.scm.aux_tp.connection.tcpNoDelay=false<br />

...<br />

By default, a Partition will use the aux_se <strong>server</strong> engine. However, if required, it can be<br />

disabled through configuration of the following Partition system property:<br />

useAuxiliaryThreadPool=false<br />

Chapter 3: Partitions 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!