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

Edit MPM of apache for multicore processing #457

Closed
zipvault opened this issue Dec 21, 2019 · 1 comment
Closed

Edit MPM of apache for multicore processing #457

zipvault opened this issue Dec 21, 2019 · 1 comment
Labels
Request Request for image modification or feature

Comments

@zipvault
Copy link

When doing an AB Request stress test i notice by default on docker with raspberry it only uses the 1st core primarily? Across the docker swarm.

I think i need to add mpm= “event” to the apache config inside the wordpress docker image?

Uploading 662045D5-0D98-4266-80C2-0D9720E1D649.jpeg…

@wglambert wglambert added the Request Request for image modification or feature label Dec 23, 2019
@wglambert
Copy link

There's a PR open for adding mpm_event support, which requires ZTS thread safety to be enabled docker-library/php#753

The php:apache variant uses prefork as recommended by upstream https://www.php.net/manual/en/install.unix.apache2.php

Warning We do not recommend using a threaded MPM in production with Apache 2. Use the prefork MPM, which is the default MPM with Apache 2.0 and 2.2. For information on why, read the related FAQ entry on using Apache2 with a threaded MPM

Other relevant discussion docker-library/php#742

@tianon tianon closed this as completed Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
Development

No branches or pull requests

3 participants