From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 23:44:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15C7316A4CE for ; Thu, 3 Jun 2004 23:44:41 -0700 (PDT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F2E43D41 for ; Thu, 3 Jun 2004 23:44:40 -0700 (PDT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004060415:23:57:167516.13435.2688539568 for ; Fri, 04 Jun 2004 15:23:57 +0900 (KST) Message-ID: <40C01A55.6070809@users.sourceforge.net> Date: Fri, 04 Jun 2004 15:44:37 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-1.94) (SRN:SPAMROBOT) ----------------- Subject: Memory used by caching name server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 06:44:41 -0000 Hi, This is on FreeBSD 4-Stable. I have set up a caching name server. About its cached data base, I found out: 1) data base is kept in memory 2) the maximum memory is adjustable in named.conf, for example: datasize 20M; But without specifying the datasize, how much memory is used by default. The named.conf man page is rather cryptic: datasize The maximum amount of data memory the server may use. The default value is default. Elsewhere, I found that this "default" means a system dependent value. In any case, how can I find out what is the memory used by my server on my system? Is there a 'ndc ' command for this? This is important when I consider to increase the memory limit. Thanks, Rob.