We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker部署配置完一启动容器整个服务器就会卡死并且无限重启,docker compose设置了restart on-failure:5也没效果,报错是内存溢出,真的是硬件配置要求那么高还是我配置或者哪里出了问题
配置:2核 | 2GiB | 系统盘 40GiB | 流量包 100GB | 峰值带宽 2Mbit/s 系统版本:Linux version 5.15.0-76-generic (buildd@lcy02-amd64-028) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 docker版本:Docker version 27.1.1, build 6312585
[2024-10-16 21:48:04 +0800] [11] [ERROR] Worker (pid:455) was sent SIGKILL! Perhaps out of memory? [2024-10-16 21:48:04 +0800] [470] [INFO] Booting worker with pid: 470 {"loglevel": "info", "workers": 1, "bind": "0.0.0.0:8080", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "workers_per_core": 1.0, "use_max_workers": 1, "host": "0.0.0.0", "port": "8080"} 10-16 21:48:13 [SUCCESS] nonebot | NoneBot is initializing... 10-16 21:48:13 [INFO] nonebot | Current Env: prod 10-16 21:48:14 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_alconna:uniseg" from "nonebot_plugin_alconna.uniseg" 10-16 21:48:14 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_alconna" 10-16 21:48:14 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_session" 10-16 21:48:16 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_localstore" 10-16 21:48:16 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_orm" 10-16 21:48:17 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_user" 10-16 21:48:17 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_waiter" 10-16 21:48:17 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_userinfo" 10-16 21:48:17 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_session_orm" [2024-10-16 21:50:31 +0800] [11] [ERROR] Worker (pid:470) was sent SIGKILL! Perhaps out of memory? [2024-10-16 21:50:32 +0800] [477] [INFO] Booting worker with pid: 477 {"loglevel": "info", "workers": 1, "bind": "0.0.0.0:8080", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "workers_per_core": 1.0, "use_max_workers": 1, "host": "0.0.0.0", "port": "8080"} 10-16 21:50:40 [SUCCESS] nonebot | NoneBot is initializing... 10-16 21:50:40 [INFO] nonebot | Current Env: prod 10-16 21:50:41 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_alconna:uniseg" from "nonebot_plugin_alconna.uniseg" 10-16 21:50:41 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_alconna" 10-16 21:50:41 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_session" 10-16 21:50:42 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_localstore" 10-16 21:50:42 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_orm" 10-16 21:50:43 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_user" 10-16 21:50:43 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_waiter" 10-16 21:50:43 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_userinfo" 10-16 21:50:43 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_session_orm"
The text was updated successfully, but these errors were encountered:
日志我没看出什么其他问题,可能真是内存不够,docker 里跑了一个浏览器。你试试不装浏览器看能不能跑呢? 不过我也是在 2g 内存的服务器上跑的,但是只跑了机器人。
Sorry, something went wrong.
了解,今晚测试一下
请问可以正常运行吗?
No branches or pull requests
docker部署配置完一启动容器整个服务器就会卡死并且无限重启,docker compose设置了restart on-failure:5也没效果,报错是内存溢出,真的是硬件配置要求那么高还是我配置或者哪里出了问题
配置:2核 | 2GiB | 系统盘 40GiB | 流量包 100GB | 峰值带宽 2Mbit/s
系统版本:Linux version 5.15.0-76-generic (buildd@lcy02-amd64-028) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023
docker版本:Docker version 27.1.1, build 6312585
The text was updated successfully, but these errors were encountered: