Date: Wed, 7 Apr 2010 16:25:52 +0200 (CEST) From: Petr Salinger <Petr.Salinger@seznam.cz> To: freebsd-hackers@freebsd.org Subject: Re: leak of the vnodes Message-ID: <Pine.LNX.4.62.1004071614550.28109@sci.felk.cvut.cz> In-Reply-To: <20100407095928.GG2415@deviant.kiev.zoral.com.ua> References: <20100405185924.GS2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004061011470.24982@sci.felk.cvut.cz> <20100406092429.GV2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004061700590.25851@sci.felk.cvut.cz> <20100406140308.GY2415@deviant.kiev.zoral.com.ua> <20100406140852.GZ2415@deviant.kiev.zoral.com.ua> <20100406144402.GB2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004062154060.26438@sci.felk.cvut.cz> <20100406210321.GE2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004070838050.27621@sci.felk.cvut.cz> <20100407095928.GG2415@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
>> I used the attached diff, with hackish snooping >> on allocated/freed memory for vnodes. When the vp pointer have been >> logged as active1/active2, it is (much) later shown with >> dead_vnodeops in DUMP_VP(). > Is there a lot of such /dev/ttyp* vnodes ? This indeed might be > suspicious. See below for description of how to check that the > vnodes are leaked or not. In VP_DUMP, there have been 90% nodes of this type: 40285 active 0xffffff00164855a0 tag devfs type 8 flags 00000080 use count 1 hold count 1 19410 active 0xffffff0024522d20 tag devfs type 8 flags 00000080 use count 1 hold count 1 258526 active 0xffffff000a93b960 tag devfs type 8 flags 00000080 use count 1 hold count 1 257411 active 0xffffff00245d8b40 tag devfs type 8 flags 00000080 use count 1 hold count 1 247494 active 0xffffff0016c7d780 tag devfs type 8 flags 00000080 use count 1 hold count 1 None of other line have VI_DOOMED set. The tag in my output is devfs, due to commented out vp->v_tag = "none"; I do not know, what the previous name (like ptyp*) have been. Petr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.1004071614550.28109>