The following table lists the Init functions available in the obj.conf file:
Table 5–26 Init Functions
Function/Parameter |
Allowed Values |
Default Value |
Description |
---|---|---|---|
Creates a performance bucket this you can use to measure the performance of SAFs in obj.conf. This function works only if the perf-init function is enabled. |
|||
A name for the bucket, for example, cgi-bucket. |
|||
A description of what the bucket measures, for example, CGI Stats. |
|||
Configures DNS caching. |
|||
32 to 32768 (32K) |
1024 |
(optional) Specifies how many entries are contained in the cache. |
|
1 to 31536000 seconds (1 year) |
1200 seconds (20 minutes) |
(optional) specifies how long in seconds before a cache entry expires. |
|
Initializes the flexible logging system. |
|||
logFileName |
A path or file name |
The full path to the log file or a file name relative to the server’s logs directory. In this example, the log file name is access and the path is /logdir/access: access="/logdir/access" |
|
Specifies the format of each log entry in the log file. |
|||
true, on, yes, or 1;false, off, no, or 0 |
Turns on relaxed logging, which skips logging components that would normally block static page acceleration if static page acceleration is enabled. |
||
Number of bytes |
8192 |
Specifies the size of the global log buffer. |
|
The lower bound is 1. Files must contain at least one buffer. The upper bound is dictated by the number of buffers that exist. The upper bound on the number of buffers that exist can be defined by the num-buffers parameter. |
Determined by the server |
Specifies the number of buffers for a given log file |
|
1000 |
Specifies the maximum number of logging buffers to use. |
||
thread-buffer-size |
Number of bytes |
8192 (8 KB) |
Specifies the size of the per thread log buffer. |
Enables rotation for logs. |
|||
A 4-digit string indicating the time in 24-hour format |
Indicates the time to start rotation. For example, 0900 indicates 9 a.m. while 1800 indicates 9 p.m. |
||
Number of minutes |
|
Indicates the number of minutes to elapse between each log rotation. |
|
yes, no |
yes |
(optional) Determines whether common-log, flex-log, and record-useragent logs are rotated. For more information, see Sun Java System Web Proxy Server 4.0.5 NSAPI Developer’s Guide. |
|
yes, no |
yes |
(optional) Determines whether error logs are rotated. |
|
A path |
(optional) Specifies the file name of a user-supplied program to execute following log file rotation. The program is passed the post-rotation name of the rotated log file as its parameter. |
||
Changes the default settings for CGI programs. |
|||
Number of seconds |
300 |
(optional) specifies how many seconds the server waits for CGI output before terminating the script. |
|
(optional) Specifies the path to the CGI stub binary. If not specified, iPlanet Web Server looks in the following directories, in the following order, relative to the server instance’s config directory: ../private/Cgistub, then ../../bin/https/bin/Cgistub. For information about installing an suid Cgistub, see Sun Java System Web Proxy Server 4.0.5 NSAPI Developer’s Guide. |
|||
env-variable |
(optional) Specifies the name and value for an environment variable that the server places into the environment for the CGI. |
||
Initializes the Common Log subsystem. |
|||
logFileName |
A path or file name |
Specifies either the full path to the log file or a file name relative to the server’s logs directory. |
|
Loads user home directory information. |
|||
(optional) Specifies the full file system path to a file other than /etc/passwd. If not provided, the default UNIX path (/etc/passwd) is used. |
|||
Loads shared libraries into the server. |
|||
Specifies either the full path to the shared library or dynamic link library or a file name relative to the server configuration directory. |
|||
A comma separated list with no spaces |
A list of the names of the functions in the shared library or dynamic link library to be made available for use by other Init or Service directives. The dash (-) character may be used in place of the underscore (_) character in function names. |
||
yes, no |
yes |
(optional) Specifies which threading model to use. no causes the routines in the library to use user-level threading. yes enables kernel-level threading. |
|
|
The name of a custom thread pool, as specified in thread-pool-init. |
||
Enables the NT console, which is the command-line shell that displays standard output and error streams. |
|||
console |
Directs error messages to the NT console. |
||
console |
Directs output to the NT console. |
||
Enables system performance measurement via performance buckets. |
|||
disable |
true, false |
true |
Disables the function when true. |
Configures pooled memory allocation. |
|||
1048576 bytes or less |
(optional) Maximum size in bytes of free block list. |
||
true, false |
false |
(optional) Flag to disable the use of pooled memory if true. |
|
Enables you to extend the HTTP protocol by registering new HTTP methods. |
|||
methods |
A comma-separated list |
Names of the methods you are registering. |
|
Enables reporting of performance statistics in XML format. |
|||
yes, no |
no |
Enables NSAPI performance profiling using buckets. This setting can also be enabled through perf-init. |
|
1 or greater |
5 |
The period in seconds between statistics updates within the server. |
|
1 or greater |
1000 |
The maximum number of virtual servers for which statistics are tracked. This number should be set higher than the number of virtual servers configured. |
|
Configures an additional thread pool. |
|||
Name of the thread pool. |
|||
Maximum number of threads in the pool. |
|||
Minimum number of threads in the pool. |
|||
Number of bytes |
Size of the queue for the pool. |
||
Number of bytes |
Stack size of each thread in the native (kernel) thread pool. |