Bugzilla – Bug 113626
beagle creates lots of tmp files in /tmp
Last modified: 2005-09-08 16:10:07 UTC
After starting beagled I get lots of tmp files in /tmp, e.g.: -r-------- 1 aj users 16067 2005-08-28 12:43 tmp36cd5252 -r-------- 1 aj users 855 2005-08-28 12:43 tmpdb1012f -r-------- 1 aj users 587 2005-08-28 12:43 tmpb2d7ee4 -r-------- 1 aj users 2467 2005-08-28 12:43 tmp9351267 -r-------- 1 aj users 837 2005-08-28 12:43 tmp7ff7a9ef -r-------- 1 aj users 368 2005-08-28 12:43 tmp727658e7 -r-------- 1 aj users 980 2005-08-28 12:43 tmp723e52b0 -r-------- 1 aj users 1020 2005-08-28 12:43 tmp7221193c -r-------- 1 aj users 335 2005-08-28 12:43 tmp68f12ee9 -r-------- 1 aj users 1452 2005-08-28 12:43 tmp67087dbc -r-------- 1 aj users 807 2005-08-28 12:43 tmp65a86106 -r-------- 1 aj users 523 2005-08-28 12:43 tmp6247040d -r-------- 1 aj users 923 2005-08-28 12:43 tmp5dcb1545 -r-------- 1 aj users 540 2005-08-28 12:43 tmp5d5ec8f -r-------- 1 aj users 398 2005-08-28 12:43 tmp5b020813 -r-------- 1 aj users 435 2005-08-28 12:43 tmp594f267d -r-------- 1 aj users 1070 2005-08-28 12:43 tmp548dacce -r-------- 1 aj users 1234 2005-08-28 12:43 tmp52b6d39 -r-------- 1 aj users 874 2005-08-28 12:43 tmp5011be06 -r-------- 1 aj users 2444 2005-08-28 12:43 tmp4b95cf3e -r-------- 1 aj users 1934 2005-08-28 12:43 tmp46d4558f -r-------- 1 aj users 473 2005-08-28 12:43 tmp42e0dd0 -r-------- 1 aj users 1439 2005-08-28 12:43 tmp425866c7 -r-------- 1 aj users 689 2005-08-28 12:43 tmp391afe50 -r-------- 1 aj users 1068 2005-08-28 12:43 tmp2f980af2 -r-------- 1 aj users 1401 2005-08-28 12:43 tmp2923afad -r-------- 1 aj users 142 2005-08-28 12:43 tmp24a7c0e5 -r-------- 1 aj users 1459 2005-08-28 12:43 tmp202bd21d -r-------- 1 aj users 578 2005-08-28 12:43 tmp1b6a586e -r-------- 1 aj users 2583 2005-08-28 12:43 tmp16ee69a6 -r-------- 1 aj users 1975 2005-08-28 12:43 tmp12727ade -r-------- 1 aj users 923 2005-08-28 12:43 tmp8eeb8d5 -r-------- 1 aj users 3012 2005-08-28 12:43 tmp7de8d059 -r-------- 1 aj users 3264 2005-08-28 12:43 tmp79d7b211 -r-------- 1 aj users 2425 2005-08-28 12:43 tmp7639a483 -r-------- 1 aj users 1136 2005-08-28 12:43 tmp702f791a -r-------- 1 aj users 2017 2005-08-28 12:43 tmp68ea7d20 -r-------- 1 aj users 104 2005-08-28 12:43 tmp67379b8a -r-------- 1 aj users 2583 2005-08-28 12:43 tmp66f210a3 -r-------- 1 aj users 3371 2005-08-28 12:43 tmp627621db -r-------- 1 aj users 66 2005-08-28 12:43 tmp5fe682a4 -r-------- 1 aj users 1142 2005-08-28 12:43 tmp5a5eaf2 -r-------- 1 aj users 65 2005-08-28 12:43 tmp597e444b -r-------- 1 aj users 806 2005-08-28 12:43 tmp5938b964 -r-------- 1 aj users 2945 2005-08-28 12:43 tmp5040dbd4 -r-------- 1 aj users 1342 2005-08-28 12:43 tmp4b7f6225 -r-------- 1 aj users 1189 2005-08-28 12:43 tmp4a2b686 -r-------- 1 aj users 4428 2005-08-28 12:43 tmp45d2b9f -r-------- 1 aj users 4515 2005-08-28 12:43 tmp3d807fff -r-------- 1 aj users 1695 2005-08-28 12:43 tmp370c24ba -r-------- 1 aj users 471 2005-08-28 12:43 tmp324aab0b -r-------- 1 aj users 3531 2005-08-28 12:43 tmp2fc728c0 -r-------- 1 aj users 50 2005-08-28 12:43 tmp2e14472a -r-------- 1 aj users 93 2005-08-28 12:43 tmp2dcebc43 -r-------- 1 aj users 3472 2005-08-28 12:43 tmp2952cd7b -r-------- 1 aj users 30 2005-08-28 12:43 tmp205aefeb -r-------- 1 aj users 335 2005-08-28 12:43 tmp20156504 -r-------- 1 aj users 2648 2005-08-28 12:43 tmp1b99763c -r-------- 1 aj users 3672 2005-08-28 12:43 tmp171d8774 -r-------- 1 aj users 33 2005-08-28 12:43 tmp12a198ac -r-------- 1 aj users 1346 2005-08-28 12:43 tmp125c0dc5 drwx------ 2 aj users 4096 2005-08-28 12:45 orbit-aj -r-------- 1 aj users 398 2005-08-28 12:46 tmpabf5b4e -r-------- 1 aj users 874 2005-08-28 12:46 tmp952049f -r-------- 1 aj users 142 2005-08-28 12:46 tmp7bba9256 -r-------- 1 aj users 807 2005-08-28 12:46 tmp771cbe97 -r-------- 1 aj users 1401 2005-08-28 12:46 tmp6f9237b6 -r-------- 1 aj users 1975 2005-08-28 12:46 tmp69636758 -r-------- 1 aj users 368 2005-08-28 12:46 tmp6711aece -r-------- 1 aj users 1934 2005-08-28 12:46 tmp6654cf3f -r-------- 1 aj users 523 2005-08-28 12:46 tmp61d8e077 -r-------- 1 aj users 540 2005-08-28 12:46 tmp5f555e2c -r-------- 1 aj users 923 2005-08-28 12:46 tmp5de8077d -r-------- 1 aj users 689 2005-08-28 12:46 tmp589b7800 -r-------- 1 aj users 335 2005-08-28 12:46 tmp502eb03e -r-------- 1 aj users 587 2005-08-28 12:46 tmp4f5e0f89 -r-------- 1 aj users 1020 2005-08-28 12:46 tmp4d615d7 -r-------- 1 aj users 1459 2005-08-28 12:46 tmp4ccb3fb6 -r-------- 1 aj users 578 2005-08-28 12:46 tmp48a4295d -r-------- 1 aj users 2467 2005-08-28 12:46 tmp427558ff -r-------- 1 aj users 1452 2005-08-28 12:46 tmp3df96a37 -r-------- 1 aj users 1439 2005-08-28 12:46 tmp366ee356 -r-------- 1 aj users 435 2005-08-28 12:46 tmp304012f8 -r-------- 1 aj users 855 2005-08-28 12:46 tmp2d317adf -r-------- 1 aj users 1234 2005-08-28 12:46 tmp28b58c17 -r-------- 1 aj users 473 2005-08-28 12:46 tmp263209cc -r-------- 1 aj users 2444 2005-08-28 12:46 tmp2286bbb9 -r-------- 1 aj users 837 2005-08-28 12:46 tmp1f7823a0 -r-------- 1 aj users 1070 2005-08-28 12:46 tmp1c77dbe -r-------- 1 aj users 1068 2005-08-28 12:46 tmp1878b28d -r-------- 1 aj users 2583 2005-08-28 12:46 tmp170b5bde -r-------- 1 aj users 980 2005-08-28 12:46 tmp11becc61 Filling up /tmp is not acceptable.
It's normal to have a handful of these while the beagle daemon is running, and they're cleaned up when finished. Do these stick around after you shut down the daemon? If so, can you attach your ~/.beagle/Log/current-IndexHelper for the run in which they're created?
Ok, started beagled again and after a couple of minutes I have 208 tmp* files in /tmp/ created by beagled.
Andreas: The logfile you attached suggests that the problem is in the Akregator backend, but I haven't been able to reproduce it. Could you look at some of the left-over tmp files and see if you can tell where the fulltexts they contain are coming from? If they contain data from looks like it comes from RSS feeds, that would at least help us narrow things down.
A partial fix for this is in RC1. We still leak tmp files in some cases, but at a slower rate. If I can't track down the logical error that is causing this (propably an exception or error condition we are not handling correctly) fairly quickly on Tuesday, I'll work around it for RC2 by periodically cleaning up /tmp.
OK, I tracked this down to a logic error --- so there is no need for a work around. This is now fixed in beagle CVS.
do you have a patch for 10.0?
Created attachment 49141 [details] a patch which fixes this problem
submitted for RC2