You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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
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...).
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.
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
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...
Activity
Bechma commentedon Apr 6, 2019
I'm having the same problem
DominicBreuker commentedon Apr 9, 2019
could it be that a machine which is particularly not heavy could help me reproduce the issue you guys experience? ;)
Bechma commentedon Apr 9, 2019
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).
DominicBreuker commentedon Apr 9, 2019
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
Mabu2 commentedon Jun 10, 2019
Same problem happening to me on CentOS 7. Runs for a few minutes ok, then just starts spitting out over and over:
mdurancarreras commentedon Jul 23, 2019
I have the same problem in Kali Linux 2018, 2019 and Ubuntu 16.04 under VirtualBox. Any solution?
boooyu44 commentedon Aug 8, 2019
Same problem. It just does not work. Might author elaborate why?
DominicBreuker commentedon Aug 11, 2019
I have a theory. The error occurs here when we execute the
readsyscall. 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...).DominicBreuker commentedon Aug 11, 2019
New release is out.
mdurancarreras commentedon Aug 11, 2019
I have the same problem...
"ERROR: reading inotify buffer: reading from inotify fd 3: errno: 22"
Thanks!
DominicBreuker commentedon Aug 12, 2019
did you use the newly released one?
mdurancarreras commentedon Aug 12, 2019
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.
sayanthanpera commentedon Aug 13, 2019
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
DominicBreuker commentedon Aug 22, 2019
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...
sayanthanpera commentedon Aug 26, 2019
New release(v1.2.0). Work fine. Awesome.
DominicBreuker commentedon Oct 8, 2019
Cool :)
I will close this one. Please open a new issue if the error reappears.