[opensuse-factory] Tumbleweed, long boot times
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, Recently I have been experiencing very long boot times in tumbleweed. It seems something in "userspace" (as per systemd-analyze) is causing the system to boot very slowly. # systemd-analyze Startup finished in 2.119s (kernel) + 664ms (initrd) + 3min 633ms (userspace) = 3min 3.417s # systemd-analyze blame 1.338s apparmor.service 949ms dev-sdc1.device 933ms SuSEfirewall2.service 595ms systemd-udev-settle.service 402ms postfix.service 301ms var-lib-mailman.mount 299ms boot-grub2-x86_64\x2defi.mount 295ms tmp.mount 293ms srv.mount 293ms var-crash.mount 292ms \x2esnapshots.mount 288ms var-spool.mount 287ms var-lib-named.mount 281ms var-log.mount 276ms boot-grub2-i386\x2dpc.mount 269ms opt.mount 232ms var-opt.mount 186ms var-tmp.mount 176ms SuSEfirewall2_init.service 156ms var-lib-pgsql.mount 141ms mnt-storage.mount 134ms libvirtd.service 130ms home.mount 116ms ModemManager.service 112ms display-manager.service 111ms systemd-modules-load.service 108ms user@1000.service 103ms systemd-udevd.service 88ms lvm2-activation.service 83ms systemd-journald.service 83ms systemd-fsck@dev-disk-by\x2duuid-db9f05af\x2d622c\x2d4fc3\x2d9d47\x2dae9f81d04d4c.service 82ms NetworkManager.service 80ms systemd-fsck@dev-disk-by\x2duuid-619c3e9a\x2d6142\x2d46c8\x2db994\x2d2afa1bc447a2.service 76ms usr-local.mount 56ms alsa-restore.service 52ms rc-local.service 50ms avahi-daemon.service 48ms wpa_supplicant.service 46ms polkit.service 45ms nscd.service 44ms cups.service 42ms udisks2.service 40ms systemd-journal-flush.service 29ms ntpd.service 27ms plymouth-start.service 24ms systemd-tmpfiles-setup.service 23ms lvm2-activation-net.service 21ms systemd-udev-trigger.service 19ms systemd-tmpfiles-clean.service 16ms sshd.service 14ms plymouth-read-write.service 13ms dev-mqueue.mount 12ms systemd-tmpfiles-setup-dev.service 12ms kmod-static-nodes.service 12ms sys-kernel-debug.mount 11ms upower.service 10ms lvm2-activation-early.service 10ms systemd-logind.service 9ms bluetooth.service 9ms systemd-remount-fs.service 8ms systemd-update-utmp.service 7ms iscsi.service 6ms rtkit-daemon.service 6ms systemd-update-utmp-runlevel.service 6ms systemd-vconsole-setup.service 5ms sys-fs-fuse-connections.mount 5ms systemd-sysctl.service 5ms auditd.service 4ms dev-hugepages.mount 4ms systemd-udev-root-symlink.service 3ms systemd-random-seed.service 2ms systemd-user-sessions.service I also have the output from systemd-analyze plot here: https://www.copy.com/s/GaMkQ8eRhjXKZW9p/plot.png One thing I noticed is that once I log in, systemd-analyze will tell me that the boot process has not finished and I see high CPU usage from cupsd. Eventually it stops and I can use systemd-analyze. Any help to pinpoint the issue would be much appreciated. - -- Regards, Uzair Shamim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVHsPnAAoJEM66EOTZRH6+4rUP/jJMvzoIkq0lz0CKJfMw2+nr OwqklALlle/kQ1yX0Wxnm6xWF9JLTSzexn9F/FT9f5hqeJevmBDeCvESSBCFST7E dR3HYbceMoapJIisRBAqV/ij3NEaim56Bx/6skSjNHn+k8i2uZHBsZIlu/9kvIio TmMv833tIi6G7cQ+IXhez28eQ+fCiyJvb4TZ0BKs1puDg34luzjZa4Kd5HPSlj4f rKxzy71LK0j7u4MY5PvkDMUYR9as+3AJTMgTGRvwoBKBQf1wU/BcpUyyR1N1WiqM Y5zHEKfPtY9gDUfzE9yrlRLhHRv07oGShqgSjawRWY+kiStQ94jPvkrlMyOcTMgC cNS4J+orYG7TTE3WTWchAZzmhqOBSK2CCCQnAJo+lEW8xLfPlkI/2p9cAFsOifvr FiNnELccLZnQhpAxOYTUXcZiLCPyu1i3d6FXNEPgBcqPU9ymh4oWD5cQIByfytw6 7OGJ/OMGAF3+4Ywy4GCzL1QkdwJb2vFmgjXRxYqgzfiAP1Wa9I3CnaAKvOkGSK5/ 3XvdGYWIWILdvqzJq5utY1jeV4b2pm+KgAE62UEx8KH3xRq5EmaLDHjIq8gxTq6X GaSLQ4fqptDrIyuKNU3Hi+tQ9Ajv36AuuwGh6QD81EIiBDKNndRocGml1SkaGITP AqKVRIC/7wlrBXVNBdbe =1QyJ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 3 Apr 2015 18:46, Uzair Shamim wrote:
Hi,
Recently I have been experiencing very long boot times in tumbleweed. It seems something in "userspace" (as per systemd-analyze) is causing the system to boot very slowly.
# systemd-analyze Startup finished in 2.119s (kernel) + 664ms (initrd) + 3min 633ms (userspace) = 3min 3.417s
# systemd-analyze blame 1.338s apparmor.service 949ms dev-sdc1.device 933ms SuSEfirewall2.service 595ms systemd-udev-settle.service 402ms postfix.service
[snip]
4ms systemd-udev-root-symlink.service 3ms systemd-random-seed.service 2ms systemd-user-sessions.service
I also have the output from systemd-analyze plot here: https://www.copy.com/s/GaMkQ8eRhjXKZW9p/plot.png One thing I noticed is that once I log in, systemd-analyze will tell me that the boot process has not finished and I see high CPU usage from cupsd. Eventually it stops and I can use systemd-analyze.
Any help to pinpoint the issue would be much appreciated.
With regards to Apparmor, thread here on factory list: http://lists.opensuse.org/opensuse-factory/2015-04/msg00001.html Short Info: config error, Missing / Wrong Statement. - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
В Fri, 03 Apr 2015 12:46:36 -0400
Uzair Shamim
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi,
Recently I have been experiencing very long boot times in tumbleweed. It seems something in "userspace" (as per systemd-analyze) is causing the system to boot very slowly.
# systemd-analyze Startup finished in 2.119s (kernel) + 664ms (initrd) + 3min 633ms (userspace) = 3min 3.417s
# systemd-analyze blame
critical chain is usually more useful to see what causing long startup
I also have the output from systemd-analyze plot here: https://www.copy.com/s/GaMkQ8eRhjXKZW9p/plot.png
Please post "systemctl show lvm2-activation.service" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUex4MACgkQR6LMutpd94xm/ACfY7oNortw1avVkrvb6iFyEJNq 2bAAn2zqLn5hQ4DI7s1QAFf5TVC5FL1E =iSQI -----END PGP SIGNATURE----- N�����r��y隊Z)z{.���r�+�맲��r��z�^�ˬz��N�(�֜��^� ޭ隊Z)z{.���r�+��0�����Ǩ�
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 04/03/2015 01:01 PM, Andrei Borzenkov wrote:
В Fri, 03 Apr 2015 12:46:36 -0400 Uzair Shamim
пишет: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi,
Recently I have been experiencing very long boot times in tumbleweed. It seems something in "userspace" (as per systemd-analyze) is causing the system to boot very slowly.
# systemd-analyze Startup finished in 2.119s (kernel) + 664ms (initrd) + 3min 633ms (userspace) = 3min 3.417s
# systemd-analyze blame
critical chain is usually more useful to see what causing long startup
linux-jyg:~ # systemd-analyze critical-chain The time after the unit is active or started is printed after the "@" character. The time the unit takes to start is printed after the "+" character. graphical.target @1min 31.750s └─multi-user.target @1min 31.750s └─SuSEfirewall2.service @1min 30.810s +933ms └─network.target @1min 30.802s └─NetworkManager.service @1min 30.718s +82ms └─SuSEfirewall2_init.service @1min 30.538s +176ms └─basic.target @1min 30.529s └─paths.target @1min 30.529s └─cups.path @1min 30.529s └─sysinit.target @1min 30.524s └─systemd-update-utmp.service @1min 30.514s +8ms └─systemd-tmpfiles-setup.service @1min 30.477s +24ms └─local-fs.target @1min 30.475s └─opt.mount @734ms +269ms └─dev-disk-by\x2duuid-ad514ec3\x2d82fe\x2d45b2\x2d9c40\x2d524945e21ac7.device @596ms
I also have the output from systemd-analyze plot here: https://www.copy.com/s/GaMkQ8eRhjXKZW9p/plot.png
Please post "systemctl show lvm2-activation.service"
Here you go http://paste.opensuse.org/view/raw/15011255 - -- Regards, Uzair Shamim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVHuX6AAoJEM66EOTZRH6+NIAP/Rz29OOe2pH+MA201VWQwBy0 W2m3SRo99cEKfExvVyHSFje/X0N2NW+br/nSzZdDUyrU1XZBAw1sMBIeErxTRgtr qttABlGLMxlRSdD2zvFg62C4z9VuE9bW5xgFfdmKYS62TW6f0WHs0tr9NJrEoc2H 4XHgruc5vU9asNAsnt4YSIwP/LUECnFP/QpC0sbJrheNaVaoGCFzRyGsJXRnWXQQ OqaXR0ie28e0YoyZskJq7TIMv7sN/OV2tc6+JrBygwK9KZxAb0hfSzS2ljPny2Yc zkaTJ3D3Ism6OuR0M0LVUsOQK8EswkZqCv/ifnBgjWDwkRj6/MdZnr6lYnLSnvlq dfxFuX3/lsTTbKnorZyS1mEYI4xBYsepIuRTIYRTEi5jgc6joY5wXLkydlperfui +zNjtF+dAPnbCgoRllOd+beUfp7bVRI/BGjIAkV6QAhbLHy/NNSi9Jsi/ztRImUA RbIUuhcS6v2eIxBLdHqpkCvgp57/c9x8NAYPiV9k51XLLKSDcof0+2ZPif8HBDWi gBMwF6adL7s4fTUbxcECspouDphl5euRVQnP7MrmtVcitY8uB7IVZ/SijPl6F3RZ FlHfrncXFwdG7MiZHUNzqAXecH6U5vxKqgsYxCYiRZdTYoOK8VSIRHBTSESFGBUC X/+FVBh6yhX6jynUg7+r =0jOA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 04/03/2015 12:46 PM, Uzair Shamim wrote:
Hi,
Recently I have been experiencing very long boot times in tumbleweed. It seems something in "userspace" (as per systemd-analyze) is causing the system to boot very slowly.
Okay so I had ecryptfs setup for swap and I ended up deleting my swap partition and recreating it. Then ran ecryptfs-setup-swap again and my boot times are down to ~6 seconds which is acceptable. The question now though is what was causing it to take so long to boot before? - -- Regards, Uzair Shamim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVHuwQAAoJEM66EOTZRH6+ibUQAIVsZqU2ctuVAZTpz1DlH8vt uY5Fyb3dR4sFZgEphQvxCm4UF8RrfTT9mYvcfQSamD2O7vO7SWjJRGI7o5xi+b8D EcOZeHnOLfuajOX2V3+GaJqUgdUYpKZkX4DKvzyEUEz4Gr2gmJ5S/wiZbKej2xjK NGx6sW/5MyB6+KkWaD3YDASD9NC+p+oWiDegz500cYkYdacMBY7ucxrjEBPYUd35 5j4hsrBaey2ZGGxtYFFkqwWhYNZVo696ur2a9A2ANGmNwoWVsMEW0iSEhMLMuNJC TG1JzfsoHZcP3+gW/ZJ8eH9J9MKmZRLzAlZmRHriCZU7vjsy/2FeNxjOJYN2aWOh 3VPCoWFlTWh6Ol8jczV7QOzSQWakPdaLMGqEp/9Cfz8nCFQEN3GauO1IJU2EfPU8 AimlPyHYCnTdbsJ66F1HmW6obLRFu/m85tgM/P39C3SSv1yjHr/RgS71NIec6c1W sSyyymRxbJo/qbZ8jw/YtUTM8Nf/37zTzubk0900okEKaAkJ7Y7DCsJMlKflO8bv ibG39CaYl8xQtVnFtELapZ8rt8iqM5w8+MunVF/VM3YgOaJ+TPj2fco4uIAnWq5R L/RVJWWw0hUkSvxJS+QzYemOqdeCvLx9rA2Fhi6bGfyVaHT42uokLsf4OKn4v9KT 2YT4tC5VyDKAB1ITa84N =yHzK -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Uzair Shamim
-
Yamaban