[maemo-users] bug #978: metalayer-crawler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

ext Laurent MARTIN wrote:
>> The other workaround (mentioned in Bugzilla) of limiting the crawling to
>> MyDocs directory, is the one that makes crawler not to use CPU so often
>> / much.  The downside of that is that then the mediafiles on your MMC/SD
>> card are not automatically indexed and visible in the Mediaplayer.
>> You need to start playing them from the file manager instead...
 >
> That's the workaround I've applied. And as I've added symlinks between 
> ~user/MyDocs/.videos/mmc1 and /media/mmc1/videos (same things for images 
> and sounds), my SD card should still be indexed, or am I wrong?

I'm not completely sure, but it's easy to test.  Take the card out and
put it back and see whether crawler (momentarily) takes CPU. :-)


>> 10 minutes is a very long time though, does fsck report issues with the
>> FAT filesystem of your card?   If not, please run the script from my
>> earlier mail and mail its results here (i.e. how many files and of
>> what type you had on your card).
> I haven't done this yet. Still don't know how to install fsck on my 
> N800, or can I simply mount the SD card on my Linux box and check it 
> from this PC?

You can check it from the PC, but at least from the ls output the card
wouldn't seem to be corrupted, at least not in the way that in my case
triggers the crawler using CPU forever.


>>   Or even easier, just report:
>> ls -laR /media/mmc1/ output i.e. full file listing for you card.
> See attachement.

Thanks!

The filetype script output was correct, you really have only three
movies on the card (in addition to jpegs) and no music files.

I'm now very interested on what file(s) the crawler spends its time.
Could you:
- start Xterm
- run following command in the terminal:
----------------------
while true; do
   for pid in $(pidof metalayer-crawler); do
     ls -l /proc/$pid/fd/|grep /;
   done|sort|uniq;
   echo ===sleep===; sleep 5;
done
---------------------
- take out the card
- wait few secs and insert it again

And report on what filenames appear longest in the script
output while crawler works?


	- Eero





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux