Question

Since i updated to ubuntu 18.04, it has not stopped filling the disk space.

Posted January 2, 2019 1.8k views
ApacheUbuntu 18.04

A few days ago I’ve updated Ubuntu to 18.04, since then it has not stopped filling the disk space.

If i write the command “df -h” it says that the use is 100% (20Gb), but if i see size of all the folders then i have 10Gb (50% max.). Then, where is the file size increasing?

If I delete files to increase the size, when a time passes, it will fill up again (100%).
Could it be problem with the Apache configuration?

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hey friend,

I found something that may be able to help you with this:
https://ma.ttias.be/clear-systemd-journal/

Jarland

The answer above just clears the log until it will fill up again. This permanently fixes it by limiting the log file folder maximum size:

Edit /etc/systemd/journald.conf

Activate the SystemMaxUse= option there, e.g. as SystemMaxUse=500M

Done…

You can read more about journald.conf here:
https://www.freedesktop.org/software/systemd/man/journald.conf.html