Skip to content

Running pspy64&32 on debian. #3

Closed

Description

@Ce0tOS

Just in case anyone knows how to solve this error while running pspy :
ERROR: reading inotify buffer: reading from inotify fd 3: errno: 22

tried to run a few minutes, also did not help.

Activity

  1. Bechma commented on Apr 6, 2019

    @Bechma

    I'm having the same problem

  2. DominicBreuker commented on Apr 9, 2019

    @DominicBreuker
    Owner

    could it be that a machine which is particularly not heavy could help me reproduce the issue you guys experience? ;)

  3. Bechma commented on Apr 9, 2019

    @Bechma

    For me it's a Kali Linux under VirtualBox, when I launch pspy64 or pspy64s after a couple of seconds the terminal gets full of "ERROR: reading inotify buffer: reading from inotify fd 3: errno: 22". I have to open a new terminal and kill the process(also the cpu usage increase a lot).

  4. DominicBreuker commented on Apr 9, 2019

    @DominicBreuker
    Owner

    ok for me it happened on the Lightweight HTB machine and I just assumed this must have been due to selinux restricting it somehow. will investigate a bit with a VM

  5. Mabu2 commented on Jun 10, 2019

    @Mabu2

    Same problem happening to me on CentOS 7. Runs for a few minutes ok, then just starts spitting out over and over:

    ERROR: reading inotify buffer: reading from inotify fd 3: errno: 22
    
  6. mdurancarreras commented on Jul 23, 2019

    @mdurancarreras

    I have the same problem in Kali Linux 2018, 2019 and Ubuntu 16.04 under VirtualBox. Any solution?

  7. boooyu44 commented on Aug 8, 2019

    @boooyu44

    Same problem. It just does not work. Might author elaborate why?

  8. DominicBreuker commented on Aug 11, 2019

    @DominicBreuker
    Owner

    I have a theory. The error occurs here when we execute the read syscall. errno 22 is EINVAL meaning the argument is invalid. The argument is the buffer into which we read, which comes from here. inotify docs say it may happen if the buffer is too small and gives instructions how to size it. I think I've put a bad value. Will update code and then you guys tell me if the error goes away? (still can't reproduce this locally. for me the go syscall wrapper just seems to hang in these cases...).

  9. DominicBreuker commented on Aug 11, 2019

    @DominicBreuker
    Owner

    New release is out.

  10. mdurancarreras commented on Aug 11, 2019

    @mdurancarreras

    I have the same problem...

    "ERROR: reading inotify buffer: reading from inotify fd 3: errno: 22"

    Thanks!

  11. DominicBreuker commented on Aug 12, 2019

    @DominicBreuker
    Owner

    did you use the newly released one?

  12. mdurancarreras commented on Aug 12, 2019

    @mdurancarreras

    I think I found the solution ... All this time I used Terminator as a console, I still receive the same error if I run it from it, but if I run it from the terminal, everything works correctly.

  13. sayanthanpera commented on Aug 13, 2019

    @sayanthanpera

    I have the same issue.. I downloaded pspy64 just now from "64 bit big, static version: pspy64 download".
    Linux kali-host 4.19.0-kali4-amd64 #1 SMP Debian 4.19.28-2kali1 (2019-03-18) x86_64 GNU/Linux
    Screenshot from 2019-08-13 23-08-48

  14. DominicBreuker commented on Aug 22, 2019

    @DominicBreuker
    Owner

    this looks a lot like the previous version, not the new release. I further added a log message to program startup to print the version. current one is v1.2.0. It will also just kill itself now if the errno 22 error occurs and not print all these messages.
    I still hope they won't come anymore since the buffer should now accommodate even the longest linux file names. we will see...

  15. sayanthanpera commented on Aug 26, 2019

    @sayanthanpera

    New release(v1.2.0). Work fine. Awesome.

  16. DominicBreuker commented on Oct 8, 2019

    @DominicBreuker
    Owner

    Cool :)
    I will close this one. Please open a new issue if the error reappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions