Skip to content

Instantly share code, notes, and snippets.

@Firefishy
Created March 23, 2017 17:51
Show Gist options
  • Select an option

  • Save Firefishy/887f14ead707786ea661ff471f6c81e7 to your computer and use it in GitHub Desktop.

Select an option

Save Firefishy/887f14ead707786ea661ff471f6c81e7 to your computer and use it in GitHub Desktop.
Recommended apache worker MPM config for high connection systems
# Set the number of seconds before receives and sends time out
Timeout 300
# Decide whether or not to allow persistent connections
Keepalive On
# Configure worker MPM
StartServers 2
ServerLimit 20
MinSpareThreads 75
MaxSpareThreads 525
ThreadLimit 64
ThreadsPerChild 50
MaxRequestWorkers 1000
MaxConnectionsPerChild 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment