Summary: | kbuildsycoca is constantly restared by kded | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Marcus Thiesen <marcus> |
Component: | kded | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
strace of kded
strace run for kded --nofork Output of kded with enable-debug=full |
Description
Marcus Thiesen
2005-03-22 16:27:06 UTC
Can you strace kded when it does that. Created attachment 10277 [details]
strace of kded
Don't know how usefull that is, because kded backgrounds... can I do anything
against it?
You can use "strace -p <pid>" to attach strace to a running kded, or you can run "strace kded --nofork" to prevent kded from backgrounding. Created attachment 10282 [details]
strace run for kded --nofork
this was done doing
strace kded --nofork > /tmp/kded.trace2 2>&1
kbuildsycoca was started at least twice, but I gess from the size (4.1 MB
uncompresesd) it was much more.
kded has the impression that some file has changed that requires rebuilding of ksycoca. Unfortunately you don't seem to use fam and it isn't clear from the log which file triggers the update. Are you using NFS? Is there another way to find out? I don't use NFS, automount or anything else that does strange stuff to the filesystem. BTW, I don't use fam because the Kubuntu packags depend on gamin and are build agaonst it. Well, I deleted most of the directories which an strace showed and reinstalled the debian packages which had files in those directories which made this problem disappear. Still no real solution, though. And I was wrong... because I still have the same problem with a complete new set of Debian KDE packages. So why am I the only one with this problem? Created attachment 10879 [details]
Output of kded with enable-debug=full
ok, I think I'm getting closer: from the logfile: kded: KDirWatch-1 emitting created /usr/local/share/mimelnk kded: KDirWatch-1 emitting created /usr/local/share/services root@mobilHal:/usr/local/share: ll /usr/local/share/ | egrep '(mimelnk)|(services)' 173433 0 drwx--S--- 2 root staff 48 2005-04-25 17:26 mimelnk 32040 0 drwx--S--- 2 root staff 72 2005-04-26 08:29 services mimelnk was empty and was not in one of the installed packages, services contained only a sycoca file. Maybe there should be a method to avoid this in future. Removing this directories seems to have solved the problem. Does this problem persist in KDE 3.5? Feedback timeout, but please reopen if the bug is still present for you in 3.5 |