mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rlove@rlove.org>
To: bryanwilkerson@yahoo.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: inotify 0.23 errno 28 (ENOSPC)
Date: Tue, 24 May 2005 12:35:20 -0400	[thread overview]
Message-ID: <1116952520.13324.38.camel@betsy> (raw)
In-Reply-To: <20050524163309.74541.qmail@web53401.mail.yahoo.com>

On Tue, 2005-05-24 at 09:33 -0700, Bryan Wilkerson wrote:

> I read an earlier thread where you said that it was
> possible to manually walk a tree and add all
> directories to an inotify watch descriptor.  I wrote
> some code to do this and the ioctl call fails on my
> machine after adding 9,977 directories with ENOSPC.  
> 
> I've attached a small repro case.  Just point it at
> the base of a large dir tree (e.g. inotify-r ~) to
> use. 
> 
> My kernel is 2.6.12-rc3 with the inotify 0.23 patch. 
> Let me know if you need more information.  

This is intended.  There is a per-user limit on the number of watches.
By default, that limit is 8192.

You can view and edit the number via
	/sys/class/misc/inotify/max_user_watches

Best,

	Robert Love



  reply	other threads:[~2005-05-24 16:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24 16:33 Bryan Wilkerson
2005-05-24 16:35 ` Robert Love [this message]
2005-05-24 16:52   ` Arjan van de Ven
2005-05-24 16:55     ` Robert Love

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=1116952520.13324.38.camel@betsy \
    --to=rlove@rlove.org \
    --cc=bryanwilkerson@yahoo.com \
    --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

all inboxes | Powered by JetHome®