The difference between this value and the maximum threads is the number of requests reserved
for non-native thread requests, such as static HTML and image files. Keeping a reserve and
rejecting requests ensures that your server continues to fill requests for static files, which
prevents it from becoming unresponsive during periods of very heavy dynamic content load. If
your server consistently rejects connections, this value is either set too low, or your server
hardware is overloaded.
Tuning
You can modify the
NativePoolQueueSize
by editing the
NativePoolQueueSize
directive in
magnus.conf
.
NativePoolMaxThreads Directive
NativePoolMaxThreads
determine the maximum number of threads in the native (kernel)
thread pool.
A higher value allows more requests to execute concurrently, but has more overhead due to
context switching, so bigger is not always better. Typically, you do not need to increase this
number, but if you are not saturating your CPU and you are seeing requests queue up, then you
should increase this number.
Tuning
You can modify the
NativePoolMaxThreads
by editing the
NativePoolMaxThreads
parameter
in
magnus.conf
.
NativePoolMinThreads Directive
Determines the minimum number of threads in the native (kernel) thread pool.
Tuning
You can modify the
NativePoolMinThreads
by editing the
NativePoolMinThreads
parameter
in
magnus.conf
.
DNS Cache Information
The DNS cache caches IP addresses and DNS names. Web Server uses DNS caching for logging
and for access control by IP address. DNS cache is enabled by default. The following example
shows DNS cache information as displayed in
perfdump
:
DNSCacheInfo:
------------------
enabled
yes
Using Monitoring Data to Tune Your Server
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
68
Summary of Contents for Sun Java System Web Server 7.0
Page 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Page 10: ...10 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 84: ...84 ...
Page 100: ...100 ...