Monday, 3 October 2022

httpd apache mpm(multip process module), apache2 compatibility with mpm

 default apache2 decides mpm based one vironment 


https://httpd.apache.org/docs/2.4/mpm.html


docker-compose httpd see mpm 

httpd -v

https://serverfault.com/questions/88000/how-do-i-tell-if-apache-is-running-as-prefork-or-worker


apache2 compatbility with mpm 


https://serverfault.com/questions/15717/which-apache-package-is-best-for-mod-wsgi-django-application


The worker MPM would be your best choice. It's compatible with mod_wsgi. The event MPM might give higher performance, but is far less often used, and any performance improvement is minimal -- hence I won't recommend it. The worker MPM handles each request in a separate thread, which makes it much more suitable for use on a VPS than the traditional prefork model, which uses a whole process for each connection.

doc



No comments:

Post a Comment