Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report