From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 2 22:33:02 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B2321065671; Mon, 2 Jun 2008 22:33:02 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A04458FC0A; Mon, 2 Jun 2008 22:33:01 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4844751C.80704@FreeBSD.org> Date: Tue, 03 Jun 2008 00:33:00 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: ssouhlal@freebsd.org References: <200805281446.m4SEkojn099133@lurza.secnetix.de> <64200F15-4444-44FE-B904-673543441F35@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Impact of having a large number of open file descriptors X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 22:33:02 -0000 Ivan Voras wrote: > Suleiman Souhlal wrote: > >> I have an old patch that makes kqueue monitor every file write on the >> system and return the inode number in the knote's data field: >> http://people.freebsd.org/~ssouhlal/testing/kqueue-anyvnode-20050503.diff >> . >> >> I'd think it shouldn't be too hard to make it per-mountpoint.. FWIW, I would love to use this. I have situations where I have huge numbers of files and need to cheaply detect changes so I can resynchronize them to remote machines. Kris