Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Oct 31, 2012 6:54 am 
Offline
Senior Newbie

Joined: Fri May 04, 2012 11:03 pm
Posts: 12
Just a little bit ago I saw a process pop up on htop that started using 100% of 1 core and 200MB of memory for about 5 minutes. The process was /usr/sbin/update-apt-xapian-index. This happened on a brand new node booted for the first time less than 8 hours ago with only apache, mysql, and php installed.

I Googled the issue but the articles I read at least didn't really solve the issue. Some have said uninstall it, but it seems to me slightly important to the apt-cache functionality. I'm wondering if anyone can confirm that it is either ok to remove, or has another solution to this issue.

Thanks.


Top
   
PostPosted: Wed Oct 31, 2012 9:52 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
I'd leave it. It indexes packages so you can search them quicker. It shouldn't take very long, possibly the first time it runs it could take a bit longer, wait until the box has been running a few days and see if it still chews up cpu/ram. (IMHO I wouldn't say 5 minutes is a problem)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Wed Oct 31, 2012 11:32 am 
Offline
Senior Newbie

Joined: Fri May 04, 2012 11:03 pm
Posts: 12
I don't really search packages, I know exactly what I am going to install when I go to do it. It may be fine for now but definitely not once I have a site and several real time game servers running on the box. From what I read about it, they said this issue was patched in 2009 but clearly it isn't so it doesn't seem like something that will show up in the next release of it, so if I can remove it without breaking anything I will probably end up doing that.


Top
   
PostPosted: Wed Oct 31, 2012 2:35 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
You can remove it with
Code:
aptitude remove apt-xapian-index
nothing in the core system depends on it so you should be fine (I just tested removing it and it didn't break anything)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mattltm and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group