View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5481 | Composr non-bundled addons | [All Projects] General | public | 2023-11-28 12:25 | 2023-12-07 19:06 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | trivial | ||
Status | resolved | Resolution | fixed | ||
Summary | 5481: Server performance RAM check: Consider using "available" instead of "free" on Linux | ||||
Description | On linux, "free" returns Free and Available. Free is unused RAM. Available is RAM that is unused + RAM that is used for cache / buffer. We should consider using "Available" opposed to "Free" because RAM used for cache is expendable; Linux will free that memory up when applications require it. | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Will also need porting to v11. |
|
Automated response: Use "Available" instead of "Free" for RAM check on Linux On linux, "free" returns both free and available memory. "Free" memory does not account for cached disk data which can be freed when an application requests memory. Therefore, the health check should be using "Available" instead, which accounts for this. This patch fixes it while falling back to "Free" in case "Available" is not returned. |
|
Fixed in git commit 246db08042 (https://gitlab.com/composr-foundation/composr/commit/246db08042 - link will become active once code pushed to GitLab) A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-28 12:25 | PDStig | New Issue | |
2023-11-28 12:25 | PDStig | Status | Not Assigned => Assigned |
2023-11-28 12:25 | PDStig | Assigned To | => user4172 |
2023-11-28 12:25 | PDStig | Note Added: 0008075 | |
2023-11-28 12:25 | PDStig | Description Updated | |
2023-11-28 12:27 | PDStig | Description Updated | |
2023-12-07 18:53 | PDStig | Tag Attached: Roadmap: v11 |