From: "Goffredo Baroncelli <kreijack@libero.it>" <kreijack@libero.it>
To: <russell@coker.com.au>
Cc: systemd Mailing List <systemd-devel@lists.freedesktop.org>,
linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: R: Re: Slow startup of systemd-journal on BTRFS
Date: Thu, 12 Jun 2014 13:07:51 +0200 (CEST) [thread overview]
Message-ID: <1462654576.2724341402571271931.JavaMail.defaultUser@defaultHost> (raw)
>----Messaggio originale----
>Da: russell@coker.com.au
>Data: 12/06/2014 3.18
>A: <kreijack@inwind.it>
>Cc: "systemd Mailing List"<systemd-devel@lists.freedesktop.org>, "linux-btrfs"
<linux-btrfs@vger.kernel.org>
>Ogg: Re: Slow startup of systemd-journal on BTRFS
>
>On Wed, 11 Jun 2014 23:28:54 Goffredo Baroncelli wrote:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1006386
>>
>> suggested me that the problem could be due to a bad interaction between
>> systemd and btrfs. NetworkManager was innocent. It seems that
>> systemd-journal create a very hight fragmented files when it stores its
>> log. And BTRFS it is know to behave slowly when a file is highly
>> fragmented. This had caused a slow startup of systemd-journal, which in
>> turn had blocked the services which depend by the loggin system.
>
>On my BTRFS/systemd systems I edit /etc/systemd/journald.conf and put
>"SystemMaxUse=50M". That doesn't solve the fragmentation problem but
reduces
>it enough that it doesn't bother me.
IIRC my log files are about 80/100MB. So I am not sure if this could help.
I want to investigate also the option
MaxFileSec=1d
which rotates the log file once a day (or a week)
>
>--
>My Main Blog http://etbe.coker.com.au/
>My Documents Blog http://doc.coker.com.au/
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next reply other threads:[~2014-06-12 11:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-12 11:07 Goffredo Baroncelli <kreijack@libero.it> [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-06-12 11:13 R: Re: Slow startup of systemd-journal on BTRFS Goffredo Baroncelli <kreijack@libero.it>
2014-06-12 12:37 ` Duncan
2014-06-12 23:24 ` Dave Chinner
2014-06-13 22:19 ` Goffredo Baroncelli
2014-06-12 11:05 Goffredo Baroncelli <kreijack@libero.it>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462654576.2724341402571271931.JavaMail.defaultUser@defaultHost \
--to=kreijack@libero.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=russell@coker.com.au \
--cc=systemd-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).