I have a system where my /home folder is over 8G which seems way too high. Any thoughts as to why it is so large? The only file in it is the asterisk user file
cd /home du -sh *
And take it from there…
[root@freepbx ~]# cd /home [root@freepbx home]# du -sh * 8.2G asterisk
8.2G is much larger than any other system
du -a /home/asterisk | sort -n -r | head -n 10
8535064 /home/asterisk 8099376 /home/asterisk/.pm2 8099332 /home/asterisk/.pm2/pm2.log 270524 /home/asterisk/.package_cache/npm/5.6.0 270524 /home/asterisk/.package_cache/npm 270524 /home/asterisk/.package_cache 114512 /home/asterisk/.npm 114508 /home/asterisk/.npm/_cacache 101360 /home/asterisk/.npm/_cacache/content-v2 91532 /home/asterisk/.package_cache/npm/5.6.0/d6074356c76df89aff95ef2058f76228.tar.gz
delete or truncate that. You may want to give a look inside to see what is filling it but in general it should rotate
No harm in deleting the pm2.log?
It is just a log. If it is that big something may be going wrong but in general no you can delete it or
echo > /home/asterisk/.pm2/pm2.log
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.