KBuildSycoca4 running very frequently
Ian Wadham
iandw.au at gmail.com
Sun Feb 17 17:03:30 PST 2013
On 17/02/2013, at 11:30 PM, Nicolas Pavillon wrote:
> On Feb 17, 2013, at 4:08 PM, Ian Wadham <iandw.au at gmail.com> wrote:
>>
>> Maybe I did load the agent or maybe it got loaded automatically last time
>> I upgraded KDE, which was a week or two ago. I saw something about it
>> in the Macports note output at the time and I thought it was a great idea.
>> I have been an advocate of running KBuildSycoca4, but not this often … :-)
>
> In fact, from your log messages, it is clear that the agent is loaded, as it is run from org.macports.kdecache. I did not look closely before.
>
>> Maybe KBuildSycoca4 thinks it has "unfinished business" due to not finding
>> things on a previous run (see log messages in my previous post).
>
> True. It may be possible to solve it by clearing the kdecache folder and running kbuildsycoca4 manually once, even though I am not fully clear about the errors.
>
>> So, how do I throttle it back? Sometimes it runs after 60 secs and sometimes
>> longer. The average interval is about 3 or 4 mins.
>
> It is possible by editing the file in /Library/LaunchAgents/org.macports.kdecache.plist and setting the key
>
> <key>ThrottleInterval</key>
> <integer>60</integer>
>
> to the desired amount of seconds. It may be necessary to reload the agent for the change to be effective. Furthermore, this is partly a hack, in the sense that an upgrade of kdelibs4 would overwrite the change.
Thanks for that information, Nicolas.
The problem has only happened twice in 4 hours this morning. Just for luck I have
done "kbuildsycoca4 --noincremental" manually. That clears the cache and starts
again. I still got similar error messages, but I am disregarding them for now.
When I did my last upgrade, it was during resolution of an issue among the
MacPorts developers about kerberos5 and friends. Not knowing about that at the
time I was building, I worked around the build errors, but ended with some broken
kdegames4 apps. After I uninstalled and re-installed kdegames4, they were OK.
If I have any further problems, maybe I will uninstall and re-install all my KDE ports.
Thanks again, Ian W.
More information about the macports-users
mailing list