Quantcast
Viewing latest article 7
Browse Latest Browse All 10

update-apt-xapian-index CPU 100%

Прожорливый update-apt-xapian-index сегодня снова дал о себе знать и решение с nice уже не помогает. Погуглив я заметил, что решения проблемы стали радикальными. Сначало узнаем побольше об этом процессе.

apt-xapian-index is a maintenance tools for a Xapian index of Debian package information This package provides update-apt-xapian-index, a tool to maintan a Xapian index of Debian package information in var>lib>apt-xapian-index.
update-apt-xapian-index allows plugins to be installed in /usr/share/apt-xapian-index to index all sorts of extra information, such as Debtags tags, popcon information, package ratings and anything else that would fit.
The index generated by update-apt-xapian-index is self-documenting, as it contains an autogenerated README file with information on the index layout and all the data that can be found in it.

Как видим, этой программой также пользуются и другие программы, поэтому удалять не рекомендую. Я видел решение, в котором пользователь рекомендует сделать файл не запускаемым.

sudo chmod 644 /etc/cron.weekly/apt-xapian-index

Но другой пользователь писал о том, что это временное решение и в скором времени, проблема возвращается, я не знаю так ли это.

Но одно решение мне понравилось, и я приведу его здесь.

sudo mv /etc/cron.weekly/apt-xapian-index /etc/cron.monthly/apt-xapian-index

Теперь процесс будет выполнять только 1 раз в месяц.

В скором времени, разработчики обещают исправить эту проблему.


Viewing latest article 7
Browse Latest Browse All 10

Trending Articles