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

fix: change mpm_prefork configuration for off and off-pro to reduce memory usage #10428

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion conf/apache-2.4/off-mpm_prefork.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
MaxSpareServers 10
MaxRequestWorkers 50
ServerLimit 55
MaxConnectionsPerChild 500
MaxConnectionsPerChild 100
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
10 changes: 5 additions & 5 deletions conf/apache-2.4/off-pro-mpm_prefork.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
# MaxConnectionsPerChild: maximum number of requests a server process serves

<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxRequestWorkers 150
MaxConnectionsPerChild 0
StartServers 2
MinSpareServers 2
MaxSpareServers 2
MaxRequestWorkers 10
MaxConnectionsPerChild 100
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
2 changes: 1 addition & 1 deletion conf/off-log.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ log4perl.appender.RATELIMITER_LOGFILE.filename=/srv/off/logs/ratelimiter_log4per
log4perl.appender.RATELIMITER_LOGFILE.mode=append

log4perl.appender.RATELIMITER_LOGFILE.layout=PatternLayout
log4perl.appender.RATELIMITER_LOGFILE.layout.ConversionPattern=[%r] %F %L %c %S %m{chomp}%n
log4perl.appender.RATELIMITER_LOGFILE.layout.ConversionPattern=[%d] %F %L %c %S %m{chomp}%n
Loading