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

php-cgi crashes if Huge Page Enabled on Linux System ( fix) Web Interface /admin not accesable/working #268

Open
buchmann opened this issue Oct 3, 2023 · 1 comment

Comments

@buchmann
Copy link

buchmann commented Oct 3, 2023

php-cgi -i crash with dump error in the container, php -i works . The challenge if you use huge pages (mayastor need this) in your system then for php-cgi to work they need to be assigned upfront in the resource area of the container definition you do it with setting a limit on hugepages, parameter hugepages-2MI, I used 512 which works for me ( quick write up : https://www.allwaysbeginner.com/startseite/pihole-kubernetes )
resources:
limits:
cpu: "1"
hugepages-2Mi: 512Mi

@kevin7s-io
Copy link

Literally came here to post the exact same thing. Hopefully your issue and this comment will save someone the 90min I spent digging into this.

From my values.yml:

resources:
  limits:
    cpu: 200m
    memory: 256Mi
    hugepages-2Mi: 100Mi
  requests:
    cpu: 100m
    memory: 128Mi

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

No branches or pull requests

2 participants