Find the largest log files on the server
logs filling up disk | which log file is so big | var log is full | find large log files linux | du | disk-space | logrotatedu -ah /var/log 2>/dev/null | sort -rh | head -20Determines the size of all files and subdirectories in the log directory and shows the 20 largest entries. Directories appear with their total size, so a bloated /var/log/journal or an application log that is never rotated stands out immediately. For the logs of all Plesk domains, use /var/www/vhosts/system as the path.
Note: A log that is not rotated needs an entry under /etc/logrotate.d/. Do not delete a file that is still being written to with rm, empty it with truncate -s 0 instead.
Also searched as
- logs filling up disk
- which log file is so big
- var log is full
- find large log files linux