Editing the k2server.ini File
k2server.ini file listing
Here's an example of the
included for reference.
1
2
3
4
5
6
7
8
9
10 ## started in this server process. If there are too
11 ## many, the system can run out of memory, if two
12 ## few, searches will be blocked waiting for a Vdk
13 ## thread to become free. The number is based of
14 ## hardware resources and system needs.
15 numThreads=5
16
17 ## maxFiles: K2 Search Engine determines default values
18 ## per OS. For large or fragmented collections, manually
19 ## set this value. If 'numThread=4' and 'maxFiles=100',
20 ## the K2Server causes the system to support a max of 4
21 ## concurrent searches, with 100 file handles for each
22 ## search thread.
23 ## maxFiles =
24
25 ## numListeners: maximum number of clients that can
26 ## connect to the K2 Server at any one time. This value
27 ## must be >= to twice the number of threads specified
28 ## in 'numThreads' values specified for all K2Brokers
29 ## in the K2 Search system ('numThreads' in 'k2broker.ini'
30 ## files multiplied by 2)
31 numListeners=20
32
33 ## portNo: TCP port number for client connections.
34 portNo=9901
35
36 ## vdkHome: directory containing Verity resources
37 vdkHome=c:\cfusion\verity\common
38
39 sortTruncDocs=
40 accessProfile=
41 knowledgeBase=
42 charMap=
43 language=
44 locale=
45
46 ## Each Collection section controls each collection
47 ## and search service configured for the server
48 ##
49 ## Collection Path Examples:
## This is an example of a K2 Server ini file used with ColdFusion.
##
## This Server section provides keywords that control
## the behavior of the entire server.
[Server]
##
## numThreads: number of Vdk search threads
file for Windows platforms. Line numbers are
k2server.ini
125
Need help?
Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?