Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2007 04:23:37 GMT
From:      Tom Donnelly <tad1214@aol.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/116275: Memory Leak with cp in ntfs
Message-ID:  <200709110423.l8B4Nbqw078382@www.freebsd.org>
Resent-Message-ID: <200709110430.l8B4U1Rs088247@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709110423.l8B4Nbqw078382>