Restrictions on Key Service Resources

  • Resources used by key services are restricted to monitor service memory resources. When the memory usage exceeds the preset threshold, services are automatically restarted.
  • The maximum CPU usage of a key service is limited so that the CPU usage of the service does not exceed the threshold continuously. This ensures that the CPU usage of the service does not affect other service processes.
  • The memory resource limit and CPU resource limit of key services have been configured by default. The configuration takes effect immediately after the OOM Killer mechanism is enabled.
  • By default, the OOM Killer mechanism is disabled. You can run the echo 1 > /proc/sys/vm/enable_oom_killer command to enable this mechanism.