Kaspersky Lab kaspersky anti-spam 2.0 Manual

Page of 133
94 
Kaspersky Anti-Spam 2.0 Enterprise Edition / ISP Edition 
A.1.2. The 
ap-process-server 
program 
configuration file 
The  ap-process-server program configuration file includes the configuration 
parameters (keyword and the argument separated by a space, one for each line) 
and the comments. The comments are preceded with the # or by thesign 
Examples of configuration files: 
FilterPath /usr/local/ap-mailfilter/bin/ap-mailfilter 
FilterParam -a -V 1 -g mailflt:mailflt -K 1 
StartFilters 0 
MaxFilters 20 
MinSpareFilters 0 
PidFile /usr/local/ap-mailfilter/run/ap-process-server.pid 
LogLevel 1 
SysLogFacility Mail 
Listen tcp:127.0.0.1:2255 
Provided below is the description of configuration parameters: 
FilterPath
 – filename of the filtering process executable file. The default 
value is: /usr/local/ap-mailfilter/libexec/ap-mailfilter
FilterParam
 – command line parameters sent to the filtering process; see 
para A.2, page 96. The default value is: –V 1
StartFilters
 – number of filters that must be started immediately after the 
program is started (prefork). The default value is: 0
MaxFilters
 – maximum number of filtering processes that may be started by 
the master process. The default value is: 50
The  MaxFilters parameter must be setup so that to avoid intensive 
swapping in the system, even at the maximum load. A typical value for 
a server with 1 GB memory – 50; if the major part of the traffic is made 
up by short messages (and therefore the filtering processes consume 
only an insignificant part of the memory resources), this value can be 
increased. 
MinSpareFilters
 – the minimum number of free (spare) filtering processes. 
If this number is less than the specified value, the master process will 
start additional processes. The default value is: 0
The  MinSpareFilters  parameter can be used for leveling load peaks 
when the load increases abruptly: if required, the MinSpareFilters 
parameter should be set at the level of 10-20% of the MaxFilters 
parameter.