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

IBX-9316: Fixed cpu count for Ibexa Cloud #461

Open
wants to merge 5 commits into
base: 4.6
Choose a base branch
from

Conversation

reithor
Copy link
Contributor

@reithor reithor commented Dec 10, 2024

🎫 Issue IBX-9316

For Ibexa Cloud Grid environments, CPU count using "proc/cpuinfo" gives unrealistic (far too high) results.
PR fixes the issue.

Notes:

  • Discussion with cloud support confirmed that using data from /run/config.json is a valid approach.
  • Solution works for my own Ibexa Cloud Grid environment
  • Solution also works for Ibexa Cloud Dedicated environment (CPUs are correctly counted using "proc/cpuinfo" then)

@reithor reithor changed the base branch from main to 4.6 December 10, 2024 16:15
@reithor reithor force-pushed the ibx-9316_fixed-cloud-cpu-count branch from b41308b to f420587 Compare December 10, 2024 16:37
@reithor reithor marked this pull request as ready for review December 10, 2024 17:07
@reithor reithor requested a review from a team December 10, 2024 17:08
src/bundle/Core/Command/ReindexCommand.php Outdated Show resolved Hide resolved
src/bundle/Core/Command/ReindexCommand.php Outdated Show resolved Hide resolved
src/bundle/Core/Command/ReindexCommand.php Outdated Show resolved Hide resolved
src/bundle/Core/Command/ReindexCommand.php Outdated Show resolved Hide resolved
src/bundle/Core/Command/ReindexCommand.php Outdated Show resolved Hide resolved
@reithor reithor requested a review from alongosz December 11, 2024 12:59
@alongosz alongosz changed the title IBX-9316: Fixed cpu count for cloud IBX-9316: Fixed cpu count for Ibexa Cloud Dec 11, 2024
@konradoboza konradoboza requested a review from a team December 11, 2024 13:31
Copy link

sonarcloud bot commented Dec 11, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants