Re: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak



Hi,

On Fri, Mar 30, 2012 at 09:02:03PM +0000, Philip M. Gollucci wrote:
http://lists.freebsd.org/pipermail/freebsd-questions/2012-March/239643.html

Same issue different thread. Different software.

Its not NFS, its ZFS.

I don't really have a place to try it on 8.2, but my hunch from things
I've done rather similarly which don't cause tell me its a new issue in
9.0, though I won't swear by that.

Just digging around I find one value ever-growing in vmstat -z and being
by far the biggest "USED" value:

virgin# while ( 1 )
while? echo -n `date`: ; vmstat -z | fgrep NAMEI | sed 's/ */ /g'
while? sleep 10
while? end
Sun Apr 1 21:26:33 CEST 2012:NAMEI: 1024, 0, 9150656, 1152,288542469, 0, 0
Sun Apr 1 21:26:43 CEST 2012:NAMEI: 1024, 0, 9150877, 1187,288546408, 0, 0
Sun Apr 1 21:26:53 CEST 2012:NAMEI: 1024, 0, 9150966, 1226,288549358, 0, 0
Sun Apr 1 21:27:03 CEST 2012:NAMEI: 1024, 0, 9151079, 1241,288551944, 0, 0
Sun Apr 1 21:27:13 CEST 2012:NAMEI: 1024, 0, 9151264, 1184,288555091, 0, 0
Sun Apr 1 21:27:23 CEST 2012:NAMEI: 1024, 0, 9151338, 1238,288557632, 0, 0
Sun Apr 1 21:27:33 CEST 2012:NAMEI: 1024, 0, 9151488, 1344,288560345, 0, 0
Sun Apr 1 21:27:43 CEST 2012:NAMEI: 1024, 0, 9151610, 1350,288563532, 0, 0
Sun Apr 1 21:27:53 CEST 2012:NAMEI: 1024, 0, 9151765, 1451,288567086, 0, 0
Sun Apr 1 21:28:03 CEST 2012:NAMEI: 1024, 0, 9151935, 1409,288570645, 0, 0
Sun Apr 1 21:28:13 CEST 2012:NAMEI: 1024, 0, 9152086, 1258,288573371, 0, 0
Sun Apr 1 21:28:23 CEST 2012:NAMEI: 1024, 0, 9152244, 1100,288576862, 0, 0
Sun Apr 1 21:28:33 CEST 2012:NAMEI: 1024, 0, 9152429, 1171,288580235, 0, 0
Sun Apr 1 21:28:43 CEST 2012:NAMEI: 1024, 0, 9152615, 1113,288583356, 0, 0

I'll recheck that in more busy times again.

Philip:

Are you using:

- another file system (like UFS/FFS for the system or similar?)
- ZFS snapshots
- ZFS send

on the system?

Can you also see the NAMEI growth?

- Oliver

--
| Oliver Brandmueller http://sysadm.in/ ob@xxxxxxxxx |
| Ich bin das Internet. Sowahr ich Gott helfe. |

Attachment: pgp5Tdqp08810.pgp
Description: PGP signature



Relevant Pages

  • Re: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak
    ... Its not NFS, its ZFS. ... I don't really have a place to try it on 8.2, but my hunch from things ... match one of them to the growth rate I see for mir wired mem apart from ...
    (freebsd-stable)
  • Re: ZFS vs OSX Time Machine
    ... FreeBSD with ZFS + NFS performs extremely poorly when trying to do ... It would be useful to provide ZFS ARC sysctl data from the FreeBSD ... resulting in the entire pool performing horribly). ...
    (freebsd-stable)
  • Re: NFS - slow
    ... it's just a feature of NFS. ... When the client says FILE_SYNC, ... the server is required to do that. ... If you are exporting ZFS volumes and don't mind violating the NFS RFCs ...
    (freebsd-hackers)
  • Re: fsid change of ZFS?
    ... hr> between oldnfs and newnfs on a CURRENT box (NFS server exporting ... ZFS ... The cause was that fsid was changed in the following ... The objset unique ID is unique to ...
    (freebsd-current)
  • Re: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak
    ... Its not NFS, its ZFS. ... ARC to 8GB lately, ... Workload distribution is not even over the day, ...
    (freebsd-stable)