Re: [bug-2.3.99-pre7-8] running fuser leaks mnt_count of /proc

From: Alexander Viro (aviro@redhat.com)
Date: Tue May 09 2000 - 15:52:21 EDT

  • Next message: lamont@icopyright.com: "Re: eepro100 probs"

    On Tue, 9 May 2000, Tigran Aivazian wrote:

    > Hi guys,
    >
    > Just try runnning fuser (on any filesystem) and watch the mnt->mnt_count
    > of /proc (of the real entry, not the kern_mounted one) grow steadily by
    > one each time.

    How quaint... chdir("/proc/self/fd"); gets the process into the state
    where it will correctly deal with further chdir() calls, but fail to
    release fs_struct (contents?) upon the exit. It looks like a change of
    some state: been there once and that's it - you are doomed. WTF???
    More coffee needed - it's getting seriously weird...

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Tue May 09 2000 - 16:43:08 EDT