Increase vm.max_map_count
https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount
This commit is contained in:
parent
21df2af848
commit
aedd5488be
3
10-map-count.conf
Normal file
3
10-map-count.conf
Normal file
@ -0,0 +1,3 @@
|
||||
# Increase the number of virtual memory areas that one process may request
|
||||
# https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount
|
||||
vm.max_map_count=1048576
|
@ -71,6 +71,7 @@ Source13: libsystemd-shared.abignore
|
||||
Source14: 10-oomd-defaults.conf
|
||||
Source15: 10-oomd-per-slice-defaults.conf
|
||||
Source16: 10-timeout-abort.conf
|
||||
Source17: 10-map-count.conf
|
||||
|
||||
Source21: macros.sysusers
|
||||
Source22: sysusers.attr
|
||||
@ -776,6 +777,9 @@ install -Dm0644 -t %{buildroot}%{user_unit_dir}/slice.d/ %{SOURCE15}
|
||||
install -Dm0644 -t %{buildroot}%{system_unit_dir}/service.d/ %{SOURCE16}
|
||||
install -Dm0644 10-timeout-abort.conf.user %{buildroot}%{user_unit_dir}/service.d/10-timeout-abort.conf
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount
|
||||
install -Dm0644 -t %{buildroot}%{_prefix}/lib/sysctl.d/ %{SOURCE17}
|
||||
|
||||
sed -i 's|#!/usr/bin/env python3|#!%{__python3}|' %{buildroot}/usr/lib/systemd/tests/run-unit-tests.py
|
||||
|
||||
install -m 0644 -D -t %{buildroot}%{_rpmconfigdir}/macros.d/ %{SOURCE21}
|
||||
|
Loading…
Reference in New Issue
Block a user