Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem of agetty process 100% after docker starts multiple Centos

Shulou Source: shulou.com Published: 2022-06-01 01:59:08 09月22日 Update

This article mainly introduces how to solve the problem of 100% agetty process after docker starts multiple Centos. It is very detailed and has certain reference value. Interested friends must finish reading it!

When there are more than 2 Centos Docker containers on the same host, 100% of the agetty process may occur, as shown in the figure:

I looked at it with a tool, and it was all occupied by the kernel.

Looking for some information on the Internet, foreigners proposed a long time ago that Centos's systemd will have this bug on docker, but it seems that the problem has not been formally solved. The way to avoid this is to delete the following services and then redo the mirror.

Rm-f / lib/systemd/system/systemd*udev*rm-f / lib/systemd/system/getty.target

In addition, if the agetty process of the host is already 100%, it seems that it can only be restored by rebooting the host.

The above is all the contents of this article entitled "how to solve the problem of 100% agetty process after docker starts multiple Centos". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Processes problems hosts multiple content hosts articles values interests kernels only containers guys partners tools methods more knowledge foreigners industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi NVidia Docker Microsoft Shulou Information