荣耀之链论坛

 找回密码
 立即注册
搜索
查看: 558|回复: 0

阿里云的linux禁用dnf-makecache

[复制链接]

1326

主题

2373

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
10267
发表于 2023-1-6 15:39 | 显示全部楼层 |阅读模式
偶然发现ecs很卡
然后日志就是Out of memory: Killed process 12016 (dnf) total-vm:537028kB, anon-rss:190176kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:560kB oom_score_adj:0

google了一下
https://bugzilla.redhat.com/show_bug.cgi?id=1084174
https://unix.stackexchange.com/q ... ecache-timer-needed
https://www.onitroad.com/jc/linu ... -centos-rhel-8.html

目前用这几个命令尝试了下
systemctl stop dnf-makecache.timer
systemctl disable dnf-makecache.timer

systemctl disable dnf-makecache
systemctl stop dnf-makecache


vi /etc/dnf/dnf.conf

把gpgcheck=0

看看未来是否还会突然变卡

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

荣耀之链

GMT+8, 2025-6-18 06:52 , Processed in 0.012162 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表