Using perfdump Statistics to Tune Your Server
244
Netscape Enterprise Server Administrator’s Guide
Tuning
Turn this parameter on by adding this directive to
magnus.conf
:
PostThreadsEarly 1
Thread Pool Environmental Variables
NSCP_POOL_WORKQUEUEMAX
This value defaults to 0x7FFFFFFF (a very large number). Setting this
below
the
RqThrottle
value causes the server to execute a busy function instead of the
intended NSAPI function whenever the number of requests waiting for service
by pool threads exceeds this value. The default returns a “503 Service
Unavailable” response and logs a message if
LogVerbose
is enabled. Setting
this
above
RqThrottle
causes the server to reject connections before a busy
function can execute.
This value represents the maximum number of concurrent requests for service
which require a native thread. If your system is unable to fulfill requests due to
load, letting more requests queue up increases the latency for requests and
could result in all available request threads waiting for a native thread. In
general, set this value to be high enough to avoid rejecting requests under
“normal” conditions, which would be the anticipated maximum number of
concurrent users who would execute requests requiring a native thread.
The difference between this value and
RqThrottle
is the number of requests
reserved for non-native thread requests (such as static html, gif, and jpeg 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 set too low or your server hardware is
overloaded.
NSCP_POOL_THREADMAX
This value represents the maximum number of threads in the pool. Set this
value as low as possible to sustain the optimal volume of requests. A higher
value allows more requests to execute concurrently, but has more overhead
due to context switching, so “bigger is not always better.” If you are not
saturating your CPU but you are seeing requests queue up, then increase this
number. Typically, you will not need to increase this number.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...