Sun GlassFish Communications Server 1.5 Administration Reference

request-processing

Configures request processing threads.

Superelements

http-service, sip-service

Subelements

none

Attributes

The following table describes attributes for the request-processing element.

Table 1–165 request-processing Attributes

Attribute 

Default 

Description 

thread-count

5 (http-service)

10 (sip-service)

(optional) Specifies the maximum number of request processing threads. 

initial-thread-count

2 (http-service)

10 (sip-service)

(optional) Specifies the number of request processing threads that are available when the server starts up. 

thread-increment

1

(optional) Specifies the number of request processing threads added when the number of requests exceeds the initial-thread-count. Set this attribute to a value greater than 1 if thread-count is greater than 10.

request-timeout-in-seconds

60 (http-service)

60 (sip-service)

(optional) Specifies the time at which the request times out. 

header-buffer-length-in-bytes

8192

(optional) Specifies the size of the buffer used by the request processing threads to read the request data. For SIP applications, the optimal value depends on the SIP message header size.