![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 274](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653274.webp)
Native Thread Pools
274
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
ThreadIncrement
The number of additional or new request processing threads created to handle an
increase in the load on the server, for example when the number of pending
connections (in the request processing queue) exceeds the number of idle request
processing threads.
When a server starts up, it creates
RqThrottleMin
number of request processing
threads. As the load increases, it creates
ThreadIncrement
additional request
processing threads until
RqThrottle
request processing threads have been created.
Default
The default value is 10.
UseNativePoll (UNIX only)
Uses a platform-specific poll interface when set to 1(on). Uses the NSPR poll
interface in the KeepAlive subsystem when set to 0 (off).
Default
1 (on)
Native Thread Pools
This section lists the directives for controlling the size of the native kernel thread
pool. You can also control the native thread pool by setting the system variables
NSCP_POOL_STACKSIZE
,
NSCP_POOL_THREADMAX
, and
NSCP_POOL_WORKQUEUEMAX
. If
you have set these values as environment variables and also in
magnus.conf
, the
environment variable values will take precedence.
The native pool on UNIX is normally not engaged, as all threads are OS-level
threads. Using native pools on UNIX may introduce a small performance overhead
as they’ll require an additional context switch; however, they can be used to
localize the
jvm.stickyAttach
effect or for other purposes, such as resource
control and management or to emulate single-threaded behavior for plug-ins.
On Windows NT/Windows 2000, the default native pool is always being used and
Enterprise Server uses fibers (user-scheduled threads) for initial request
processing. Using custom additional pools on Windows NT/Windows 2000
introduces no additional overhead.
The directives are:
•
NativePoolStackSize
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...