[Nepomuk] virtuoso-t consumes a lot of cpu time

Martin Steigerwald Martin at lichtvoll.de
Thu Jan 5 17:41:36 UTC 2012


Am Mittwoch, 4. Januar 2012 schrieb Martin Steigerwald:
> Am Sonntag, 1. Januar 2012 schrieb Rainer Dorsch:
[…]
> > > Otherwise you can try disabling desktop search or wait till the
> > > initial scan is over.
> > 
> > For me it looks like on my stystem, after restarting the system
> > nepomuk starts indexing again from scratch, even when it seems to
> > have completed the indexing.
> 
> Hmmm, for me Nepomuk from KDE SC 4.7.2/4 is the first one which
> actually works nicely. I did not look after activity after login, but
> I didn´t noticed that Nepomuk hogs my CPU.

I now had a closer look and after the last login I got this:

merkaba:~> top                      
top - 18:34:00 up 23:26,  6 users,  load average: 0.41, 0.38, 0.45
Tasks: 236 total,   2 running, 234 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.3 us,  1.6 sy, 21.2 ni, 74.7 id,  0.2 wa,  0.0 hi,  0.0 si,  
0.0 st
Kb Mem:   7970220 total,  7754256 used,   215964 free,   240416 buffers
Kb Swap: 12582908 total,   138844 used, 12444064 free,  4691656 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                                                    
 2412 martin    39  19  791m 627m 4648 S  68.6  8.1 401:14.47 virtuoso-t                                                 
21310 martin    39  19  423m  22m  17m S   5.3  0.3   0:00.16 
nepomukindexer

This looks pretty insane. 400 minutes of Intel Sandybridge i5 mobile CPU 
time. I see Nepomuk seems to be indexing some stuff, but as far as I am 
aware I didn´t put much new files in my home directory.

And when I look at the status display in the system config module for 
Nepomuk I see that it is indexing files it should have already done before. 
So either it didn´t index this on the initial scan for some reason, maybe 
the initial scan was aborted... or it indexes the files again. But then the 
size of my Nepomuk datastore and the amount of files in the index raise 
while it is scanning these old files so it seems to be putting some new 
search data in there.

I now have about 216850 files in a datastore of 2,0 GB.

Well I will leave it running for now.

I restart my KDE session in order to activate newer X.org and Intel 
graphics driver releases. Lets see whether it does the complete scan once 
again.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


More information about the Nepomuk mailing list