Reply to topic

Unbearably slow filebrowsing with dolphin and konqueror

kTk52
Registered Member
Posts
1
Karma
0
Hi there.
I'm using KDE 4.2 release 99 with openSUSE 11.1 x64.

I just did a fresh install and after about 10 minutes both dolphin and konqueror became unreasonably slow. The problem seems to be when they are loading/displaying icons from the files - it take ages. Opening my bin folder goes like this with dolphin:
1) 5 second wait
2) Displays files without many icons
3) Very long wait while it loads icons, speed is about 1 icon per 5 seconds

So when all files are loaded, and icon loading is started both programs become almost unresponsive. I can see they are working though since 1 icon appear every 5 sec or so. When finished dolphin and konqueror becomes perfectly responsive again like everything is alright -until I open another folder and it all starts over again.

I hope someone can help.
Greets

Last edited by kTk52 on Mon Feb 16, 2009 11:37 am, edited 1 time in total.
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
This should not happen. Fixes went into KDE 4.1 and 4.2 to make the thumbnails be generated in another thread, so they would not affect browsing folders.

Try running these commands:
Code: Select all
rm -rf $KDEHOME/cache-*/kpc/
kbuildsycoca4 --noincremental


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar shazeal
Registered Member
Posts
5
Karma
0
OS
bcooksley wrote:This should not happen. Fixes went into KDE 4.1 and 4.2 to make the thumbnails be generated in another thread, so they would not affect browsing folders.

Try running these commands:
Code: Select all
rm -rf $KDEHOME/cache-*/kpc/
kbuildsycoca4 --noincremental



That fixed this problem for me also, why would this happen on a fresh install of KDE however?
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
No idea. It is likely that one of the thumbnail generations failed for some reason, leaving a corrupted thumbnail, or the thumbnail generation was stopped before it completed one, also leaving a corrupted thumbnail. This probably prevented the cache from being cleared automatically.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar SeijiSensei
Registered Member
Posts
4
Karma
0
I've been trying to track down a similar slow browsing problem for over a week now. Finally I ran dolphin from the command prompt and discovered what was wrong. It turned out that dolphin complained about corruption of the files in the .directory subfolders. I deleted all the .directory entries, reopened dolphin, and the problem disappeared.

From the command prompt, you can use "$ cd /top/of/the/bad/directory/tree; rm -rf */.directory" to remove them all in one fell swoop. If you have many nested subdirectory levels, you may have to do some additional manual pruning.

This problem is so annoying I registered just to post this solution!

I also ran kbuildsycoca4 as suggested. On my kubuntu 8.10 (Intrepid) build, you'll see lots of entries for bad MimeTypes in a variety of .desktop files under /usr/share/applications. They're all missing semicolons at the end of the MimeType parameter. I fixed all these files manually, but that didn't solve the slow browsing problem. After I added the semicolons, kbuildsycoca4 no longer throws errors. (You'll also need to fix a few files in /usr/share/applnk/.hidden if you have that as well.) I don't know whether the problem is upstream, or a problem in the Ubuntu packaging, but I thought I'd pass that along.

Last edited by SeijiSensei on Tue Feb 24, 2009 4:25 pm, edited 1 time in total.
User avatar mitch
Registered Member
Posts
6
Karma
0
OS
Thanks a bunch bcooksley, that did the trick. :shade:


mitch, proud to be a member of KDE forums since 2008-Oct.
adamsts
Registered Member
Posts
1
Karma
0
OS
I was having a problem moving files and folders to the trash where it would take several minutes to complete and kio_trash would use almost 100% of the CPU. Just for lack of any better options I ran the commands suggested by bcooksley and voila! it's fixed. Unless it's a coincidence it looks like this fixes several possible issues. Thanks bcooksley! :thumbs_up:

Good call running Dolphin from the terminal SeijiSensei. Wish I'd thought of that. ;)
User avatar Johnny Jupiter
Registered Member
Posts
4
Karma
0
OS
hello guys, this is my first KDE-threat!!! u could be the first to read my first one..
ok , i got kde 4.2 on kubuntu...
now, i run into the same problem, dolphin is occasionally very very slow, it is like 1990 with an old pc opening folders:
click > get some coffee > click next folder > role a cigarette > etc..

i tryed the suggestion above with:

rm -rf $KDEHOME/cache-*/kpc/
kbuildsycoca4 --noincremental

but it did not help.

i run dolphin from terminal and i got this output:

"/usr/bin/dolphin(14328)" Error in thread 140372163553008 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/dolphin(14328)" Error in thread 140372163553008 : "QLocalSocket::connectToServer: Invalid name"
dolphin(14328) ::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/jo/.kde/share/apps/nepomuk/socket"
dolphin(14328): Attempt to use QAction "close_tab" with KXMLGUIFactory!
dolphin(14328): Attempt to use QAction "show_info_panel" with KXMLGUIFactory!
dolphin(14328): Attempt to use QAction "show_folders_panel" with KXMLGUIFactory!
dolphin(14328): Attempt to use QAction "show_terminal_panel" with KXMLGUIFactory!
dolphin(14328): Attempt to use QAction "show_places_panel" with KXMLGUIFactory!


what the heck does this mean?
is this something i can ignore?
or is this causing the sleeping-pill-syndrome?

Last edited by Johnny Jupiter on Wed Mar 04, 2009 9:21 pm, edited 1 time in total.
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
The error messages output by Dolphin are completely normal. The first two are about a failure to contact Nepomuk, the later ones are just complaining about the use of Q classes where you should be using K classes ( this is really only relevant to the developers of Dolphin )

Just interested, what is the output of this command?
Code: Select all
echo $KDEHOME


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar Johnny Jupiter
Registered Member
Posts
4
Karma
0
OS
Just interested, what is the output of this command?
Code: Select all
echo $KDEHOME

[/quote]

thanks for your smooth reply.
i did "$ echo $KDEHOME" but
the output is none, empty...
what does it mean?
thx..
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
Run this command instead:
Code: Select all
export KDEHOME=~/.kde
rm -rf $KDEHOME/cache-*/kpc/
kbuildsycoca4 --noincremental


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
User avatar Johnny Jupiter
Registered Member
Posts
4
Karma
0
OS
Johnny Jupiter wrote:Just interested, what is the output of this command?
Code: Select all
echo $KDEHOME



now, it turns out that dolphin gets slower and slower as longer i browse through my files... at a certain moment it crawls...
is there nobody that knows why?
User avatar ssri
Registered Member
Posts
47
Karma
0
OS
Kubuntu intrepid here (x86_64). I too experience the laggy-ness that comes with using dolphin, especially in directories with many subdirectories; the effect is most pronounced when navigating ntfs drives but it is seen in ext3 partitions just the same. bcooksley's tip alleviates the problem, but only temporarily, since dolphin becomes slow again 24 hrs later. Also, I experienced the same bad mimetypes thrown up by kbuildsycoca as described by SeijiSensei. However, I saw no .directory errors when running dolphin from konsole. In my experience, these performance issues existed from kde 4.1.2-4.2.1. That is why I try to stick to konsole as much as I can :-D

Last edited by ssri on Fri Mar 06, 2009 12:19 pm, edited 1 time in total.
User avatar Ahmad Samir
Registered Member
Posts
127
Karma
0
OS
Does it happen after cutting and pasting a file/folder?
Pconfig
Alumni
Posts
74
Karma
0
OS
medo3891 wrote:Does it happen after cutting and pasting a file/folder?


I have that sometimes. Might be totally unrelated though ;)

 
Reply to topic

Bookmarks



Who is online

Registered users: airdrik, Baidu [Spider], Bing [Bot], farid, ghevan, Google [Bot], hsnnsnc, jacobseated, Lachu, leite, Majestic-12 [Bot], Sogou [Bot], Yahoo [Bot]