exception creates high load and tons of log files

Bug #37681 reported by Keywan Tonekaboni
12
Affects Status Importance Assigned to Milestone
beagle (Ubuntu)
Fix Released
Medium
Kevin Kubasik

Bug Description

This exception creates high load and last time 3GB(!!) logfiles.

I started beagle from the terminal with:

beagled --debug --deny-backend KMail --deny-backend KonquerorHistory --deny-backend Kopete --deny-backend Akregator --deny-backend Google --fg

If I also use "--deny-backend EvolutionMail" everything is fine and I didn't have problems with beagle

(beagled:13074): gmime-CRITICAL **: stream_seek: assertion `fstream->fd != -1' failed
Warn: Caught exception in DoTaskReal
Warn: Tag: /home/prometoys/.evolution/mail/local/Inbox.tmp
Warn: Creator:
Warn: Description:
Warn: Priority: Delayed (0)
Warn: System.IO.FileNotFoundException: Could not find file "/home/prometoys/.evolution/mail/local/Inbox.tmp". : /home/prometoys/.evolution/mail/local/Inbox.tmp
in <0x000d4> System.IO.FileInfo:get_Length ()
in (wrapper remoting-invoke-with-check) System.IO.FileInfo:get_Length ()
in [0x000f6] (at /build/buildd/beagle-0.2.3/beagled/EvolutionMailDriver/EvolutionMailIndexableGenerator.cs:228) Beagle.Daemon.EvolutionMailDriver.EvolutionMailIndexableGeneratorMbox:HasNextIndexable ()
in [0x00027] (at /build/buildd/beagle-0.2.3/beagled/LuceneQueryable.cs:562) Beagle.Daemon.LuceneQueryable+AddGeneratorTask:DoTaskReal ()
in [0x00054] (at /build/buildd/beagle-0.2.3/Util/Scheduler.cs:267) Beagle.Util.Scheduler+Task:DoTask ()
Debug: Done crawling '/home/prometoys/iswork/cvs/admsw/groupcalendar/src/de/unidu/is'
Debug: Opening mbox Inbox.tmp

Revision history for this message
Brandon Hale (brandon) wrote :

Hi, can you please test this with the latest beagle in dapper (0.2.5)?
Thanks.

Revision history for this message
Keywan Tonekaboni (prometoys) wrote :

I didn't have the problem with big logfiles anymore, but still a problem with high load. after a while beagle is running (min. 30min I guess) beagle "aets" as much CPU it gets.

Revision history for this message
Keywan Tonekaboni (prometoys) wrote : strace output

I attached strace o beagle, when it start to create high load without any reason. this is a part of the output

Revision history for this message
Kevin Kubasik (kkubasik) wrote :

Joe has commited some sanity checks to the evolution mail backend that should fix this issue. (Occurs when mbox file cannot be found and beagle loops endlessly.)

http://cia.navi.cx/stats/project/gnome/beagle/.message/58481

Please feel free to reopen if not solved in upstream, but please make sure it is the same bug and not another 100% CPU bug. (We have had a couple of those, but lots of sanity checks have been added now to avoid these)

Changed in beagle:
assignee: nobody → kkubasik
status: Unconfirmed → Fix Committed
Revision history for this message
Brandon Hale (brandon) wrote :

Fixed in 0.2.9 according to Kevin. Closing.

Changed in beagle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.