From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 11 21:54:25 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFFEB5F2 for ; Wed, 11 Mar 2015 21:54:25 +0000 (UTC) Received: from mail.westryn.net (mail.westryn.net [199.48.135.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD624281 for ; Wed, 11 Mar 2015 21:54:25 +0000 (UTC) Received: from ice.westryn.net (225x169.ouraynet.com [204.16.225.169]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.westryn.net (Postfix) with ESMTPSA id 355E394323E; Wed, 11 Mar 2015 15:54:23 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: file system change notifications From: Kim Shrier In-Reply-To: Date: Wed, 11 Mar 2015 15:54:21 -0600 Content-Transfer-Encoding: 7bit Message-Id: References: To: FreeBSD Hackers X-Mailer: Apple Mail (2.2070.6) Cc: int0dster@gmail.com X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 21:54:25 -0000 On Mar 11, 2015, at 1:14 PM, Ivan Krivonos wrote: > > Hi, > > Have not read this paper, but why just don`t kqueue() ? > Apparently, you have to have a file descriptor for every file you want to monitor, if I read things right. This is prohibitive with 100,000+ files. It also means that you cannot unmount a file system if you are monitoring any files in it, since the file system is considered busy. Kim