-
Notifications
You must be signed in to change notification settings - Fork 235
[rqd] Fix swap memory on Linux #1447
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
[rqd] Fix swap memory on Linux #1447
Conversation
Fixed swap memory on RQDNow the CueGUI (cuecommander) > Monitor Hosts is showing the swap bar animation:
Cue Commander > "Monitor Hosts": Swap bar not workingCue Commander > "Monitor Hosts": Swap bar working
|
|
This PR fixes the swap memory on Linux! The swap memory is working on MacOS and Windows. The Opencue DB Linux fix: Basically, the Opencue RQD is getting the information from |
- This commit addresses the linting warning (W1514) by explicitly specifying the UTF-8 encoding when opening /proc/meminfo. - This ensures the file is read correctly and resolves the warning in the GitHub pipeline." - Using `codec.open` with the specified encoding will work in both Python 2 and Python 3.
|
Wouldn't it be better to use psutils for this? We're already using AFAIK. |
Hi @lithorus, I agree we can use This is the current version that is fixed and tested on our side. |
|
Yes, probably for the best to keep as it is for now and make a seperate PR for replacing it with |
Ok, let's keep it like that for now. Thanks! |



/proc/meminfo.This logic was removed on 18/Dec/2018 at 11:04 in the pull request: Add build and packaging for RQD. (#48), cfd6e6b