Currently 20-25% CPU usage, 12h after last restart of NetworkManager.
I'm on a wired network (dhcp) with wireless disabled.

network-manager 0.6.6-0ubuntu5

I can't see anything related in any of the logs in /var/log.

This bug is possibly related to:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/162383

So I've killed NetworkManager and started it manually with the --no-
daemon option. Here's the immediate output:

NetworkManager: <info>  starting...
NetworkManager: <info>  New VPN service 'ppp' 
(org.freedesktop.NetworkManager.ppp_starter).
NetworkManager: <info>  Found radio killswitch 
/org/freedesktop/Hal/devices/ipw_wlan_switch
NetworkManager: <info>  eth1: Device is fully-supported using driver 'ipw2200'.
NetworkManager: <info>  eth1: driver supports SSID scans (scan_capa 0x21).
NetworkManager: <info>  nm_device_init(): waiting for device's worker thread to 
start
NetworkManager: <info>  nm_device_init(): device's worker thread started, 
continuing.
NetworkManager: <info>  Now managing wireless (802.11) device 'eth1'.
NetworkManager: <info>  Deactivating device eth1.
NetworkManager: <info>  eth0: Device is fully-supported using driver 'skge'.
NetworkManager: <info>  nm_device_init(): waiting for device's worker thread to 
start
NetworkManager: <info>  nm_device_init(): device's worker thread started, 
continuing.
NetworkManager: <info>  Now managing wired Ethernet (802.3) device 'eth0'.
NetworkManager: <info>  Deactivating device eth0.
NetworkManager: <info>  Updating allowed wireless network lists.
NetworkManager: <info>  Updating VPN Connections...
NetworkManager: <info>  Wireless now enabled by radio killswitch
NetworkManager: <info>  Will activate wired connection 'eth0' because it now 
has a link.
NetworkManager: <info>  SWITCH: no current connection, found better connection 
'eth0'.
NetworkManager: <info>  Will activate connection 'eth0'.
NetworkManager: <info>  Device eth0 activation scheduled...
NetworkManager: <info>  Activation (eth0) started...
NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) 
scheduled...
NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) 
started...
NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) 
scheduled...
NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) 
complete.
NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) 
starting...
NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) 
successful.
NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) 
scheduled.
NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) 
complete.
NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) 
started...
NetworkManager: <info>  Activation (eth0) Beginning DHCP transaction.
NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) 
complete.
NetworkManager: <info>  DHCP daemon state is now 12 (successfully started) for 
interface eth0
NetworkManager: <info>  DHCP daemon state is now 1 (starting) for interface eth0
NetworkManager: <info>  DHCP daemon state is now 2 (bound) for interface eth0
NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) 
scheduled...
NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) 
started...
NetworkManager: <info>  Retrieved the following IP4 configuration from the DHCP 
daemon:
NetworkManager: <info>    address 192.168.1.66
NetworkManager: <info>    netmask 255.255.255.0
NetworkManager: <info>    broadcast 192.168.1.255
NetworkManager: <info>    gateway 192.168.1.254
NetworkManager: <info>    nameserver 137.222.10.36
NetworkManager: <info>    nameserver 192.168.1.254
NetworkManager: <info>    domain name 'config'
NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) 
scheduled...
NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) 
complete.
NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) 
started...
NetworkManager: <info>  Clearing nscd hosts cache.
NetworkManager: <WARN>  nm_spawn_process(): nm_spawn_process('/usr/sbin/nscd -i 
hosts'): could not spawn process. (Failed to execute child process 
"/usr/sbin/nscd" (No such file or directory))

NetworkManager: <info>  Activation (eth0) successful, device activated.
NetworkManager: <info>  Activation (eth0) Finish handler scheduled.
NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) 
complete.

I will post any future output.

CPU usage is currently zero -- I can't even see it on top, and the three
NetworkManager threads have zero TIME on ps -Twu root (this was 1h+ for
one of the threads just before I killed NetworkManager).

I'm also running

while true; do
date >> log
ps -Twu root | grep NetworkManager >> log
sleep 30
done

so I can see if there's any one event that makes CPU usage go up, and
see if there's anything related in the logs.

-- 
NetworkManager increases CPU usage the longer it is run
https://bugs.launchpad.net/bugs/172700
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to