No subject


Tue Apr 2 00:56:56 UTC 2013


6.2.14.7. Operating System Resource Limits
The server's usage of many system resources can be limited. Scaled valu=
es
are allowed when specifying
resource limits. For example, 1G can be used instead of 1073741824 to
specify a limit of one gigabyte.
64
Chapter 6. BIND 9 Configuration Reference
unlimited requests unlimited use, or the maximum available amount. defa=
ult
uses the limit that was in
force when the server was started. See the description of size_spec in
Section 6.1.
The following options set operating system resource limits for the name=

server process. Some operating
systems don't support some or any of the limits. On such systems, a war=
ning
will be issued if the
unsupported limit is used.
coresize
The maximum size of a core dump. The default is default.
datasize
The maximum amount of data memory the server may use. The default is
default. This is a hard
limit on server memory usage. If the server attempts to allocate memory=
 in
excess of this limit, the
allocation will fail, which may in turn leave the server unable to perf=
orm
DNS service. Therefore,
this option is rarely useful as a way of limiting the amount of memory =
used
by the server, but it can
be used to raise an operating system data size limit that is too small =
by
default. If you wish to limit
the amount of memory used by the server, use the max-cache-size and
recursive-clients options
instead.
files
The maximum number of files the server may have open concurrently. The
default is unlimited.
stacksize
The maximum amount of stack memory the server may use. The default is
default.
6.2.14.8. Server Resource Limits
The following options set limits on the server's resource consumption t=
hat
are enforced internally by the
server rather than the operating system.
max-ixfr-log-size
This option is obsolete; it is accepted and ignored for BIND 8
compatibility.
recursive-clients
The maximum number of simultaneous recursive lookups the server will
perform on behalf of
clients. The default is 1000. Because each recursing client uses a fair=
 bit
of memory, on the order of
20 kilobytes, the value of the recursive-clients option may have to be
decreased on hosts with
limited memory.
65
Chapter 6. BIND 9 Configuration Reference
tcp-clients
The maximum number of simultaneous client TCP connections that the serv=
er
will accept. The
default is 100.
max-cache-size
The maximum amount of memory to use for the server's cache, in bytes. W=
hen
the amount of data
in the cache reaches this limit, the server will cause records to expir=
e
prematurely so that the limit is
not exceeded. In a server with multiple views, the limit applies separa=
tely
to the cache of each view.
The default is unlimited, meaning that records are purged from the cach=
e
only when their TTLs
expire.


Good Luck,

Dave...


|---------+---------------------------->
|         |           naren at gaia.sce.ca|
|         |           rleton.ca        |
|         |           (Narendra Mehta) |
|         |           Sent by:         |
|         |           bind-users-bounce|
|         |           @isc.org         |
|         |                            |
|         |                            |
|         |           05/09/2002 10:20 |
|         |           AM               |
|         |           Please respond to|
|         |           naren            |
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------=
----------------------------------------------------------|
  |                                                                    =
                                                          |
  |       To:       comp-protocols-dns-bind at isc.org                    =
                                                          |
  |       cc:                                                          =
                                                          |
  |       Subject:  9.2.1 Memory usage                                 =
                                                          |
  >--------------------------------------------------------------------=
----------------------------------------------------------|
|---------+---------------------------->
|         |                            |
|---------+---------------------------->
  >--------------------------------------------------------------------=
----------------------------------------------------------|
  |                                                                    =
                                                          |
  >--------------------------------------------------------------------=
----------------------------------------------------------|




I have installed 9.2.1 on Solaris 8.  The memory usage as shown by top
(version 3.5beta12) seems to be quite high.  Is this normal?

  PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
22569 root       1  60    0  148M   84M sleep   91:48  1.85% named

with ps -eflly

S      UID   PID  PPID  C PRI NI   RSS     SZ    WCHAN    STIME TTY
TIME CMD

S     root 22569     1  1  39 20 74520 151048        ?   May 07 ?
92:16 /usr/local/sbin/named


Thank you.

Narendra Mehta



=




More information about the bind-users mailing list