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

Oliver Brandmueller ob at e-Gitt.NET
Sun Apr 1 19:31:34 UTC 2012


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 at sysadm.in |
|                        Ich bin das Internet. Sowahr ich Gott helfe. |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120401/eb41f488/attachment.pgp


More information about the freebsd-stable mailing list