On 9/27/18 1:22 PM, Linaro QA (BETA) wrote:
Summary
kernel: 4.4.159-rc1 git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git branch: linux-4.4.y git commit: 00c1733d7f0d0d2d6e7f3a2198d63a99ca8be540 git describe: v4.4.158-29-g00c1733d7f0d Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-4.4-oe/build/v4.4.158-29-...
Regressions (compared to build v4.4.158-26-g9856db259fbe)
qemu_x86_64: ltp-syscalls-tests: * inotify06 * runltp_syscalls
inotify06.c:87: BROK: inotify_init failed: EMFILE
inotify_init() ERRORS: ... EMFILE The per-process limit on the number of open file descriptors has been reached.
Comes from:
if (atomic_inc_return(&group->inotify_data.user->inotify_devs) > inotify_max_user_instances) { fsnotify_destroy_group(group); return ERR_PTR(-EMFILE); }
Which means max number of inotify devices opened by the user:
$ sudo sysctl -a | grep -i inoti fs.inotify.max_queued_events = 16384 fs.inotify.max_user_instances = 1024 <- THIS NUMBER fs.inotify.max_user_watches = 8192 user.max_inotify_instances = 1024 user.max_inotify_watches = 8192
Should we raise default limit for this test ?