Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 998 Bytes

apache.md

File metadata and controls

30 lines (23 loc) · 998 Bytes

Sources

Apache has many ways of doing multiprocessing

  1. MPM Prefork
    • parent process spawns worker children
    • each child has a single thread
    • required if you are running a module which isn't threadsfe e.g. mod_php
    • -- can be resource intensive comapred to other MPM options
  2. MPM Worker
    • parent process spawns worker children
    • each child can have many threads
    • more efficient than MPM Prefork in most cases
  3. MPM Event
    • Similar to MPM worker
    • Each child process has a listener thread which directs request to a worker thread
    • helps avoid threads getting stuck with long KeepAliveTimeouts
  4. mpm_winnt
    • Windows MPM
  5. Others
    • there are a few more niche MPM options

The exact configuration directives available depend on which MPM module you are using

Default apache Timeout is 60s which is quite long - maybe we should shorten? What is the timeout for an ELB?