On Fri, Aug 14, 2015 at 12:16:32AM +0800, Zorro Lang wrote: > generic/084 try to run 'tail' command, tail will use > inotify, and there're some limit about inotify. I think > the most important is fs.inotify.max_user_instances, then > fs.inotify.max_user_watches is importand too. > > When I test on a machine with 154 cpu cores, this case > run failed, and hit many warning likes: > > tail: inotify cannot be used, reverting to polling: Too many > open files > > Because the fs.inotify.max_user_instances is 128, so if > we try to tail 154 files, it will be failed. We use 'tail' all over the place in xfstests, so why is only generic/084 affected? And really, this seems more like a distro/environment bug and doesn't need xfstests help to work around. i.e. changing the sysctl before starting xfstests seems much more appropriate than hacking it a random test. Especially as there may be more than one test that is affected by this, and when run in a random order this would cause those other tests to pass/fail depending on whether generic/084 had already been run on that machine.... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html