On Thu, 2005-08-25 at 10:13 -0400, John McCutchan wrote: > I really don't want 2.6.13 to go out with this bug or the compromise. If > we use 0, we will have a lot of wd re-use. Which will cause "strange" > problems in inotify using applications that cleanup upon receipt of an > IN_IGNORE event. What happens when, given bug-free code that doesn't reuse, you hit the 8192 limit with wd, even if they're not all open at the same time? Does it still add them, or will inotify give an error? And does the idr layer handle something like that gracefully without using lots of memory? The background is that the process using this is potentially quite long-running and keeps opening/closing wds, so 8192 doesn't sound like a high barrier, after all Reuben observed hitting the 1024 limit after 15 minutes or so. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- From: John McCutchan <[email protected]>
- Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- References:
- Inotify problem [was Re: 2.6.13-rc6-mm1]
- From: Reuben Farrelly <[email protected]>
- Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- From: Johannes Berg <[email protected]>
- Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- From: John McCutchan <[email protected]>
- Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- From: Robert Love <[email protected]>
- Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- From: John McCutchan <[email protected]>
- Inotify problem [was Re: 2.6.13-rc6-mm1]
- Prev by Date: Re: [PATCH 5/5] Remove unnecesary capability hooks in rootplug.
- Next by Date: Re: [PATCH 2.6.13-rc6] cpu_exclusive sched domains build fix
- Previous by thread: Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- Next by thread: Re: Inotify problem [was Re: 2.6.13-rc6-mm1]
- Index(es):