Fedora Linux Support Community & Resources Center
Old 18th August 2012, 11:30 AM
ACiD GRiM Offline
Registered User
Join Date: Sep 2008
Posts: 205
Polkitd, NM, and dbus-daemon are ravaging my cpu and battery


Above is a link to a screen cap of the consistantly top offenders of my system. Even after all updates have been applied, and a complete reboot, these three services are almost immediately taking 36% polkitd, 36% dbus-daemon, and 12% NetworkManager with vary little fluxuation from the screen cap. Not only is this keeping my poor CPU pegged, but it's likely the cause for the abysmal battery life I have even after upgrading to an SSD.

Sometimes Polkitd will consume over 1GB of RAM! After the computer has been left on for a few days. This is confirmed on two computers of different ages of F17.

Is this a bug I need to report/add to? Does anyone have a suggestion for investigating why these three apps are almost locked in CPU usage.

I have done systemctl restart NetworkManager.service and when the service reloads, it's back up to 12% immediately. I think it's realy strange that these three services are consistantly at the same usage level. 4x CPU system

Some system info:

tmpfs /tmp
cpu throttling set to concervative
tuned set to laptop-battery-powersave
brightness turned all down

The curious thing is that in a test user, I don't have the same problem, so I can at least confirm that its tied to something I'm doing in my user profile. The only problem is I'm not sure where to start looking since these services explode on log-in.

Found the problem, it's a script I run that is supposed to remount my gvfs share when the system reconnects to my local network. Looks like my quick hack caused un intended consequences. any ideas how I can optimize this to only make remount requests when network state and folder detection state changes?


while [ $i -eq 0 ]; do
        CONSTATE=`nmcli -t -f STATE nm status`
        FOLDERSTATE=`gvfs-info /run/user/ben/gvfs/mount/ 2>&1|grep "type: directory"`

        if [[ $CONSTATE = "connected" ]]; then
                if [[ $FOLDERSTATE != "type: directory" ]]; then
                        gvfs-mount "smb://NEXUSNEBULA.NET;ben@file.nexusnebula.net/ben"

Last edited by ACiD GRiM; 18th August 2012 at 11:44 AM.
Reply With Quote

battery, cpu, dbusdaemon, networkmanager, polkitd, ravaging

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restart the DBus daemon? theresonant EOL (End Of Life) Versions 1 11th February 2012 08:44 AM
warning: `dbus-daemon' uses 32-bit capabilities fedora987 Using Fedora 1 9th August 2008 01:21 AM
Dbus-daemon and Ldap problem on startup manulesurfeur Using Fedora 2 30th May 2006 09:50 AM
battery daemon o-ren Using Fedora 0 18th August 2005 05:21 PM
dbus-daemon-1: Failed to start message bus: Failed to bind socket HaydnH Using Fedora 2 30th June 2005 05:31 PM

Current GMT-time: 03:45 (Saturday, 19-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat