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.
Summary of Contents for COLDFUSION 5-ADVANCED ADMINISTRATION
Page 1: ...Macromedia Incorporated Advanced ColdFusion Administration ColdFusion 5...
Page 20: ......
Page 56: ...38 Chapter 1 Advanced Data Source Management...
Page 74: ...56 Chapter 2 Administrator Tools...
Page 76: ......
Page 86: ...68 Chapter 3 ColdFusion Security...
Page 87: ...To Learn More About Security 69...
Page 88: ...70 Chapter 3 ColdFusion Security...
Page 130: ...112 Chapter 5 Configuring Advanced Security...
Page 132: ......
Page 154: ...136 Chapter 6 Configuring Verity K2 Server...
Page 162: ...144 Chapter 7 Indexing XML Documents...
Page 202: ...184 Chapter 8 Verity Spider...
Page 236: ...218 Chapter 10 Verity Troubleshooting Utilities...
Page 238: ......
Page 348: ...330 Chapter 14 ClusterCATS Utilities...
Page 349: ...Using sniff 331...
Page 350: ...332 Chapter 14 ClusterCATS Utilities...
Page 362: ...344 Chapter 15 Optimizing ClusterCATS...
Page 372: ...354 Index...