Code Monkey home page Code Monkey logo

Comments (6)

metan-ucw avatar metan-ucw commented on July 30, 2024

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.

jstancek avatar jstancek commented on July 30, 2024

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.

metan-ucw avatar metan-ucw commented on July 30, 2024

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.

mnowaksuse avatar mnowaksuse commented on July 30, 2024

@jstancek I believe I have it: http://kernel.suse.com/cgit/kernel/commit/?h=SLE12-SP2&id=35e481761cdc688dbee0ef552a13f49af8eba6cc. Log: runltp.log.txt.

from ltp.

jstancek avatar jstancek commented on July 30, 2024

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.

mnowaksuse avatar mnowaksuse commented on July 30, 2024

@jstancek You are right, we don't have it, I'll go with what @metan-ucw proposed.

from ltp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.