[Bug 1706990] Re: With samba installed on Kubuntu 17.04, nmbd.service causes a 10 second boot time regression
Nate Graham
1706990 at bugs.launchpad.net
Mon Jul 31 22:09:31 UTC 2017
I really appreciate your willingness to work with me on this issue,
Andreas! On second look, it appears that only sometimes does something
else start a new daemon:
Jul 31 15:40:35 Spectre systemd[1]: Starting Samba NMB Daemon...
Jul 31 15:40:35 Spectre systemd[1]: nmbd.service: Supervising process 20023 which is not our child. We'll most likely not notice when it exits.
Jul 31 15:40:35 Spectre systemd[1]: Started Samba NMB Daemon.
And sometimes it's able to re-use the existing one:
Jul 31 15:40:15 Spectre systemd[1]: Starting Samba NMB Daemon...
Jul 31 15:40:15 Spectre systemd[1]: Started Samba NMB Daemon.
Regardless, I only see the 10-second delay on boot. Maybe it's waiting
for that other process to start the daemon?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1706990
Title:
With samba installed on Kubuntu 17.04, nmbd.service causes a 10 second
boot time regression
Status in samba package in Ubuntu:
Incomplete
Bug description:
I'm running Kubuntu 17.04. After installing Samba rsion 2:4.5.8+dfsg-
0ubuntu0.17.04.4), my boot time has regressed from about 12 seconds to
23 seconds. `systemd-blame` shows that the culprit is the nmbd
service:
$ systemd-analyze blame | head -n 5
10.017s nmbd.service
8.008s apt-daily.service
3.010s iio-sensor-proxy.service
561ms dev-nvme0n1p2.device
554ms NetworkManager-wait-online.service
The nmbd systemd logs show that the 10 seconds is spent looking for a
non-child nmb process:
$ systemctl status nmbd.service | tail -n 3
Jul 26 19:49:24 Spectre systemd[1]: Starting Samba NMB Daemon...
Jul 26 19:49:24 Spectre systemd[1]: nmbd.service: Supervising process 1091 which is not our child. We'll most likely not notice when it exits.
Jul 26 19:49:34 Spectre systemd[1]: Started Samba NMB Daemon.
If I uninstall samba, the problem disappears.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1706990/+subscriptions
More information about the foundations-bugs
mailing list