Problem of update-apt-xapian-index on LMDE 201204

Post your update and upgrade related errors here
Forum rules
Before you post please read this

Problem of update-apt-xapian-index on LMDE 201204

Postby abnor on Sun Apr 22, 2012 4:58 am

The update-apt-xapian-index on LMDE 201204 use CPU at 100% and freezing my PC!
This applies to newly installed LMDE 201204 only. Under Mint 11 OS I haven't them.

Short Description. Periodically are runs script: update-apt-xapian-index
It is very much loads my system. The CPU are loads at 100%, and appeal loads the hard drive very intense too. So my desktop is literally 'frozen' for 5 minutes or more and it causes do CPU peak! This is just not normal situation. But under Mint 11 I have never seen anything like it.

Well, I was read 'suggestions' like it: viewtopic.php?f=47&t=75020&p=519689&hilit=xapian#p519689
But I do not think this is a very good solution to this problem...

Temporarily I was disable automatic updates. I'm prefer remove it from Startup Applications List, who available them as two positions for Updating OS. But this is abnormal situation, is not it?

What's the matter? How to prevent this defect?
"All is not lost that is in peril... Actions speak louder than words."
Best server side *nix; bad desktop under *nix - it's because X-like systems has generic problems... But I hope to remedy this situation...
User avatar
abnor
Level 1
Level 1
 
Posts: 10
Joined: Fri Feb 17, 2012 4:40 pm
Location: Bulgaria

Linux Mint is funded by ads and donations.
 

Re: Problem of update-apt-xapian-index on LMDE 201204

Postby Oscar799 on Mon Apr 23, 2012 3:40 am

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8808
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Problem of update-apt-xapian-index on LMDE 201204

Postby powerhouse on Sat May 19, 2012 6:21 am

I got the same problem with LMDE 201204 and Xen kernel installed. Here is the output:

Code: Select all
sudo update-apt-xapian-index
[sudo] password for XXXX:
Reading .desktop files from /usr/share/app-install/desktop/...
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 97, in <module>
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/pymodules/python2.7/axi/indexer.py", line 518, in setupIndexing
    addon.obj.init(dict(values=self.values), self.progress)
  File "/usr/share/apt-xapian-index/plugins/app-install.py", line 142, in init
    entry = DesktopEntry(os.path.join(APPINSTALLDIR, f))
  File "/usr/lib/pymodules/python2.7/xdg/DesktopEntry.py", line 25, in __init__
    self.parse(filename)
  File "/usr/lib/pymodules/python2.7/xdg/DesktopEntry.py", line 33, in parse
    IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])
  File "/usr/lib/pymodules/python2.7/xdg/IniFile.py", line 44, in parse
    for line in fd:
MemoryError


I had to kill it - it totally froze my PC and my SSD worked continuously.

Any suggestions?
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Sapphire 7770 GPU, PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB SSD + various HD, Corsair 500R case, SeaSonic 660W Gold X PS
powerhouse
Level 5
Level 5
 
Posts: 639
Joined: Thu May 03, 2012 3:54 am

Re: Problem of update-apt-xapian-index on LMDE 201204

Postby Brian49 on Sat May 19, 2012 6:57 am

You could simply uninstall the apt-xapian-index package (but keep libxapian22). You will still be able to run searches in Synaptic, they will just take a few seconds longer because there will no longer be a huge index cached on your hard drive.
Brian49
Level 5
Level 5
 
Posts: 610
Joined: Thu Oct 29, 2009 2:27 pm

Re: Problem of update-apt-xapian-index on LMDE 201204

Postby craigevil on Sat May 19, 2012 7:44 am

Disable or remove the cron job, it should only be set to run weekly. Or at least it is on my system.

/etc/cron.weekly/apt-xapian-index
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: Problem of update-apt-xapian-index on LMDE 201204

Postby powerhouse on Sat May 19, 2012 8:00 am

Thanks for the quick response.

1. Whenever I ran Synaptic, it would tell me "indexing..." and my PC froze. It was update-apt-xapian-index that caused the problem.

2. I tried to uninstall apt-xapian-index, but the system reported various errors. Other apt-get commands also didn't work (apt-get clean...), so I guess my system is damaged.

3. Rebooting into a normal kernel (not the Xen kernel I use before), the system would enter into maintenance mode and complain about an /dev/sda2 fsck problem. I ran fsck manually and it (hopefully) fixed a list of problems.

4. Rebooted into Xen kernel, as I thought that the initial problems with synaptic/update-apt-xapian-index were perhaps some file system problems that were solved using fsck.

5. Still the same issues.

6. IMPORTANT: I swear that synaptic worked fine 2 days ago. I did some Xen related adjustments to the dom0 (via config file) and installed 2 domUs. But none of the changes should break apt-xapian-index.

FORGET ALL of the above: I managed to uninstall apt-xapian-index and reinstall it. Now its working!

I still can't figure out what happened. Could this be a hardware issue?
Asus Sabertooth X79, i7 3930K CPU, 8x4GB Kingston DDR3 RAM, Noctua NH-D14 CPU cooler, Sapphire 7770 GPU, PNY Quadro 2000 GPU, Asus Xonar Essence STX, Sandisk Extreme 120GB SSD + various HD, Corsair 500R case, SeaSonic 660W Gold X PS
powerhouse
Level 5
Level 5
 
Posts: 639
Joined: Thu May 03, 2012 3:54 am

Re: Problem of update-apt-xapian-index on LMDE 201204

Postby äxl on Sun May 20, 2012 11:30 am

Rebuilding Xapian index also takes forever for me. I guess there was just a hiccup that didn't report the index as up to date.
My Linux history: Ubuntu 10.04 - 10.10 - LMDE 201109 - UP4 My sources.list/preferences

Computers is not science. And it's not magic - it's something in between.
User avatar
äxl
Level 5
Level 5
 
Posts: 524
Joined: Fri Apr 06, 2012 6:14 am
Location: Germany

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 3 guests