Question

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

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?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

Hey friend,

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

Jarland