maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   metalayer-crawl and high cpu usage (https://talk.maemo.org/showthread.php?t=4854)

srstein 2007-02-21 01:13

metalayer-crawl and high cpu usage
 
I'm not sure if anyone else has seen this but I added a few mp3 audio books to a 4GB internal transcend SD card. There's about 175MB in 61 files.

All of a sudden the CPU spiked to 97% for the metalayer-crawl process. (Now that was a pain trying to get a terminal and tapping 'top' ...)

Quote:

Description: Metalayer Crawler Daemon Crawler is a program that is always running on the background. The purpose of the program is to collect information about the comings and goings of media files in the system. The metadata of media files is automatically extracted using libmetalayer for other applications to use.
If I take the card out, everything is fine. When I put the card back in the media library is refreshed and spikes to high CPU usage.

I thought I'd post this in case anyone else has seen this behavior. I can't imagine this would be normal. I ended up removing the files so I could use the tablet.

Milhouse 2007-02-21 01:20

Re: metalayer-crawl and high cpu usage
 
Most likely bug #978.

srstein 2007-02-21 19:01

Re: metalayer-crawl and high cpu usage
 
Thanks for the link, that's probably the case. :)

yabbas 2007-07-21 02:53

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by Milhouse (Post 35783)
Most likely bug #978.

thanks from me too :)

i too created the symlink to browse through root and stumbled upon the bug. is there a way to have my cake and eat it?

fnordianslip 2007-07-21 04:44

Re: metalayer-crawl and high cpu usage
 
You can install canoe and remove the link.

debernardis 2007-07-21 04:59

Re: metalayer-crawl and high cpu usage
 
After installing rtcomm and microb-browser, metalayer-crawler started getting a 90%+ of cycles. I had to deactivate it. Anybody saw same behaviour?

Rocketman 2007-07-21 05:36

Re: metalayer-crawl and high cpu usage
 
How can I just disable metalayer-crawler entirely? Its behavior is absolutely unacceptable.

Pebkac 2007-07-21 08:39

Re: metalayer-crawl and high cpu usage
 
Agreed, I also would just like to be able to toggle it off.. then WHEN I need to update a newly installed card.. click/choose an item to THEN update the contents of that card.

The whole lagg and wait due to the N800 "indexing" all the contents continually is annoying.

/salute.

Rocketman 2007-07-21 11:42

Re: metalayer-crawl and high cpu usage
 
What is really needed is a version with a gui that allows one to specify directories to be scanned and which has an option to either manually initiate a rescan or to do a periodic rescan kicked off by a cron job or something. As it is, it is consistently one of the most resource hogging applications on my device and I don't even want to use it's functionality.

debernardis 2007-07-21 14:42

Re: metalayer-crawl and high cpu usage
 
1) it was due to my mmc which was corrupted;
2) however to deactivated the little beast I only did
mv /usr/bin/metalayer-crawler /usr/bin/metalayer-crawler.deactivated
after gaining root.

joelong 2007-08-09 03:52

Re: metalayer-crawl and high cpu usage
 
Any reason I can't just use osso-statusbar-cpu to kill the metalayer-crawler process? If I do that and later want to restart it, what do I have to do? Reboot?

I'm thinking I might have found the solution to my fast battery drain problem.

Rocketman 2007-08-09 05:09

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by debernardis (Post 61894)
1) it was due to my mmc which was corrupted;
2) however to deactivated the little beast I only did
mv /usr/bin/metalayer-crawler /usr/bin/metalayer-crawler.deactivated
after gaining root.

I disabled metalayer-crawler using this simple rename the damn file method and I went from 4 MB free ram at system boot to 61! OMG, this app is sooo poorly implemented. Having an app that crawls your filesystem and finds your media files for you isn't a terrible idea, but this happens to be a terrible implementation. For instance, there is no simple, end-user friendly way of specifying which directories to search. This is a big problem when the app defaults to searching everything, especially given the percentage of NIT users who run Maemo Mapper and have directories on their filesystem with literally tens of thousands of files!

RioT 2007-08-09 11:22

Re: metalayer-crawl and high cpu usage
 
How would I reactivate metalayer-crawl if I needed it again

Karel Jansens 2007-08-09 14:08

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by RioT (Post 66973)
How would I reactivate metalayer-crawl if I needed it again

That would be

mv /usr/bin/metalayer-crawler.deactivated /usr/bin/metalayer-crawler

As root, obviously. Just watch the spaces.

Even Linux has some logic in it... :rolleyes:

raakshasa 2007-08-09 14:21

Re: metalayer-crawl and high cpu usage
 
Damn ...

I disabled metalayer crawler ... and rebooted .... and now still the CPU usage is high ...

this time it is canola-conf ? anyone else see this ?

orbitalcomp 2007-08-09 14:31

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by Rocketman (Post 66914)
I disabled metalayer-crawler using this simple rename the damn file method and I went from 4 MB free ram at system boot to 61! OMG, this app is sooo poorly implemented. Having an app that crawls your filesystem and finds your media files for you isn't a terrible idea, but this happens to be a terrible implementation. For instance, there is no simple, end-user friendly way of specifying which directories to search. This is a big problem when the app defaults to searching everything, especially given the percentage of NIT users who run Maemo Mapper and have directories on their filesystem with literally tens of thousands of files!

I went ahead and disabled mine, since it seems to help everyone else. I'm all for speeding up the device even just a bit.

I don't quite understand what the point of this file is...does it just automatically keep track of music, videos, map files, etc? I thought the media players all did this anyways, or do they access this metalayer-crawler? It sounds similar to a problem that WinMo 5 devices had with a certain background process hogging up most of the CPU all the time.

Also, this may be right in front of me, but how do you check total memory usage after bootup, is it from Xterm?

fanoush 2007-08-09 14:38

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by raakshasa (Post 67031)
this time it is canola-conf ? anyone else see this ?

:-)

canola-conf is metalayer-crawler's cousin done by canola team. It is a bit funny, they are from Nokia too but instead of making one good media scanning daemon together, they chose to make two (less good) ones.

Karel Jansens 2007-08-09 15:43

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by fanoush (Post 67036)
:-)

canola-conf is metalayer-crawler's cousin done by canola team. It is a bit funny, they are from Nokia too but instead of making one good media scanning daemon together, they chose to make two (less good) ones.

The mplayer one seems to work both swiftly and unobtrusively. Then again, that one's not done by Nokia, innit?

raakshasa 2007-08-09 16:15

Re: metalayer-crawl and high cpu usage
 
I have switched to using exaile, which is a GTK clone of amarok. Works quite well ... and gives me the control I want. I manually decide when to refresh my directories and it seems to work fine.

iball 2007-08-09 16:24

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by raakshasa (Post 67072)
I have switched to using exaile, which is a GTK clone of amarok. Works quite well ... and gives me the control I want. I manually decide when to refresh my directories and it seems to work fine.

Got a link/deb/binary for that?

joelong 2007-08-10 02:41

Re: metalayer-crawl and high cpu usage
 
I don't seem to be able to rename metaplayer-crawler. I have becomeroot installed. I fire up xterm and type in sudo gainroot. I then get the prompt "/home/user # ". I then type in "mv /user/bin/metalayer-crawler /user/bin/metalayer-crawler.disabled". I get the error message "cannot rename 'user/bin/metalayer-crawler': No such file or directory"

Where did I go wrong?

orbitalcomp 2007-08-10 03:12

Re: metalayer-crawl and high cpu usage
 
Replace '/user/' with '/usr/'...that should do the trick...

joelong 2007-08-10 15:25

Re: metalayer-crawl and high cpu usage
 
Bingo. Thank you.

Rtalian 2007-08-18 23:54

Re: metalayer-crawl and high cpu usage
 
Quote:

Originally Posted by iball (Post 67076)
Got a link/deb/binary for that?

It's here. I just found it today. :)


All times are GMT. The time now is 15:40.

vBulletin® Version 3.8.8