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

Make PHP use all the RAM when not in 'web' container #481

Open
Frzk opened this issue Nov 28, 2024 · 0 comments
Open

Make PHP use all the RAM when not in 'web' container #481

Frzk opened this issue Nov 28, 2024 · 0 comments
Assignees

Comments

@Frzk
Copy link
Contributor

Frzk commented Nov 28, 2024

Currently the default memory allocated per process defaults to 196MB (memory_limit), unless specified otherwise in the composer.json file.
While it's understandable with the web process type, it doesn't really make sense for other process types (a scheduled job running in a one-off, for example).

It would be better to make it use all the RAM and stick to pm.max_children=1 in such cases.

@Frzk Frzk self-assigned this Nov 28, 2024
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

1 participant