From owner-freebsd-stable@FreeBSD.ORG Wed Dec 15 20:13:57 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95CD11065673 for ; Wed, 15 Dec 2010 20:13:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 7EFC28FC16 for ; Wed, 15 Dec 2010 20:13:57 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LDH00M9CK78FG30@asmtp029.mac.com> for freebsd-stable@FreeBSD.ORG; Wed, 15 Dec 2010 12:13:57 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1012150126 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-12-15_10:2010-12-15, 2010-12-15, 1970-01-01 signatures=0 From: Chuck Swiger Date: Wed, 15 Dec 2010 12:13:56 -0800 Message-id: To: FreeBSD-STABLE Mailing List X-Mailer: Apple Mail (2.1082) Cc: Subject: named: high memory usage...? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 20:13:57 -0000 Hi-- I'd recently updated a machine to 7-STABLE, and I've noticed that named from the base system (which claims to be BIND 9.4-ESV-R4) is using more than twice as much memory as it used to: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 706 bind 4 4 0 69424K 57292K kqread 0:09 0.00% named It's serving about 20 zones with total record size of less than 100K, and has the following option block set: options { directory "/var/named"; recursive-clients 400; clients-per-query 210; max-clients-per-query 220; max-cache-size 10m; }; This box was previously running FreeBSD-6.4 and dns/bind94 port, and named never crept above 30M VSIZE/RES even under heavy load (ie, "adnslogres -c 100" against a millon line httpd-access.log file); the size above is from named running for about a day, *without* putting any significant load upon the nameserver.... Regards, -- -Chuck