From nobody@FreeBSD.org Fri Oct 27 15:58:08 2006 Return-Path: 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 Subject: rpc.statd immediately allocates 256 million bytes of memory upon invocation X-Send-Pr-Version: www-3.0 >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: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 27 16:00:36 GMT 2006 >Closed-Date: Fri Oct 27 18:26:48 GMT 2006 >Last-Modified: Fri Oct 27 18:30:15 GMT 2006 >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: State-Changed-From-To: open->closed State-Changed-By: kris State-Changed-When: Fri Oct 27 18:25:55 UTC 2006 State-Changed-Why: Claimed problem is not correct, see the FAQ http://www.freebsd.org/cgi/query-pr.cgi?pr=104859 From: Kris Kennaway To: Kriston Rehberg Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/104859: rpc.statd immediately allocates 256 million bytes of memory upon invocation Date: Fri, 27 Oct 2006 14:25:47 -0400 On Fri, Oct 27, 2006 at 03:58:07PM +0000, Kriston Rehberg wrote: > 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. See the FAQ, your interpretation is incorrect. Kris >Unformatted: