-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FreeBSD] psutil.pids() fails with [Errno 12] Cannot allocate memory (originated from sysctl)
#2093
Comments
[Errno 12] Cannot allocate memory (originated from sysctl)
Ouch! This is bad. The error originates from here. The fix should consist in calling the first Since I've never seen this happening here's a question: how many processes are running on this machine? |
Also how often does this happen? Can you reproduce it reliably? |
$ uptime |
This happened for the second time in two days. Therefore, I decided to write, because thought it would be important. |
So far, the apps are running smoothly. Let's see what will happen next. |
Hello there! uname -a : I rollbacked to psutil 5.8.0 and the error doesn't seem to happen anymore |
This should now be fixed by c7c7bbc which dynamically increase the buffer size instead of immediately giving up with |
I can confirm this resolved my issue, thanks! |
Summary
Description
The text was updated successfully, but these errors were encountered: