LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 860|回复: 9

High CPU usage by X.org

[复制链接]
发表于 2005-10-25 09:27:48 | 显示全部楼层 |阅读模式
If you have an ACPI-enabled system on which both acpid and X.org are running, you may experience high CPU usage in the release version of Mandriva Linux 2006. This problem is triggered when the logrotate tool is called to compress and rotate the system logs, so it will happen at 4 a.m. if your system is on and cron or anacron is enabled, or at the first boot after 4 a.m. if anacron is enabled and your system was off at 4 a.m. If you experience the problem, you must restart either X.org or the system in order to stop the high CPU usage. This problem will be fixed as soon as possible by an official update. As a workaround, you can turn off the acpid service, or stop logrotate from rotating the acpid log file by removing the file /etc/logrotate.d/acpid . See also bug_small.png http://qa.mandriva.com/show_bug.cgi?id=18847
发表于 2005-10-26 09:19:03 | 显示全部楼层
呵呵   这个问题我也发现过。
回复 支持 反对

使用道具 举报

发表于 2005-10-26 18:04:35 | 显示全部楼层
我在RH7.0的时候就试过了,正常的.MDV将RH的这个也移植了
回复 支持 反对

使用道具 举报

发表于 2005-10-27 09:41:07 | 显示全部楼层
E文不好,谁能把LZ的翻译下
回复 支持 反对

使用道具 举报

发表于 2005-10-27 18:13:52 | 显示全部楼层
不用翻译了,就是说你在凌晨4点的时候开LINUX发现硬盘猛转是正常的
回复 支持 反对

使用道具 举报

发表于 2005-10-30 07:49:00 | 显示全部楼层
这个问题  我觉得还是严重的  值得大家关注
      如果你的系统同时运行acpid和x.org ( 目前新的电脑都这样吧) 很可能你就会体验到这个bug。  这个bug发生在logrotate工具对系统log进行压缩时(所以默认在凌晨死点发作) 症状和win下面感染病毒一样 持续的100%cpu占用率。 (没有像楼上说的硬盘猛转) 作为补救措施 ,你可以关闭acpid服务 或者停止logrotate对acpidlog的记录。通过 删除  /etc/logrotate.d/acpid 实现。

    如果没弄错的话  这个bug是mandrava06独有。
回复 支持 反对

使用道具 举报

发表于 2005-10-30 09:49:09 | 显示全部楼层
这个不是BUG,而且真的是RH流传下来的.只是这两个系统都没有文档做详细说明.因为通常没有人在凌晨4点办公,但是却有服务器在4点维护.而现在LINUX基本功能就办公和服务器.
而且也好象不只是acpid一个服务
回复 支持 反对

使用道具 举报

发表于 2005-10-30 10:11:03 | 显示全部楼层
呵呵 。。 怎么玩fedora时没有遇到过呢。   我的电脑几乎是不关的(amule+httpd+mysql)   这个问题对于我来说太严重了。pentiumM系统 只要正常使用 夜里没一点噪音。风扇也几乎不转。 可一旦cpu占用率上去。 散热系统就开始满负荷工作。  听着本本在咆哮  我好伤心啊。  
   关闭acpid是不可能的。 但我会试着删除/etc/logrotate.d/acpid   看看能否解决问题。
回复 支持 反对

使用道具 举报

发表于 2005-10-30 10:15:40 | 显示全部楼层
我RH9以后就没有用那个公司有关的东西了FEDORA我不知道了.但是可能也是有的,只是你机器比较好,所以可能察觉不出.amule+httpd+mysql也可以的啊,实际上问题不是很大的.那个事情也是4点左右让你系统暂时"比较忙"上几分钟.

4点钟的话,你可以开着电脑睡觉不理它就行
回复 支持 反对

使用道具 举报

发表于 2005-10-30 16:34:11 | 显示全部楼层
楼上对这个bug理解错了。。  出现这个问题后 (我不确定是在4点)  x进程的cpu占有率就开始攀升。 并且一直持续 直到你重启x.  当然由于x的进程优先级别也是0,并且不进行磁盘io操作。   对其他程序不会造成很大影响。  
可我的系统风扇是由acpi智能控制。 所以。。。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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