英文:
Why my machine isn't using equaly the all vCPUs?
问题
我正在使用AWS EC2上的Sentry on-premise,运行在一个Docker容器中的m5.large实例上,但我面临一个问题:我的2个虚拟CPU并没有均匀使用。其中一个使用率达到了100%,而另一个不到5%。为什么会出现这种情况?
英文:
I am working with Sentry on-premise in one AWS EC2 m5.large instance in Docker but I am in front of a problem: My 2vCPUs aren't using equaly. One of them was with 100% and the other with less than 5%. Why this happen?
答案1
得分: 0
这显然是由一个名为kdevtmpfsi的恶意软件引起的,它是一个挖矿程序。
我正在尝试清除这个机器并创建一个VPN。
英文:
apparently, this was caused by a malware called kdevtmpfsi, a miner.
I am trying to remove this cleaning the machine and creating a VPN
答案2
得分: 0
我们在使用 Docker 运行 Apache Flink 时遇到了相同的问题,
当我们移除了端口映射(8081)后,问题得以解决,看起来这个恶意软件利用已知端口(如 redis、flink 等)进行远程代码执行。
请检查您的端口映射和防火墙。
也许可以尝试映射到一个不太常用的端口号,或者将您的 Docker 实例放在一个 Nginx 实例后面,并进行前缀路由。
希望这有所帮助。
英文:
We had the same problem with running Apache Flink in docker,
when we removed the port mapping (8081) it was solved, looks like this malware exploits known ports (e.g redis,flink and others) for remote code execution.
check your port mapping and firewall.
maybe try to map to a not so popular port number of put your docker instance behind an nginx instance and do prefix routing.
Hope this helps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论