From: Arjan van de Ven <arjan@infradead.org>
To: Robert Love <rlove@rlove.org>
Cc: bryanwilkerson@yahoo.com, linux-kernel@vger.kernel.org
Subject: Re: inotify 0.23 errno 28 (ENOSPC)
Date: Tue, 24 May 2005 18:52:35 +0200 [thread overview]
Message-ID: <1116953555.6280.31.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <1116952520.13324.38.camel@betsy>
On Tue, 2005-05-24 at 12:35 -0400, Robert Love wrote:
> 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
why isn't this an rlimit instead ?
next prev parent reply other threads:[~2005-05-24 17:12 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
2005-05-24 16:52 ` Arjan van de Ven [this message]
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=1116953555.6280.31.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=bryanwilkerson@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rlove@rlove.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®