You are not logged in.
Pages: 1
For a while I've been facing this issue with login but I remember it used to be fine with login basically with a couple of seconds, I've been using same configuration all the time with Cinnamon DE and for now it takes me up to 30 seconds to login. I checked with:
systemd-analyze blame
and these are services highly consuming the time
14.830s systemd-journal-flush.service
12.333s dev-sda1.device
I also masked lvm2-monitor.service it was taking a lot of time but the most aggressive is systemd-journal-flush.service I tried to clean it with
sudo journalctl --vacuum-size=1G --vacuum-time=5d --vacuum-files=5
it dropped from 18 seconds to 12 seconds but still a lot of time. Is it possible to disable or mask those services safely like lvm2 sort of?
Last edited by archifer (2019-12-12 11:40:13)
Offline
Try to flush journals by hand and clean them once again
Offline
What is your storage device (is it hdd or ssd?)?
My boot time is also something about 25-30 seconds, but I have slow hdd rotational disk (5400).
My longest 'systemd-analyze blame' services:
12.853s dev-sda2.device
9.109s systemd-journal-flush.service
Maybe you have abnormally long 'journalctl -b' boot sessions because of some additional log messages from some system/application events?
You may try this command to verify logs (if something is wrong with them):
journalctl --verify
And show output of command:
journalctl --disk-usage
Last edited by xerxes_ (2019-12-04 12:28:24)
Offline
What is your storage device (is it hdd or ssd?)?
My boot time is also something about 25-30 seconds, but I have slow hdd rotational disk (5400).
My longest 'systemd-analyze blame' services:12.853s dev-sda2.device 9.109s systemd-journal-flush.service
Maybe you have abnormally long 'journalctl -b' boot sessions because of some additional log messages from some system/application events?
You may try this command to verify logs (if something is wrong with them):journalctl --verify
And show output of command:
journalctl --disk-usage
it is HDD I have even cleaned the system from all possible trash and leftovers including jornald and it's the same but the thing is I have installed Budgie desktop and it loads twice faster, I assume the issue with the Cinnamon being heavily loaded.
Offline
One more question, will it have any impact on the system when I mask `lvm2-monitor.service` ? I have two HDDs with seperate Home folder this is my filesystem for example
df -h
Filesystem Size Used Avail Use% Mounted on
dev 2.0G 0 2.0G 0% /dev
run 2.0G 1.1M 2.0G 1% /run
/dev/sda1 27G 17G 8.5G 67% /
tmpfs 2.0G 87M 1.9G 5% /dev/shm
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 2.0G 416K 2.0G 1% /tmp
/dev/sdb1 459G 428G 7.7G 99% /mnt/movies
/dev/sdb2 459G 425G 11G 98% /mnt/media
/dev/sda5 119G 97G 21G 83% /home
tmpfs 394M 60K 394M 1% /run/user/1000
Am I ok with masking that service?
Offline
Yes it's safe to mask that if you aren't actively using lvm2.
Offline
Yes it's safe to mask that if you aren't actively using lvm2.
Thanks
Offline
Pages: 1