Long startup time - updatedb.service + man-db.service

Hello, I have 5.9.3-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux installed. I noticed very long startup times and used the command to find started unit files along with their times-

$ systemd-analyze blame
5min 51.331s updatedb.service
1min 5.073s man-db.service

How can I avoid such services and reduce this wait?

Thanks!

1 Like

Hello,

Both are IOSchedulingClass

https://www.freedesktop.org/software/systemd/man/systemd.exec.html

The man-db.service is tided to man-db.timer that runs daily at 12 hours interval. If it happens that you boot/reboot when the timer is set to run, then it will take a bit longer. Change it so it doesn’t overlap your time frame when you first boot.
A cause to take longer on your case could be a slow HDD.
Care to share more information as described here?