Bug 90607 - systemd-219: systemd-journal-flush.service takes the longest time to run at boot
Summary: systemd-219: systemd-journal-flush.service takes the longest time to run at boot
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-23 18:47 UTC by Pacho Ramos
Modified: 2019-03-19 12:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pacho Ramos 2015-05-23 18:47:51 UTC
For some weeks each time I reboot I see  systemd-journal-flush.service taking a long time to start, and "systemd-analize blame" confirms that:
         22.899s systemd-journal-flush.service

But, even taking so long, it starts properly at the end:
# systemctl status systemd-journal-flush.service
● systemd-journal-flush.service - Flush Journal to Persistent Storage
   Loaded: loaded (/usr/lib64/systemd/system/systemd-journal-flush.service; static; vendor preset: enabled)
   Active: active (exited) since sáb 2015-05-23 20:36:48 CEST; 10min ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
  Process: 146 ExecStart=/usr/bin/journalctl --flush (code=exited, status=0/SUCCESS)
 Main PID: 146 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/systemd-journal-flush.service

may 23 20:36:25 belkin5 systemd[1]: Starting Flush Journal to Persistent Storage...

How could I know what is occurring to make it so slow?

My config is:
# cat /etc/systemd/journald.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See journald.conf(5) for details.

[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitInterval=30s
#RateLimitBurst=1000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=no
#ForwardToKMsg=no
ForwardToConsole=yes
#ForwardToWall=yes
TTYPath=/dev/tty12
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg

Thanks
Comment 1 Lennart Poettering 2019-03-19 12:58:58 UTC
Let' close this one. Current runtime behaviour I am sure is very different from back in 2015. if this is still a an issue, please file a new bug on github systemd.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.