By rubenmaqueda
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?
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.