Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
icingaweb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
monitoring
icingaweb
Commits
b70c73cf
Commit
b70c73cf
authored
3 years ago
by
Marek Jaroš
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Use default values for mpm_event per Apache docs"
parent
41fcdb80
No related branches found
No related tags found
3 merge requests
!24
IcingaWeb v2.11.1
,
!22
IcingaWeb v2.10.1
,
!15
Resolve "Use default values for mpm_event per Apache docs"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/opt/setup/55-php-fpm
+5
-5
5 additions, 5 deletions
content/opt/setup/55-php-fpm
with
5 additions
and
5 deletions
content/opt/setup/55-php-fpm
+
5
−
5
View file @
b70c73cf
...
...
@@ -39,18 +39,18 @@ if evaluate_boolean "${ICINGAWEB2_FEATURE_PHP_FPM}"; then
ini_set
${
PHP_FPM_CONFIG_POOL
}
www pm.max_spare_servers
${
PHP_FPM_PM_MAX
:-
32
}
ini_set
${
PHP_FPM_CONFIG_POOL
}
www pm.process_idle_timeout
${
PHP_FPM_PM_IDLE
:-
30
}
ini_set
${
PHP_FPM_CONFIG_POOL
}
www pm.max_children
${
PHP_FPM_PM_CHILDREN
:-
48
}
ini_set
${
PHP_FPM_CONFIG_POOL
}
www pm.max_requests
${
PHP_FPM_PM_REQUESTS
:-
5000
0
}
ini_set
${
PHP_FPM_CONFIG_POOL
}
www pm.max_requests
${
PHP_FPM_PM_REQUESTS
:-
0
}
echo
"Apache2: Enabling mpm_event"
cat
>
/etc/apache2/mods-available/mpm_event.conf
<<-
END
<IfModule mpm_event_module>
StartServers
${
APACHE2_EVENT_SERVERS
:-
3
}
MinSpareThreads
${
APACHE2_EVENT_MIN_SPARE
:-
2
5
}
MaxSpareThreads
${
APACHE2_EVENT_MAX_SPARE
:-
75
}
MinSpareThreads
${
APACHE2_EVENT_MIN_SPARE
:-
7
5
}
MaxSpareThreads
${
APACHE2_EVENT_MAX_SPARE
:-
250
}
ThreadLimit
${
APACHE2_EVENT_THREADS
:-
64
}
ThreadsPerChild
${
APACHE2_EVENT_CHILD_THREADS
:-
25
}
MaxRequestWorkers
${
APACHE2_EVENT_WORKERS
:-
3
00
}
MaxConnectionsPerChild
${
APACHE2_EVENT_CONN_PER_CHILD
:-
100
0
}
MaxRequestWorkers
${
APACHE2_EVENT_WORKERS
:-
4
00
}
MaxConnectionsPerChild
${
APACHE2_EVENT_CONN_PER_CHILD
:-
0
}
</IfModule>
END
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment