misc/104859: rpc.statd immediately allocates 256 million bytes of
memory upon invocation
Kriston Rehberg
me at kriston.net
Fri Oct 27 16:00:39 UTC 2006
>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 at 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:
More information about the freebsd-bugs
mailing list