claloano
(Claudio Pelosi)
October 24, 2015, 6:53am
1
I woke up with a nasty surprise …
My disk is filling up at a rate of one to 5 gigabytes per month
Since you use the cloud disk resource must be kept contained …
Currently I have 30 gigabytes and it occuppo 75%
Yet when I installed the hard FreePBX used only 4 gigabytes!
Then I switched to FreePBX 13
Still I do not understand why so much space
Are updates?
Are the logs?
Quancuno has experience on this?
claloano
(Claudio Pelosi)
October 24, 2015, 7:39am
2
I found the problem
Log too detailed
Just five minutes I do a post clear and coninciso to notice the problem and fix it
claloano
(Claudio Pelosi)
October 24, 2015, 8:54am
3
someone can tell me if the files in dir / root / installer-tmp / tmp / are all erasable
especially install.img
claloano
(Claudio Pelosi)
October 27, 2015, 1:20pm
4
with this command you draw the 5 largest files …
find -type f -ls | sort -r -n -k 7 | head -5
It is a good start
however, the cause is the log and as soon as I made a aprocedura crontab will publish
dicko
(dicko)
October 27, 2015, 1:46pm
5
Best way to manage logs is to use the log rotate facutillity.
Make sure the file is is being rotated
Make sure you don’t have too many saved
Use compression if appropriate.
.
.
claloano
(Claudio Pelosi)
October 27, 2015, 1:48pm
6
use rotations seem optimal
mainly logs are apache and fail2ban
Where can I find documentation?
dicko
(dicko)
October 27, 2015, 1:49pm
7
man logrotate
(Fill characters)