Commit ec7b8494 authored by Aurélien Vermylen's avatar Aurélien Vermylen Committed by Łukasz Nowak

monitor: Fix "Scoreboard full" bug

If we don't specify MaxRequestWorkers, it seems like Apache 2.4
errors with:
AH03490: scoreboard is full, not at MaxRequestWorkers. Increase
ServerLimit.
Maybe because MaxRequestWorkers then defaults to a too high value
compared to ServerLimit and ThreadsPerChild.

/reviewed-on nexedi/slapos!263
parent 3113a191
...@@ -61,7 +61,7 @@ eggs = ...@@ -61,7 +61,7 @@ eggs =
# Monitor templates files # Monitor templates files
[monitor-httpd-conf] [monitor-httpd-conf]
<= monitor-template-base <= monitor-template-base
md5sum = f2d6951670733de3b37c0ebe9eee343b md5sum = b5f42503799e7e770afce4097d3b75ae
filename = monitor-httpd.conf.in filename = monitor-httpd.conf.in
[monitor-template-wrapper] [monitor-template-wrapper]
......
...@@ -2,6 +2,7 @@ PidFile "{{ parameter_dict.get('pid-file') }}" ...@@ -2,6 +2,7 @@ PidFile "{{ parameter_dict.get('pid-file') }}"
StartServers 1 StartServers 1
ServerLimit 1 ServerLimit 1
MaxRequestWorkers 4
ThreadLimit 4 ThreadLimit 4
ThreadsPerChild 4 ThreadsPerChild 4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment