From owner-freebsd-bugs@freebsd.org Sat Jul 4 15:54:21 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1B0D9A26 for ; Sat, 4 Jul 2015 15:54:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83F5618FB for ; Sat, 4 Jul 2015 15:54:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t64FsLD1032715 for ; Sat, 4 Jul 2015 15:54:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201332] large quantity of INACT memory after rsync to NFS mount Date: Sat, 04 Jul 2015 15:54:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ler@lerctr.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 15:54:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201332 Bug ID: 201332 Summary: large quantity of INACT memory after rsync to NFS mount Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ler@lerctr.org I have an NFS mount to a FreeNAS system, and it's used to rsync backup a remote server. When the rsync is finished we have a ton (49G) of inact memory: last pid: 67711; load averages: 6.90, 5.89, 5.85 up 3+16:00:34 10:50:16 76 processes: 9 running, 67 sleeping CPU: 0.0% user, 48.0% nice, 0.1% system, 0.0% interrupt, 51.9% idle Mem: 300M Active, 49G Inact, 12G Wired, 1655M Buf, 748M Free ARC: 5793M Total, 2663M MFU, 644M MRU, 1168K Anon, 131M Header, 2354M Other Swap: 96G Total, 194M Used, 96G Free when I umount the share, it all goes to Free: borg.lerctr.org /home/ler $ sudo umount /vault/backup/TBH Password: last pid: 67724; load averages: 6.57, 6.09, 5.93 up 3+16:03:23 10:53:05 76 processes: 9 running, 67 sleeping CPU: % user, % nice, % system, % interrupt, % idle Mem: 300M Active, 173M Inact, 10G Wired, 1655M Buf, 50G Free ARC: 5794M Total, 2663M MFU, 645M MRU, 1424K Anon, 131M Header, 2354M Other Swap: 96G Total, 194M Used, 96G Free 1) is this expected? 2) if not, how can we prevent/fix it? borg.lerctr.org /home/ler $ uname -aKU FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r284983: Tue Jun 30 18:01:26 CDT 2015 root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 1100077 1100077 borg.lerctr.org /home/ler $ /etc/fstab: freenas.lerctr.org:/mnt/data/TBH /vault/backup/TBH nfs rw 0 0 -- You are receiving this mail because: You are the assignee for the bug.