-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
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
centos 9 安装失败 #121
Comments
上方的这个错误,是因为脚本中,这一段代码的错误 utils/dependencies.sh#L83C9-L87 导致的,但是,它并没有任何影响,因为,我用 CentOS 9 看了下,它的 EPEL 库 默认是启用的。
至于你说的会触发OOM保护机制,这是你的系统内存不足的原因。 |
你好,脚本我是在aws lightsail centos 9 stream上测试的,之前在同样内存(512M)的centos 7似乎没有出现这个问题,且多次重装机器都是这个错误(ssh连接断开,安装中断失败),检查了系统日志后发现出现了内存不足杀进程的信息。检查了下系统内存还有282MiB的空间: |
我刚在
至于你的这个问题,会不是,CentOS 9 Stream 比 CentOS 7 更占用内存? |
在开启了服务器的swap分区后可以成功安装组件,但安装过程中又出现了shadowsocks 下载失败的错误: 按任意键开始…或按Ctrl+C取消 shadowsocks-libev-3.3.5.tar.gz 100%[===========================================================================================================>] 1.87M 6.18MB/s in 0.3s 2023-09-23 02:48:18 (6.18 MB/s) - ‘shadowsocks-libev-3.3.5.tar.gz’ saved [1959146/1959146] shadowsocks-libev 当前目录中不存在, 现在开始下载. |
在centos 9 上安装似乎会出触发OOM保护机制,将进程连同sshd杀死,导致安装失败。
按任意键开始…或按Ctrl+C取消
[信息] 检查EPEL存储库.
Command line error: one of the following arguments is required: --save --add-repo --dump --dump-variables --set-enabled --enable --set-disabled --disable
[信息] EPEL存储库检查完成.
[信息] 开始安装依赖包 qrencode
Connection closing...Socket close.
Sep 08:56:13 ip-172-26-31-248 kernel: Out of memory: Killed process 68283 (yum) total-vm:451320kB, anon-rss:318608kB, file-rss:24kB, shmem-rss:0kB, UID:0 pgtables:780kB oom_score_adj:0
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: A process of this unit has been killed by the OOM killer.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68125 (sshd) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68140 (sshd) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68141 (bash) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68160 (sudo) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68162 (bash) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68185 (bash) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd[1]: session-9.scope: Killing process 68283 (yum) with signal SIGKILL.
Sep 12 08:56:13 ip-172-26-31-248 systemd-logind[579]: Session 9 logged out. Waiting for processes to exit.
The text was updated successfully, but these errors were encountered: