Skip to content
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

Fix APCu memory usage percent #1284

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Fix APCu memory usage percent #1284

merged 1 commit into from
Oct 7, 2024

Conversation

lukasbableck
Copy link
Contributor

Description

The APCu memory usage percent is not correct, because it is calculated with mem_avail, not with the mem_size.
This can lead to values above 100%, which obviously does not make sense.

Before:
Bildschirmfoto 2024-10-07 um 14 32 45

After:
Bildschirmfoto 2024-10-07 um 14 31 57

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Make change, see correct percentage :)

Test Configuration:

  • Distribution: Debian 12
  • Webserver: Nginx
  • PHP: 8.3 FPM
  • etc.etc.:

@d00p d00p merged commit f652017 into froxlor:main Oct 7, 2024
9 checks passed
@lukasbableck lukasbableck deleted the patch-1 branch October 7, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants