View Issue Details

IDProjectCategoryView StatusLast Update
0005481Composr non-bundled addons[Composr testing - manual ideas] [All Projects] Generalpublic2023-12-07 19:06
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityTrivial-bug 
Status resolvedResolutionfixed 
Summary0005481: Server performance RAM check: Consider using "available" instead of "free" on Linux
DescriptionOn 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.
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2023-11-28 12:25

administrator   ~0008075

Will also need porting to v11.

admin

2023-12-07 19:06

administrator   ~0008109

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.

admin

2023-12-07 19:06

administrator   ~0008110

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/).

hotfix-5481, 2023-12-07 7pm.tar (19,456 bytes)

Issue History

Date Modified Username Field Change
2023-11-28 12:25 Patrick Schmalstig New Issue
2023-11-28 12:25 Patrick Schmalstig Status non-assigned => assigned
2023-11-28 12:25 Patrick Schmalstig Assigned To => Patrick Schmalstig
2023-11-28 12:25 Patrick Schmalstig Note Added: 0008075
2023-11-28 12:25 Patrick Schmalstig Description Updated View Revisions
2023-11-28 12:27 Patrick Schmalstig Description Updated View Revisions
2023-12-07 18:53 Patrick Schmalstig Tag Attached: Roadmap: v11