From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 26 16:40:03 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 084A3106568D for ; Fri, 26 Sep 2008 16:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D8DBB8FC12 for ; Fri, 26 Sep 2008 16:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8QGe2Wt049250 for ; Fri, 26 Sep 2008 16:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8QGe2aX049249; Fri, 26 Sep 2008 16:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 26 Sep 2008 16:40:02 GMT Resent-Message-Id: <200809261640.m8QGe2aX049249@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, Dylan Cochran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F038106568C for ; Fri, 26 Sep 2008 16:30:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0DFED8FC12 for ; Fri, 26 Sep 2008 16:30:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m8QGUndZ034879 for ; Fri, 26 Sep 2008 16:30:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id m8QGUnFl034878; Fri, 26 Sep 2008 16:30:49 GMT (envelope-from nobody) Message-Id: <200809261630.m8QGUnFl034878@www.freebsd.org> Date: Fri, 26 Sep 2008 16:30:49 GMT From: Dylan Cochran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/127659: tmpfs memory leak 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, 26 Sep 2008 16:40:03 -0000 >Number: 127659 >Category: kern >Synopsis: tmpfs memory leak >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 26 16:40:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dylan Cochran >Release: 7.0-RELEASE >Organization: N/A >Environment: FreeBSD netdrive.lan. 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep 2 19:32:35 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: A tmpfs filesystem containing a rrds log (via gmetad) and a newsyslog rotated verbose error log seems to be leaking memory at a constant rate (4K per second) while being unaccounted for in the actual filesystem. netdrive# df -h Filesystem Size Used Avail Capacity Mounted on tmpfs 1.1G 631M 504M 56% /tmp netdrive# du -hd 0 /tmp/ 2.6M /tmp/ netdrive# fstat -f /tmp/. USER CMD PID FD MOUNT INUM MODE SZ|DV R/W The memory df claims is being used is allocated, as the total used space matches the used space plus the running process's working set. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: