HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3
Resource Limit Options
Resource limit options enable you to limit the server’s usage of the system resources. If a given
operating system does not support a specific limit, a warning is issue.
You can use scaled values to specify resource limits. For example, you can use 1G instead of
1073741824 to specify a limit of one gigabyte. Specifying unlimited specifies unlimited usage,
or the maximum available amount. default specifies the limit that was in effect when the server
was started.
Table 1-9 describes the resource options available.
Table 1-9 Resource Limit Options
DescriptionOption
This option specifies the maximum size of a core dump. The default value is
default.
coresize size_spec ;
This option specifies the maximum amount of data memory the server uses. The
default value is default.
datasize size-spec ;
This option specifies the maximum number of files the server can open
concurrently. The default value is unlimited.
NOTE: The server cannot set an unlimited value for certain operating systems
and cannot determine the maximum number of open files the kernel can support.
On such systems, specifying unlimited causes the server to use rlim_max for
RLIMIT_NOFILE or the value returned by sysconf(_SC_OPEN_MAX),
depending on which contains the higher value. If the actual kernel limit is larger
than this value, use limit files to specify the limit explicitly.
file size_spec ;
Specifies the maximum amount of stack memory the server can use. The default
value is default.
stacksize size_spec ;
Server Resource Limits
The server resource limit options set limits on the server’s resource consumption that are enforced
internally by the server rather than by the operating system. Table 1-10 describes the server
resource limit options.
Table 1-10 Server Resource Limit Options
DescriptionOption
This option specifies maximum number of simultaneous recursive lookups
the server performs on behalf of the clients. The default value is 1000.
recursive-clients
This option specifies maximum number of simultaneous client TCP
connections that the server accepts. The default value is 100.
tcp-clients
This option specifies maximum amount of memory (in bytes) that a server’s
cache can use. When the amount of data in the cache reaches this limit, the
server causes the records to expire prematurely so that the limit is not
exceeded.
max-cache-size
This option specifies the length of the listen queue. The default and minimum
values are 3. If the kernel supports the dataready accept filter, this option
also controls the number of TCP connections that are queued in the kernel
space waiting for data before data is passed to the accept filter.
tcp-listen-queue number;
This option sets the maximum size for each journal file. When the journal file
approaches the specified limit, older transactions in the journal are
automatically removed. The default value is unlimited.
max-journal-size size_spec;
Periodic Task Interval Options
Table 1-11 describes the periodic task interval options.
36 Overview