Qubes logs (qmemman) do not get pruned... grow forever

37 views
Skip to first unread message

Chris Laprise

unread,
Jul 20, 2018, 6:09:11 AM7/20/18
to qubes-users
Is there a recommended way to prune Qubes-specific log files? My
qmemman.log is huge >300MB!

My inclination is to delete it on startup...

--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

Chris Laprise

unread,
Jul 20, 2018, 8:23:35 AM7/20/18
to qubes-users
On 07/20/2018 06:09 AM, Chris Laprise wrote:
> Is there a recommended way to prune Qubes-specific log files? My
> qmemman.log is huge >300MB!
>
> My inclination is to delete it on startup...
>

More excesses in dom0:

/var/lvm/archive holds metadata backups for 30 days, was >400MB. Changed
backup{ retain_days } to a much lower value.

/var/log/xen/console holds onto logs for many months, possibly forever.
Files are not large but its very untidy.

Same goes for /var/log/libvirt/libxl

Same goes for /var/log/qubes

David Hobach

unread,
Jul 21, 2018, 6:00:00 AM7/21/18
to Chris Laprise, qubes-users
On 07/20/2018 02:23 PM, Chris Laprise wrote:
> On 07/20/2018 06:09 AM, Chris Laprise wrote:
>> Is there a recommended way to prune Qubes-specific log files? My
>> qmemman.log is huge >300MB!
>>
>> My inclination is to delete it on startup...
>>
>
> More excesses in dom0:
>
> /var/lvm/archive holds metadata backups for 30 days, was >400MB. Changed
> backup{ retain_days } to a much lower value.
>
> /var/log/xen/console holds onto logs for many months, possibly forever.
> Files are not large but its very untidy.
>
> Same goes for /var/log/libvirt/libxl
>
> Same goes for /var/log/qubes

Just noticed that my /var/log is 5G.

Honestly I had thought that this was fixed long ago as I recall there
were 1-2 bugs reported even back with 3.x.

Looks like we'll have to create new ones and/or re-activate the old ones.

Some related ones I found:
https://github.com/QubesOS/qubes-issues/issues/3603
https://github.com/QubesOS/qubes-issues/issues/3360
https://github.com/QubesOS/qubes-issues/issues/1558

Chris Laprise

unread,
Jul 21, 2018, 6:15:03 AM7/21/18
to David Hobach, qubes-users
Thanks. Add one more path to that:
/var/lib/qubes/backup
Reply all
Reply to author
Forward
0 new messages