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

mpm_event module to improve apache scalability #3516

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions tools/container/huelb/hue_httpd_template
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LoadModule lbmethod_byrequests_module /etc/httpd/modules/mod_lbmethod_byrequests
LoadModule authz_core_module /etc/httpd/modules/mod_authz_core.so
LoadModule log_config_module /etc/httpd/modules/mod_log_config.so
LoadModule mime_module /etc/httpd/modules/mod_mime.so
LoadModule mpm_event_module /etc/httpd/modules/mpm_event_module.so

ErrorLog "${HUE_LOG_DIR}/httpd_error_log"
LogLevel warn
Expand All @@ -17,6 +18,16 @@ LogLevel warn
CustomLog "${HUE_LOG_DIR}/httpd_access_log" common
</IfModule>

<IfModule mpm_event_module>
ServerLimit 5000
StartServers 1000
athithyaaselvam marked this conversation as resolved.
Show resolved Hide resolved
MaxClients 10000
MinSpareThreads 750
MaxSpareThreads 2500
ThreadsPerChild 500
MaxRequestsPerChild 10000
</IfModule>

<IfModule mime_module>
TypesConfig /etc/mime.types
AddType application/x-compress .Z
Expand Down Expand Up @@ -44,6 +55,10 @@ ProxyPass / balancer://hue/ stickysession=ROUTEID
SetEnv proxy-initial-not-pooled 1
ProxyTimeout 900

KeepAlive On
KeepAliveTimeout 120
MaxKeepAliveRequests 500

AllowEncodedSlashes NoDecode
User ${HUEUSER}
Group ${HUEUSER}
Expand Down
Loading