Ubuntu 10.10 trash CPU overload

I have a weird bug with Ubuntu 10.10 on one of my computer. When I empty the trash, the process - gvfsd-trash goes to 200% and does not stop until I kill it (using kill -9).

Does not matter if I have a 1 file or 100.

What can be the issue?

Here's a screenshot of mine (it's not 200% but it's 98%) which i think it's not normal. 98%


Solution 1:

I had the same issue and I created an applet. This way i simply did rm -rf the trash folder. I also added a "shred" option - which is configurable.

this way more secure.

here's a example of applet code: http://conjurecode.com/create-indicator-applet-for-ubuntu-unity-with-python/

Solution 2:

Try what is on this e-how page: http://www.ehow.com/how_8219428_empty-trash-can-through-terminal.html, then let me know if it emptied this way. Also, when you end the process, is the file deleted? If not, doing what is in that link may fix it, as it could be that a file does not want to be deleted (in non-geek terms). Hope this helps!