Stopping K2 Server When Run As A Service; Stopping K2 Server When Run As An Application; Stopping K2 Server On Unix; The K2Server.ini Parameter Reference - MACROMEDIA COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual

Hide thumbs Also See for COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

Stopping K2 Server when run as a service

To halt K2 Server when it is running as a Windows service, do either of the following:
Open the Services Control Panel and stop the K2 Server service.
Open a command window and enter the following command:
k2server -ntService 0

Stopping K2 Server when run as an application

When K2 Server is running as an application in a command window, you stop it by pressing
Ctrl+C to kill the process in the window where it is running.

Stopping K2 Server on UNIX

The ColdFusion MX installation includes a script that you run to halt K2 Server. By default, the
stopk2server script is located in the /cf_root/lib directory.

The k2server.ini parameter reference

The K2 Server configuration file, k2server.ini, contains many sections. The first section, [server],
provides parameters that control the behavior of the entire server. Each subsequent collection
section (in the form
configured for the server.

Server section

The following table describes the parameters that you can use in the server section of the server
configuration file. The K2 Server executable includes a sample configuration file (k2server.ini).
Parameter
serverAlias
numThreads
maxFiles
136
Chapter 10: Searching Collections with K2 Server
,
[Coll-1]
[Coll-2]
Description
An arbitrary name used to identify the server.
The default number of search threads to be started in the server process. If too
many threads exist, the system can run out of memory; if too few threads exist,
searches will be blocked and forced to wait for a Verity engine thread to become
available. The value of numThreads is based on hardware resources and system
needs.
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.
The following values can be set for a server:
[server]
numThreads=4
maxFiles=100
These 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, Macromedia recommends that you explicitly set a value for
maxFiles.
, and so on) controls each collection and search service

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents