Re: [systemd-devel] [PATCH] journal, coredump: allow relative values in some configuration options

2015-05-28 Thread Jan Synacek
Lennart Poettering lenn...@poettering.net writes: Hmm, this doesn't look right. here we choose the hash table sizes to use for a file, and I doubt we should base this on the currently available disk space, since sizing the hashtable will have an effect on the entire lifetime of the file,

Re: [systemd-devel] [PATCH] journal, coredump: allow relative values in some configuration options

2015-05-28 Thread Lennart Poettering
On Thu, 28.05.15 11:49, Jan Synacek (jsyna...@redhat.com) wrote: Lennart Poettering lenn...@poettering.net writes: Hmm, this doesn't look right. here we choose the hash table sizes to use for a file, and I doubt we should base this on the currently available disk space, since sizing the

Re: [systemd-devel] [PATCH] journal, coredump: allow relative values in some configuration options

2015-05-26 Thread Lennart Poettering
On Mon, 25.05.15 13:48, jsyna...@redhat.com (jsyna...@redhat.com) wrote: -static off_t arg_process_size_max = PROCESS_SIZE_MAX; -static off_t arg_external_size_max = EXTERNAL_SIZE_MAX; -static size_t arg_journal_size_max = JOURNAL_SIZE_MAX; -static off_t arg_keep_free = (off_t) -1; -static

[systemd-devel] [PATCH] journal, coredump: allow relative values in some configuration options

2015-05-25 Thread jsynacek
From: Jan Synacek jsyna...@redhat.com Journald options SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=, RuntimeMaxUse=, RuntimeKeepFree= and RuntimeMaxFileSize= can now be specified as a percentage of the available space. Ditto for coredump options MaxUse=, KeepFree=, ExternalSizeMax=,