The User and Group directives (in the Apache configuration) are used to set the privileges of the Apache child processes. The child processes launched by Apache run as a lesser-privileged user.
![restart apache linux mac os x restart apache linux mac os x](https://www.lifewire.com/thmb/8jeEt-di3Mi-3Z7psTS3oKJD4uQ=/1440x1080/smart/filters:no_upscale()/apache-58da969f5f9b584683617c51.png)
The parent process (of both server architectures) is usually started from an account with superuser privileges assigned (root under UNIX) in order to bind to TCP port 80.
![restart apache linux mac os x restart apache linux mac os x](http://www.areyoucodingenough.com/oaftophi/2018/01/1.png)
A useful guide for Apache tuning can be found here: The Gateway DSOs are thread-safe and can be deployed in either server model. Httpd –L List all modules and related configuration directives: Httpd –l List all modules built-in to the server (including the choice of MPM): Two further (and related) listings are provided. Server MPM: Worker Copy code to clipboard In order to determine which of the two server models is in use for an existing installation, call the Apache executable directly but qualified as follows: It does use threads and all third-party API modules (DSOs) used should be thread-safe. This is the newer hybrid multithread/multi-process server architecture. It does not use threads and, as a result, there is no requirement that third-party API modules (DSOs) should be thread-safe. This is the traditional multi-process (UNIX®) server architecture. Therefore, the way Apache is configured to manage its process pool has a direct affect on the Gateway.Īpache implements its two process management models as Multi-Processing Modules (or MPMs). In this architecture, the Gateway modules are directly bound to the Apache worker processes.
![restart apache linux mac os x restart apache linux mac os x](https://i0.wp.com/krypted.com//wp-content/uploads/2016/09/Screen-Shot-2016-09-29-at-10.54.07-PM.png)
Copy link to this section Apache Process Management and Capacity PlanningĪpache provides two process management modules for UNIX-based operating systems.
RESTART APACHE LINUX MAC OS X MAC OS X
This appendix contains information about the recommended option for UNIX®, Linux, and Mac OS X (“ Recommended Option: NSAPI Modules (CSPn3.so)”) and atypical option 1 (“ Alternative Option 1: Apache API Module with NSD (mod_csp24.so)”. Apache Process Management and Capacity Planning.