[GoLUG] systemd-journal-flush.service

Omer Zak w1 at zak.co.il
Fri Feb 28 05:41:44 EST 2025


Due to recent discussions, I experimented with systemd-analyze blame
and systemd-analyze.plot.
I found that the systemd-journal-flush.service takes long time (28
seconds in my system) during boot time, and a lot of stuff waits for it
to finish.

Any suggestions how to reduce this part of boot time?

The only thing I thought of was to run systemd-journal-flush.service as
part of the orderly shutdown process.

By the way, my system runs Linux Debian Bookworm (version 12.9).
also:
$ systemd-analyze --version
systemd 252 (252.33-1~deb12u1)
+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS
+OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD
+LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2
+BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT
default-hierarchy=unified

--- Omer Zak


-- 
One cannot argue with a Bayesian filter.       Peter Lorand Peres
My own blog is at https://tddpirate.zak.co.il/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with
which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html




More information about the GoLUG mailing list