![MACROMEDIA COLDFUSION 5-ADVANCED ADMINISTRATION Скачать руководство пользователя страница 145](http://html1.mh-extra.com/html/macromedia/coldfusion-5-advanced-administration/coldfusion-5-advanced-administration_manual_3290917145.webp)
k2server.ini Parameter Reference
127
k2server.ini Parameter Reference
The K2 Server configuration file
k2server.ini
is composed of a series of sections.
The first section,
[Server]
, provides keywords that control the behavior of the entire
server. Each subsequent section, (in the form
[Coll-1]
,
[Coll-2]
, and so forth)
controls each collection and search service configured for the server.
Server section
The following table describe the keywords that can be used in the [server] section of
the server configuration file. A sample configuration file (
k2server.ini
) is provided
with the K2 Server executable.
The server section parameters are as follows:
Parameter
Description
serverAlias
An arbitrary name used to identify the server.
numThreads
Default number of search threads to be started in the server process. Iftoo
many threads exist, the system can run out of memory; if too few threads exist,
then searches will be blocked and forced to wait for a Verity engine thread to
become free. The value of numThreads is based on hardware resources and
system needs..
maxFiles
The maximum number of file handles that can be opened by a specific search
thread. The default value for maxFiles is dependent on the limits of the OS
used. The maxFiles value affects how file handles are shared between the
operating system and the search engine. The maxFiles and numThreads
values together can be used to tune system performance.
These values can be set for a server:
[server]
numThreads=4
maxFiles=100
The above entries for a K2 Server cause the system to support a maximum of
4 concurrent searches, with 100 file handles allocated for each search thread.
The search engine determines default values per operating system. For large
or fragmented collections, it is recommended that you explicitly set a value for
maxFiles.
portNo
TCP port number for client connections. The value of portNo is the same value
assigned to portNo in the k2broker.ini file that identifies the broker referring to
this server.
numListeners
Maximum number of clients that can connect to the server at one time. The
numListeners value must be equal to or greater than the sum of all
numThreads values specified by all K2 Brokers in the K2 search system. The
numThreads value is set for a K2 Broker in the k2broker.ini file.
Содержание COLDFUSION 5-ADVANCED ADMINISTRATION
Страница 1: ...Macromedia Incorporated Advanced ColdFusion Administration ColdFusion 5...
Страница 20: ......
Страница 56: ...38 Chapter 1 Advanced Data Source Management...
Страница 74: ...56 Chapter 2 Administrator Tools...
Страница 76: ......
Страница 86: ...68 Chapter 3 ColdFusion Security...
Страница 87: ...To Learn More About Security 69...
Страница 88: ...70 Chapter 3 ColdFusion Security...
Страница 130: ...112 Chapter 5 Configuring Advanced Security...
Страница 132: ......
Страница 154: ...136 Chapter 6 Configuring Verity K2 Server...
Страница 162: ...144 Chapter 7 Indexing XML Documents...
Страница 202: ...184 Chapter 8 Verity Spider...
Страница 236: ...218 Chapter 10 Verity Troubleshooting Utilities...
Страница 238: ......
Страница 348: ...330 Chapter 14 ClusterCATS Utilities...
Страница 349: ...Using sniff 331...
Страница 350: ...332 Chapter 14 ClusterCATS Utilities...
Страница 362: ...344 Chapter 15 Optimizing ClusterCATS...
Страница 372: ...354 Index...