Date: Fri, 27 Oct 2006 15:58:07 GMT From: Kriston Rehberg<me@kriston.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/104859: rpc.statd immediately allocates 256 million bytes of memory upon invocation Message-ID: <200610271558.k9RFw7uB040158@www.freebsd.org> Resent-Message-ID: <200610271600.k9RG0bOn017969@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610271558.k9RFw7uB040158>