English
Ask Your Question
0

Fedora 21 slow to boot

asked 2014-12-29 23:03:50 +0000

updated 2014-12-30 03:56:41 +0000

skytux gravatar image

Hi,

I've noticed that since upgrading to Fedora 21 that it take longer to boot. The main culprits would appear to be (according to systemd-analyze blame):

19.133s systemd-fsck@dev-mapper-fedora\x2dhome.service
9.325s mandb.service
7.845s dnf-makecache.service

This seems slightly unnecessary, does dnf and mandb really need to run on everyboot? Surely cron is a more logical place to run this type of activity?

fsck I can sorta understand, though, still, on every boot again seems a little over the top.

Any ideas on how to speed things up on boot would be great.

Thanks, Jon

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-01 22:58:16 +0000

Would appear that mandb service is the main culprit here. No errors, works find, so I've disabled the service and added a cron to perform this functions (which makes more sense to me than doing this on boot).

edit flag offensive delete link more
0

answered 2014-12-29 23:14:58 +0000

booting shouldn't wait for dnf-makecache or mandb, only the fsck. If that happens every time, it might be for a reason :P

edit flag offensive delete link more

Comments

I know that systemd tries to do as much as possible in parallel. It's possible that those two services are simply waiting for fsck to complete. Try using systemd-analyze critical-chain and see if either of those services depends on the fsck.

sideburns ( 2015-01-01 23:31:11 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2014-12-29 23:03:50 +0000

Seen: 1,501 times

Last updated: Jan 01 '15