[Kde-pim] Review Request: Add indexing throttling and fixed endless indexing problems

Volker Krause vkrause at kde.org
Fri Feb 17 18:53:42 GMT 2012


On Friday 17 February 2012 09:00:19 Sebastian Trueg wrote:
> > On Feb. 16, 2012, 7:45 p.m., Christian Mollekopf wrote:
> > > The HighPrio Queue shouldn't ever be throttled ideally, but in view of
> > > the current problems it's definitely a reasonable approach. I didn't
> > > give a close look yet, but you can ship it from my side. Thanks for the
> > > patch.
> Currently there is no way around throttling the high prio queue. As stated
> above (and as you confirmed in private email) adding a new email account
> will result in newItem events for all the emails. That in turn will put
> them into the high prio queue.

I'm currently testing this, and it indeed seems to improve indexing 
considerably. Without throttling in effect my system is now reliably indexing 
hundreds of mails per minute, without getting stuck with Virtuoso going crazy.

I (locally) reduced the idle time limit a bit though, with the new two minute 
setting it rarely switches to full speed here, maybe something we still want 
to tweak.

I get a lot of these errors now though: "nepomukservicestub(24734)" Soprano: 
"Invalid argument (1)": 
"http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageHeader has a 
max cardinality of 1. Provided 2 values - 
<nepomuk:/res/dfc71807-249b-47e4-91c1-90e3bd940f4d>, <nepomuk:/res/93266175-
f423-481b-a371-2b6ed28c5dbb>. Existing - "

This seems to be caused by emails with more than one extra header we index 
(such as List-Id), and thus triggers on basically everything in my mailinglist 
folders. Affected emails are skipped and re-indexed at an agent restart (which 
of course fails again). Is nmo:messageHeader the right property for these 
headers, and if yes, why does it have cardinality one?

regards,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20120217/7c979a76/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list