update-apt-xapian-index在 ubuntu中占用的CPU过高
2014-04-30 16:21
330 查看
原文链接:http://rhuta.blog.163.com/blog/static/17757006220113892519891/
apt-xapian-index这个软件包用着很是方便,无奈老是把我的cpu耗尽了(下图第一行):
![](http://img854.ph.126.net/kY8Wic9yTg91U1t2nnUyWg==/2756484446929011801.png)
网上有两种解决方案:1. 删掉apt-xapian-index,但是删掉后,quick search 不能用,找软件很不方便。
![](http://img692.ph.126.net/gWj0wi15BavyqskT0XzmhA==/2886807361145696767.png)
还好,用第二种方案:
编辑apt-xapian-index
gedit /etc/cron.weekly/apt-xapian-index
把第八行
nice $IONICE -c3 $CMD --quiet
改为:
nice -n 19 $IONICE -c3 $CMD --update --quiet
apt-xapian-index这个软件包用着很是方便,无奈老是把我的cpu耗尽了(下图第一行):
![](http://img854.ph.126.net/kY8Wic9yTg91U1t2nnUyWg==/2756484446929011801.png)
网上有两种解决方案:1. 删掉apt-xapian-index,但是删掉后,quick search 不能用,找软件很不方便。
![](http://img692.ph.126.net/gWj0wi15BavyqskT0XzmhA==/2886807361145696767.png)
还好,用第二种方案:
编辑apt-xapian-index
gedit /etc/cron.weekly/apt-xapian-index
把第八行
nice $IONICE -c3 $CMD --quiet
改为:
nice -n 19 $IONICE -c3 $CMD --update --quiet
相关文章推荐
- update-apt-xapian-index 意外关闭
- Ubuntu下使用搜狗输入法出现fcitx进程CPU占用过高情况
- ubuntu mysql5.6 数据库占用CPU过高导致机器卡死
- 解决update-apt-xapi占用资源过高的问题
- Ubuntu kindle_inject进程占用CPU过高的解决办法
- ubuntu: apt-get update的时候遇到“E: Some index files failed to download”错误
- ubuntu apt-get update 失败,some index files failed
- 简单检查进程CPU占用过高原因记录
- mysql占用CPU过高的解决办法(添加索引)
- 关于Ubuntu 9.10 的apt-get update 一直无法更新源的点点滴滴
- hdfs某台服务器datanode服务占用cpu过高
- hdfs某台服务器datanode服务占用cpu过高
- 分析进程占用 cpu过高 方法
- Ubuntu 16.04出现:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/
- ubuntu 安装时出错 sudo apt-get update Reading package lists… Error
- Ubuntu 14.04 apt-get update出现E: Encountered a section with no Package: header错误
- 在Ubuntu 11.10工具栏上用数字显示网速、CPU负荷和内存占用量『译』
- Bash on Ubuntu on Windows 到底想干啥?apt update又能解决啥问题?
- php-fpm 占用CPU过高,100%的解决方法