From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 27 16:00:39 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7636A16A50D for ; Fri, 27 Oct 2006 16:00:39 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7056843D7B for ; Fri, 27 Oct 2006 16:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9RG0bL0017976 for ; Fri, 27 Oct 2006 16:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9RG0bOn017969; Fri, 27 Oct 2006 16:00:37 GMT (envelope-from gnats) Resent-Date: Fri, 27 Oct 2006 16:00:37 GMT Resent-Message-Id: <200610271600.k9RG0bOn017969@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kriston Rehberg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8487F16A510 for ; Fri, 27 Oct 2006 15:58:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 526A443D53 for ; Fri, 27 Oct 2006 15:58:08 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9RFw76T040159 for ; Fri, 27 Oct 2006 15:58:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k9RFw7uB040158; Fri, 27 Oct 2006 15:58:07 GMT (envelope-from nobody) Message-Id: <200610271558.k9RFw7uB040158@www.freebsd.org> Date: Fri, 27 Oct 2006 15:58:07 GMT From: Kriston Rehberg To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/104859: rpc.statd immediately allocates 256 million bytes of memory upon invocation X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 16:00:39 -0000 >Number: 104859 >Category: misc >Synopsis: rpc.statd immediately allocates 256 million bytes of memory upon invocation >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 27 16:00:36 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Kriston Rehberg >Release: 6.1-RELEASE >Organization: n/a >Environment: FreeBSD xxx.xxx.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed Oct 4 15:38:33 EDT 2006 root@xxx.xxx.net:/usr/src/sys/i386/compile/DELLSC420 i386 >Description: Upon system startup the rpc.statd daemon immediately allocates 256 million bytes of memory. About 1 million bytes are in core memory and the other 255 million bytes are swapped out. In /etc/rc.conf, set 'rpc_statd_enable="YES"'. It does not matter if 'nfs_server_enable="YES"' is set, nor if 'rpc_lockd_enable="YES"' is set. Here is the output of ident /usr/sbin/rpc.statd: /usr/sbin/rpc.statd: $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $ $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.14 2005/05/19 07:36:07 dfr Exp $ $FreeBSD: src/include/rpcsvc/sm_inter.x,v 1.11 2003/05/04 02:51:42 obrien Exp $ $FreeBSD: src/usr.sbin/rpc.statd/statd.c,v 1.12 2004/04/04 19:46:14 charnier Exp $ >How-To-Repeat: In /etc/rc.conf, set 'rpc_statd_enable="YES"'. >Fix: >Release-Note: >Audit-Trail: >Unformatted: