This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | LinuxNotifier could watch many more dirs using extra file handles | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Filesystems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 185135 | ||
Bug Blocks: | 190675, 26230 | ||
Attachments: | Multiple PollFd instances |
Description
Jesse Glick
2011-04-21 19:49:44 UTC
Reporting errors during add_watch: ergonomics#74b0a4008588, making enhancement. Calling select via JNA seems impossible (one cannot call FD_XXX macros). Using poll looks much easier. Created attachment 107930 [details]
Multiple PollFd instances
Here is a patch that allocates new instances of inotify, but as soon as first one hits a limit, all of the new ones return -1/28 error too. Looks like the inotify limit is per user/process in spite what documentation says!? If you can find out why the patch does not work for me, that would be great. Looks like Jesse's suggestion does not work. |