From owner-freebsd-i386@FreeBSD.ORG Tue Sep 11 04:30:02 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5950316A419 for ; Tue, 11 Sep 2007 04:30:02 +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 2931B13C461 for ; Tue, 11 Sep 2007 04:30: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.1/8.14.1) with ESMTP id l8B4U1FO088249 for ; Tue, 11 Sep 2007 04:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8B4U1Rs088247; Tue, 11 Sep 2007 04:30:01 GMT (envelope-from gnats) Resent-Date: Tue, 11 Sep 2007 04:30:01 GMT Resent-Message-Id: <200709110430.l8B4U1Rs088247@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tom Donnelly Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1198716A417 for ; Tue, 11 Sep 2007 04:23:38 +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 0A0F213C465 for ; Tue, 11 Sep 2007 04:23:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8B4NbJl078383 for ; Tue, 11 Sep 2007 04:23:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8B4Nbqw078382; Tue, 11 Sep 2007 04:23:37 GMT (envelope-from nobody) Message-Id: <200709110423.l8B4Nbqw078382@www.freebsd.org> Date: Tue, 11 Sep 2007 04:23:37 GMT From: Tom Donnelly To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/116275: Memory Leak with cp in ntfs X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 04:30:02 -0000 >Number: 116275 >Category: i386 >Synopsis: Memory Leak with cp in ntfs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 11 04:30:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Tom Donnelly >Release: 6-Stable >Organization: >Environment: FreeBSD Cardinal.donnelly.servebeer.com. 6.2-STABLE FreeBSD 6.2-STABLE #5: Wed Sep 5 18:25:42 CDT 2007 TDonnelly@Cardinal.donnelly.servebeer.com.:/usr/obj/usr/src/sys/CARDINAL i386 >Description: freeBSD 6-stable KDE 3.5.7 Xorg 7.2 Whenever I do a copy from an NTFS partition using the default ntfs reader, (mount -t ntfs /dev/ad0s1 /mnt) with big files, My memory fills until full. I have 2 GB of ram and copying a 600mb file from My Documents in windows to my home in freeBSD. Here is what I did step by step. It does this consistantly. Open a konsole (terminal) su mount /dev/ad0s1 /mnt cd /mnt/path/to/my/file/ cp filename ~/ (Memory begins to fill until full) (file copy finishes) (Memory drops about 100-200mb below full) And the memory stays full until I reboot. I feel this is serious being that if this was a server, I would have to take down a production server to restore performance. >How-To-Repeat: Here is what I did step by step. It does this consistantly. Open a konsole (terminal) su mount /dev/ad0s1 /mnt cd /mnt/path/to/my/file/ cp filename ~/ (Memory begins to fill until full) (file copy finishes) (Memory drops about 100-200mb below full) >Fix: >Release-Note: >Audit-Trail: >Unformatted: