Comments (6)
That is strange, either the per-user limit on inotify fds or per-process limit on open file descriptors was hit. My guess is the former, can you check what is the per user limit set to in /proc/sys/fs/inotify/max_user_instances
and check if there isn't a process that used up all the inotify fds? (see for example http://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached)
from ltp.
Do you have this patch? https://patchwork.kernel.org/patch/8953231/
The link to logs and setup doesn't work for me:
$ wget https://openqa.suse.de/tests/539803
--2016-09-06 11:50:07-- https://openqa.suse.de/tests/539803
Resolving openqa.suse.de (openqa.suse.de)... failed: Name or service not known.
wget: unable to resolve host address ‘openqa.suse.de’
from ltp.
Ah that's the test that calls inotify_init()
and close()
in a loop and tends to fail on certain kernels because the inotify watch was being destroyed lazily in the kernel.
If that is the case increasing the /proc/sys/fs/inotify/max_user_instances
to be greater than 400
should work like temporary workaround.
from ltp.
@jstancek I believe I have it: http://kernel.suse.com/cgit/kernel/commit/?h=SLE12-SP2&id=35e481761cdc688dbee0ef552a13f49af8eba6cc. Log: runltp.log.txt.
from ltp.
I don't think that commit is on SLE12-SP2 branch, because that branch is not a typical linux tree, but rather only patch files:
$ git branch
* SLE12-SP2
ll
total 956
drwxrwxr-x. 6 jstancek jstancek 57 Sep 6 14:21 config
-rw-rw-r--. 1 jstancek jstancek 582 Sep 6 14:21 config.conf
-rw-rw-r--. 1 jstancek jstancek 17987 Sep 6 14:21 COPYING
drwxrwxr-x. 2 jstancek jstancek 103 Sep 6 14:21 doc
drwxrwxr-x. 6 jstancek jstancek 74 Sep 6 14:21 kabi
drwxrwxr-x. 2 jstancek jstancek 4096 Sep 6 14:21 patches.apparmor
drwxrwxr-x. 2 jstancek jstancek 57344 Sep 6 14:21 patches.arch
drwxrwxr-x. 2 jstancek jstancek 196608 Sep 6 14:21 patches.drivers
drwxrwxr-x. 2 jstancek jstancek 28672 Sep 6 14:21 patches.fixes
drwxrwxr-x. 2 jstancek jstancek 4096 Sep 6 14:21 patches.kernel.org
drwxrwxr-x. 2 jstancek jstancek 93 Sep 6 14:21 patches.rpmify
drwxrwxr-x. 2 jstancek jstancek 61440 Sep 6 14:21 patches.suse
-rw-rw-r--. 1 jstancek jstancek 12360 Sep 6 14:21 README
-rw-rw-r--. 1 jstancek jstancek 402 Sep 6 14:21 README.BRANCH
drwxrwxr-x. 2 jstancek jstancek 4096 Sep 6 14:21 rpm
drwxrwxr-x. 4 jstancek jstancek 4096 Sep 6 14:21 scripts
-rw-rw-r--. 1 jstancek jstancek 369103 Sep 6 14:21 series.conf
-rw-rw-r--. 1 jstancek jstancek 107185 Sep 6 14:21 supported.conf
drwxrwxr-x. 6 jstancek jstancek 72 Sep 6 14:21 sysctl
$ grep EMFILE -r .
./patches.suse/dmapi-source.patch:+ return(-EMFILE);
./patches.suse/memcg-introduce-low-limit-for-cgroupv1.patch:+ .private = MEMFILE_PRIVATE(_MEM, RES_LOW_LIMIT),
./patches.suse/memcg-introduce-low-limit-for-cgroupv1.patch: .private = MEMFILE_PRIVATE(_MEM, RES_FAILCNT),
from ltp.
@jstancek You are right, we don't have it, I'll go with what @metan-ucw proposed.
from ltp.
Related Issues (20)
- test_robind 1 TBROK: mkfs.f2fs /dev/block/loop44 failed HOT 1
- arm32: Test killed by SIGILL : readahead01 accept03 splice07 HOT 2
- splice07 fails on kernels <5.10 HOT 2
- Fix msync04 race HOT 4
- about :opclock_settime/speculative /4-4.c HOT 1
- power_management tests on riscv64
- documentation: Unclear what the difference is between TFAIL and TBROK HOT 2
- mq_open01 fail HOT 1
- cannot find -ltirpc: No such file or directory HOT 1
- ioctl_sg01 testing failure on a specific usb storage
- LTP syscall "migrate_pages03" case will be failed due to infinite loop and timeout when any qemu guest is launched in v6.8 - v6.10 kernel HOT 2
- Write connect() functional test
- Write MREMAP_DONTUNMAP test
- Improve fsconfig test coverage
- Improve fsmount01 test coverage
- Improve fspick01 coverage
- Improve move_mount01 coverage HOT 2
- Improve mount_setattr() coverage
- Improve coverage for open_tree01 testcase
- Adapt loop tests for upcomming 6.11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltp.