Ubuntu: After 15.10 upgrade NetworkManager using 30% CPU



Question:

Just upgraded a 3rd Gen Lenovo Carbon X1 from 15.04 to 15.10 and I noticed a rise in CPU usage.

/usr/sbin/NetworkManager is using ~35% constantly and /lib/systemd/systemd-journald seems to rise when NetworkManager is started (drops when it is stopped).

Turning of the wireless adapter does nothing. Turning off bluetooth also does nothing. No LAN is connected.

Stopping the service fixes the problem, obviously, but this is not a viable option.


Solution:1

Turns out I had a custom config file

/etc/NetworkManager/dnsmasq.d/local

with one line

cache-size=300

When I removed this file (experimenting), network manager instantly stopped using CPU and returned to normal. The problem seems to be fixed.


Solution:2

I had the similar problem. Another symptom was if I suspended the system, then the DNS failed to work after being awaken from suspend. What helped me was to comment out dnsmasq in /etc/NetworkManager/NetworkManager.conf.

#dns=dnsmasq  


Solution:3

My issue was that NetworkManager.service tried to start dnsmasq on 127.0.1.1:53, but that port was already taken by dnsmasq.service. The solution for me was sudo systemctl disable dnsmasq.service


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »