Summary: | sys-apps/systemd-226-r2: systemd-journal-flush.service slows down boot a lot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | journal files |
Description
Pacho Ramos
2016-05-04 13:24:01 UTC
What USE flags do you have enabled on sys-apps/systemd? In particular, are lz4 and/or lzma enabled?
How large is your system journal? ls -l /var/log/journal/*/
What kind of storage is /var/log/journal living on? What fstype?
If using btrfs, can you validate that COW has been disabled on the system.journal file? For example:
> floppym@naomi ~ % lsattr /var/log/journal/*/system.journal
> ---------------C /var/log/journal/4e39f1235b04c6398c7a5eaa0000000b/system.journal
(In reply to Mike Gilbert from comment #1) I missed that you are using ext4. Disregard the questions about btrfs. (In reply to Mike Gilbert from comment #1) > What USE flags do you have enabled on sys-apps/systemd? In particular, are > lz4 and/or lzma enabled? [ebuild R ] sys-apps/systemd-226-r2:0/2::gentoo USE="acl http kdbus kmod lz4 pam policykit seccomp ssl (-apparmor) -audit -cryptsetup -curl -elfutils -gcrypt -gnuefi -idn -importd -lzma -nat -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb" ABI_X86="32 (64) (-x32)" 0 KiB Created attachment 433274 [details]
journal files
I have needed to attach the ls output as it was too large ;)
The partition has this options in fstab: /dev/sda5 / ext4 noatime,defaults 0 1 That results in: /dev/sda5 on / type ext4 (rw,noatime,data=ordered) (from mount output) I don't have any bright ideas on this one. I would suggest creating an issue upstream if one does not exist already. No problem, I will try when updating to 230 as it supposedly should run flush in a different way to prevent issues like this :/ |