KBuildSycoca4 running very frequently

Nicolas Pavillon nicos at macports.org
Sat Feb 16 22:28:15 PST 2013


Hello, 

It should indeed not run that much. KDE has its own system to run it periodically, which appears to not work on Mac. So I added an agent that the user can load in order to run it periodically. If you did not load the agent, I see no reason why it should run on its own.

However, even if the agent is active, it is not based on time periodicity. It watches the paths ${prefix}/bin and ${applications_dir}/KDE4 for changes, in order to run it only when potential new binaries were installed that need to be indexed. But these paths should not change that much often in normal use, I think. 

If this is due to the agent, one workaround may be to increase its throttle to prevent it to run too often (it is set at 60 seconds now). 

Cheers, 

Nicolas


On Feb 17, 2013, at 2:45 PM, Ian Wadham <iandw.au at gmail.com> wrote:

> KBuildSycoca4 is a fine thing if you have some KDE apps,
> but should it run every 3 or 4 minutes?  On my system it is
> now the second largest log user after "kernel".
> 
> Below is what it is logging, apparently repeated endlessly.
> 
> All the best, Ian W.
> 
> 17/02/13 4:28:17.951 PM org.macports.kdecache: kbuildsycoca4 running...
> 17/02/13 4:28:17.954 PM org.macports.kdecache: kbuildsycoca4(6005)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/private/var/tmp/kdecache-ianw/ksycoca4"
> 17/02/13 4:28:17.955 PM org.macports.kdecache: kbuildsycoca4(6005) kdemain: Reusing existing ksycoca
> 17/02/13 4:28:17.961 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildSycoca::recreate: Recreating ksycoca file ("/private/var/tmp/kdecache-ianw/ksycoca4", version 212)
> 17/02/13 4:28:17.990 PM org.macports.kdecache: kbuildsycoca4(6005) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/opt/local/etc/xdg/menus/applications-merged/ggz.merge.menu"
> 17/02/13 4:28:17.990 PM org.macports.kdecache: kbuildsycoca4(6005) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/opt/local/etc/xdg/menus/ggz.menu"
> 17/02/13 4:28:17.990 PM org.macports.kdecache: kbuildsycoca4(6005) foldNode: "Directory" and "ggz.directory" requires combining!
> 17/02/13 4:28:17.990 PM org.macports.kdecache: kbuildsycoca4(6005) VFolderMenu::pushDocInfo: Menu "applications-kmenuedit.menu" not found.
> 17/02/13 4:28:17.990 PM org.macports.kdecache: kbuildsycoca4(6005) VFolderMenu::processMenu: Processing KDE Legacy dirs for <KDE>
> 17/02/13 4:28:17.990 PM org.macports.kdecache: kbuildsycoca4(6005) VFolderMenu::processKDELegacyDirs:
> 17/02/13 4:28:17.990 PM org.macports.kdecache: kbuildsycoca4(6005) VFolderMenu::loadApplications: Looking up applications under "/opt/local/share/applications/"
> 17/02/13 4:28:17.991 PM org.macports.kdecache: kbuildsycoca4(6005) VFolderMenu::loadApplications: Looking up applications under "/opt/local/share/applications/kde4"
> 17/02/13 4:28:18.000 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "plasma-kpart.desktop" specifies undefined mimetype/servicetype "KParts/Part"
> 17/02/13 4:28:18.000 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "windowsexethumbnail.desktop" specifies undefined mimetype/servicetype "application/x-msdownload"
> 17/02/13 4:28:18.001 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "/opt/local/share/applications/kde4/kpat.desktop" specifies undefined mimetype/servicetype "application/vnd.kde.kpatience.savedstate"
> 17/02/13 4:28:18.001 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "/opt/local/share/applications/kde4/lokalize.desktop" specifies undefined mimetype/servicetype "application/x-lokalize-project"
> 17/02/13 4:28:18.001 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "fileviewhgplugin.desktop" specifies undefined mimetype/servicetype "FileViewVersionControlPlugin2"
> 17/02/13 4:28:18.001 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "/opt/local/share/applications/kde4/kmymoney.desktop" specifies undefined mimetype/servicetype "application/x-kmymoney"
> 17/02/13 4:28:18.001 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "/opt/local/share/applications/kde4/kmymoney.desktop" specifies undefined mimetype/servicetype "application/vnd.intu.qfx"
> 17/02/13 4:28:18.001 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildServiceFactory::populateServiceTypes: "/opt/local/share/applications/kde4/kmymoney.desktop" specifies undefined mimetype/servicetype "application/x-ofx"
> 17/02/13 4:28:18.010 PM org.macports.kdecache: kbuildsycoca4(6005) KBuildSycoca::save: Saving
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users



More information about the macports-users mailing list