tried to kill container, but did not receive an exit event

现象:删除容器

Error response from daemon: Could not kill running container 49b4ba4454fb8dc1a855edbe65f2c985175b718afeb3c304a227e08029437b23, cannot remove - tried to kill container, but did not receive an exit event

[root@pinpoint-0517717 app]# docker ps
CONTAINER ID   IMAGE                         COMMAND                   CREATED        STATUS                            PORTS     NAMES
0ed0c8d6ddf8   goharbor/harbor-core:v2.8.2   "/harbor/entrypoint.…"   2 months ago   Restarting (137) 20 minutes ago             harbor-core
01974f3d45c0   goharbor/harbor-db:v2.8.2     "/docker-entrypoint.…"   2 months ago   Restarting (137) 20 minutes ago             harbor-db
[root@pinpoint-0517717 app]#  ps awx | grep containerd-shim|grep 0ed0c8d6ddf8
21347 ?        Sl     3:47 /usr/bin/containerd-shim-runc-v2 -namespace moby -id 0ed0c8d6ddf81da786963fffa6f951f3a21a9ff5dc09d39a972f6be2cb047b2a -address /run/containerd/containerd.sock
[root@pinpoint-0517717 app]# kill -9 21347

  • 4
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用\[1\]:RuntimeError:\[enforce fail at .. c10\core\impl\alloc_cpu.cpp:72\] data.DefaultCPUAllocator: not enough memory:you tried to allocate 58982400 bytes. 引用\[2\]:电脑内存明明还有很多,程序却显示内存不足,报错RuntimeError:\[enforce fail at .. c10\core\impl\alloc_cpu.cpp:72\] data.DefaultCPUAllocator: not enough memory:you tried to allocate 58982400 bytes. 引用\[3\]:这个错误通常表示程序尝试分配的内存超过了可用内存。这可能是由于程序中的内存泄漏或者内存碎片导致的。您可以尝试以下方法解决这个问题:检查程序中是否有内存泄漏或者内存碎片,如果有,及时修复。检查您的电脑是否有足够的可用内存,如果没有,可以关闭一些不必要的程序或者升级硬件。尝试使用更高效的算法或者数据结构来减少内存使用量。 问题: not enough memory: you tried to allocate 14934456 bytes. 该如何解决? 回答: 这个错误通常表示程序尝试分配的内存超过了可用内存。您可以尝试以下方法解决这个问题:检查程序中是否有内存泄漏或者内存碎片,如果有,及时修复。检查您的电脑是否有足够的可用内存,如果没有,可以关闭一些不必要的程序或者升级硬件。尝试使用更高效的算法或者数据结构来减少内存使用量。\[3\] #### 引用[.reference_title] - *1* *2* *3* [程序却显示内存不足,报错DefaultCPUAllocator: not enough memory:you tried to allocate 58982400 bytes.](https://blog.csdn.net/qq_15969343/article/details/130015286)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值