mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Tiberiu C. Turbureanu" <tct@ceata.org>
To: <linux-kernel@vger.kernel.org>
Subject: Maximum number of inotify watches
Date: Wed, 22 Jun 2011 15:59:20 +0300	[thread overview]
Message-ID: <bbaaf72bb3386008c77db2e16112b330@ceata.org> (raw)

 Hello,

 I want to monitor all the files on a server using one instance of 
 inotify and about 20M watches recursively set on directories in '/' tree 
 substructure. I'd want to be notified about all type of events defined 
 by inotify (create, delete, access, modify etc.)

 Assuming this monitor daemon running in user-space keeps up with the 
 frequency of new events in the kernel queue (it reads them), is it 
 possible to exceed the kernel memory limit because there are too many 
 watches and events?

 TIA,
 Tibi

             reply	other threads:[~2011-06-22 13:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22 12:59 Tiberiu C. Turbureanu [this message]
2011-06-22 14:28 ` Tvrtko Ursulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bbaaf72bb3386008c77db2e16112b330@ceata.org \
    --to=tct@ceata.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome