Issue Log
yum
Bad Content:
This system is not registered with an entitlement server. You can use subcriminal-manager to register.
vim /etc/yum/pluginconf.d/subscription-manager.conf
# enabled=0
Bad Content:
http://mirrors.aliyun.com/centos/7/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirrors.aliun.com/centos/7/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
参考文章 Aliyum source problem
参考文章 Switch to Tencent sources
# Switch to Tencent Source
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.tencent.com/repo/centos7_base.repo
# Switch the yum source of the Tencent SCLO (no access, no first note)
# wge-O /etc/yum.repos.d/CentOS-SCLo-scl.repo http://mirrors.cloud.tencent.com/repo/CentOS-SCLo-scl.repo
# wget -O /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo http://mirrors.cloud.tenent.com/repo/CentOS-SCLo-rh.repo
yum clean all
yum makeache
vm.max_map_count
vm.max_map_count is an argument for Linux kernel that controls the amount of the maximum memory map area (memory map areas) that a process can have.This parameter is important for some applications (especially Java applications) because they need to create large areas of memory mapping when they are running.
By default, the value of vm.max_map_count may be lower (e.g. 65530), which may not be sufficient for some applications.An application may encounter OutOfMemoryError or similar errors when trying to create more memory mapping areas.
Set vm.max_map_count to at least 262144 to solve this problem because this value is usually large enough to meet the needs of most applications.
To view the current vm.max_map_count value, the following command can be run in the terminal under:
sysctl vm.max_map_count
To change the value of vm.max_map_count the following command can be run in the terminal (as root user):
sysctl -w vm.max_map_count=262144
To make changes permanent, the following lines can be added to /etc/sysctl.conf in:
vm.max_map_count=262144
Then run the sysctl -p command to apply changes.
Please note that increasing the value of vm.max_map_count may increase the system's resource consumption, so make sure to know its potential impact before changing this parameter.