Messages in this thread | | | Subject | Re: inotify 0.23 errno 28 (ENOSPC) | From | Arjan van de Ven <> | Date | Tue, 24 May 2005 18:52:35 +0200 |
| |
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 ?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |