My server is just sitting idle and ready to go, we’re not yet using it. Last week I was notified that the 20 GB disk was full. I managed to remove 6 GB or so, but there are still plenty of gigabytes of irrelevant log-data left on this device…!
What’s piling up!? I understand, Fail2ban is saving logs…
Are the logs rotating properly? Are the log cron jobs running? We had an issue where the full log rotation job was broken, which caused the full log to never rotate. It stayed that way until the drive maxed out.
This command will output your storage values in human readable format
du -sh *
Run this command in your root directory first. This will show you the size of each directory. Then, you can navigate to the directory of choice. For example, /var/log and run that command again. It will show you the size of all your directories.
This is how you can identify where all of your storage is going and then decide how you may need to modify items.
x x x x x x
The freepbx.log contain loads of information… help me solve these things!
[2021-09-15 08:28:01] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2021-09-15 08:28:02] [freepbx.INFO]: Deprecated way to add Console commands for module voicemail, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2021-09-15 08:29:01] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 71 [] []
[2021-09-15 08:29:01] [freepbx.INFO]: Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 80 [] []
[2021-10-24 18:38:01] [freepbx.INFO]: Deprecated way to add Console commands for module api, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2021-10-24 18:38:01] [freepbx.INFO]: Deprecated way to add Console commands for module backup, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2021-10-24 18:38:01] [freepbx.INFO]: Deprecated way to add Console commands for module voicemail, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []