Hi,
I need some guide to resolve this issue urgently, Disk Usage ‘/’ is at 90 percent, i have followed some suggestions i found while reading similar issue, but no luck.
Can someone please guide and assist in this.
Hi,
I need some guide to resolve this issue urgently, Disk Usage ‘/’ is at 90 percent, i have followed some suggestions i found while reading similar issue, but no luck.
Can someone please guide and assist in this.
show me result of
du -s -h /*
Tank you @plhquan ,
Where can i find the log file, i have tried search but no luck.
Kindly assist thanks.
you try
rm -rf /usr/local/lsws/logs/*
or
rm -rf /usr/local/lscp/logs/*
To delete file log, and check again disk
However, My solution is to increase its capacity from 40gb to 60gb
Ok i will consider increasing the capacity, i think.
When i check the “rm -rf /usr/local/lscp/logs/*” it shows empty. I will try again, if no luck i will increase.
Show the output of du -s -h /* logs are not always the reason
@Hassan i was able to run the command, here is the result.
2.2G /home
0 /lib
0 /lib32
0 /lib64
0 /libx32
du: cannot read directory '/lost+found': Permission denied
16K /lost+found
4.0K /media
4.0K /mnt
du: cannot read directory '/opt/alt/php-internal': Permission denied
117M /opt
du: cannot read directory '/proc/tty/driver': Permission denied
du: cannot read directory '/proc/1/task/1/fd': Permission denied
du: cannot read directory '/proc/1/task/1/fdinfo': Permission denied
du: cannot read directory '/proc/1/task/1/ns': Permission denied
du: cannot read directory '/proc/1/fd': Permission denied
du: cannot read directory '/proc/1/map_files': Permission denied
du: cannot read directory '/proc/1/fdinfo': Permission denied
du: cannot read directory '/proc/1/ns': Permission denied
du: cannot read directory '/proc/2/task/2/fd': Permission denied
du: cannot read directory '/proc/2/task/2/fdinfo': Permission denied
du: cannot read directory '/proc/2/task/2/ns': Permission denied
du: cannot read directory '/proc/2/fd': Permission denied
du: cannot read directory '/proc/2/map_files': Permission denied
du: cannot read directory '/proc/2/fdinfo': Permission denied
du: cannot read directory '/proc/2/ns': Permission denied
du: cannot read directory '/proc/3/task/3/fd': Permission denied
du: cannot read directory '/proc/3/task/3/fdinfo': Permission denied
du: cannot read directory '/proc/3/task/3/ns': Permission denied
du: cannot read directory '/proc/3/fd': Permission denied
du: cannot read directory '/proc/3/map_files': Permission denied
du: cannot read directory '/proc/3/fdinfo': Permission denied
du: cannot read directory '/proc/3/ns': Permission denied
du: cannot read directory '/proc/4/task/4/fd': Permission denied
du: cannot read directory '/proc/4/task/4/fdinfo': Permission denied
du: cannot read directory '/proc/4/task/4/ns': Permission denied
du: cannot read directory '/proc/4/fd': Permission denied
du: cannot read directory '/proc/4/map_files': Permission denied
du: cannot read directory '/proc/4/fdinfo': Permission denied
du: cannot read directory '/proc/4/ns': Permission denied
du: cannot read directory '/proc/6/task/6/fd': Permission denied
du: cannot read directory '/proc/6/task/6/fdinfo': Permission denied
du: cannot read directory '/proc/6/task/6/ns': Permission denied
du: cannot read directory '/proc/6/fd': Permission denied
du: cannot read directory '/proc/6/map_files': Permission denied
du: cannot read directory '/proc/6/fdinfo': Permission denied
du: cannot read directory '/proc/6/ns': Permission denied
du: cannot read directory '/proc/9/task/9/fd': Permission denied
du: cannot read directory '/proc/9/task/9/fdinfo': Permission denied
du: cannot read directory '/proc/9/task/9/ns': Permission denied
du: cannot read directory '/proc/9/fd': Permission denied
du: cannot read directory '/proc/9/map_files': Permission denied
du: cannot read directory '/proc/9/fdinfo': Permission denied
du: cannot read directory '/proc/9/ns': Permission denied
du: cannot read directory '/proc/10/task/10/fd': Permission denied
du: cannot read directory '/proc/10/task/10/fdinfo': Permission denied
du: cannot read directory '/proc/10/task/10/ns': Permission denied
du: cannot read directory '/proc/10/fd': Permission denied
du: cannot read directory '/proc/10/map_files': Permission denied
du: cannot read directory '/proc/10/fdinfo': Permission denied
du: cannot read directory '/proc/10/ns': Permission denied
du: cannot read directory '/proc/11/task/11/fd': Permission denied
du: cannot read directory '/proc/11/task/11/fdinfo': Permission denied
du: cannot read directory '/proc/11/task/11/ns': Permission denied
du: cannot read directory '/proc/11/fd': Permission denied
du: cannot read directory '/proc/11/map_files': Permission denied
du: cannot read directory '/proc/11/fdinfo': Permission denied
du: cannot read directory '/proc/11/ns': Permission denied
du: cannot read directory '/proc/12/task/12/fd': Permission denied
du: cannot read directory '/proc/12/task/12/fdinfo': Permission denied
du: cannot read directory '/proc/12/task/12/ns': Permission denied
du: cannot read directory '/proc/12/fd': Permission denied
du: cannot read directory '/proc/12/map_files': Permission denied
du: cannot read directory '/proc/12/fdinfo': Permission denied
du: cannot read directory '/proc/12/ns': Permission denied
du: cannot read directory '/proc/13/task/13/fd': Permission denied
du: cannot read directory '/proc/13/task/13/fdinfo': Permission denied
du: cannot read directory '/proc/13/task/13/ns': Permission denied
du: cannot read directory '/proc/13/fd': Permission denied
du: cannot read directory '/proc/13/map_files': Permission denied
du: cannot read directory '/proc/13/fdinfo': Permission denied
du: cannot read directory '/proc/13/ns': Permission denied
du: cannot read directory '/proc/14/task/14/fd': Permission denied
du: cannot read directory '/proc/14/task/14/fdinfo': Permission denied
du: cannot read directory '/proc/14/task/14/ns': Permission denied
du: cannot read directory '/proc/14/fd': Permission denied
du: cannot read directory '/proc/14/map_files': Permission denied
du: cannot read directory '/proc/14/fdinfo': Permission denied
du: cannot read directory '/proc/14/ns': Permission denied
du: cannot read directory '/proc/15/task/15/fd': Permission denied
du: cannot read directory '/proc/15/task/15/fdinfo': Permission denied
du: cannot read directory '/proc/15/task/15/ns': Permission denied
du: cannot read directory '/proc/15/fd': Permission denied
du: cannot read directory '/proc/15/map_files': Permission denied
du: cannot read directory '/proc/15/fdinfo': Permission denied
du: cannot read directory '/proc/15/ns': Permission denied
du: cannot read directory '/proc/16/task/16/fd': Permission denied
du: cannot read directory '/proc/16/task/16/fdinfo': Permission denied
Permission denied
240K /tmp
du: cannot read directory '/usr/bin/.rapid-scan-db': Permission denied
du: cannot read directory '/usr/local/csf': Permission denied
du: cannot read directory '/usr/local/.rapid-scan-db': Permission denied
du: cannot read directory '/usr/local/lsws/logs': Permission denied
du: cannot read directory '/usr/local/lsws/cachedata/priv': Permission denied
du: cannot read directory '/usr/local/lsws/conf': Permission denied
du: cannot read directory '/usr/local/lsws/admin/logs': Permission denied
du: cannot read directory '/usr/local/lsws/lsphp72/var/lib/php/sessions': Permis sion denied
du: cannot read directory '/usr/local/lsws/lsphp73/var/lib/php/sessions': Permis sion denied
du: cannot read directory '/usr/local/lsws/tmp/ocspcache': Permission denied
du: cannot read directory '/usr/local/CyberCP/public/phpmyadmin/tmp/twig': Permi ssion denied
4.9G /usr
du: cannot read directory '/var/imunify360/aibolit': Permission denied
du: cannot read directory '/var/imunify360/files/realtime-av-conf': Permission d enied
du: cannot read directory '/var/imunify360/files/eula': Permission denied
du: cannot read directory '/var/imunify360/uploads': Permission denied
du: cannot read directory '/var/imunify360/tmp': Permission denied
du: cannot read directory '/var/cache/apt/archives/partial': Permission denied
du: cannot read directory '/var/cache/ldconfig': Permission denied
du: cannot read directory '/var/cache/apparmor/26b63962.0': Permission denied
du: cannot read directory '/var/cache/private': Permission denied
du: cannot read directory '/var/spool/cron': Permission denied
du: cannot read directory '/var/spool/postfix/incoming': Permission denied
du: cannot read directory '/var/spool/postfix/flush': Permission denied
du: cannot read directory '/var/spool/postfix/maildrop': Permission denied
du: cannot read directory '/var/spool/postfix/saved': Permission denied
du: cannot read directory '/var/spool/postfix/active': Permission denied
du: cannot read directory '/var/spool/postfix/bounce': Permission denied
du: cannot read directory '/var/spool/postfix/trace': Permission denied
du: cannot read directory '/var/spool/postfix/deferred': Permission denied
du: cannot read directory '/var/spool/postfix/public': Permission denied
du: cannot read directory '/var/spool/postfix/corrupt': Permission denied
du: cannot read directory '/var/spool/postfix/defer': Permission denied
du: cannot read directory '/var/spool/postfix/private': Permission denied
du: cannot read directory '/var/spool/postfix/hold': Permission denied
du: cannot read directory '/var/spool/rsyslog': Permission denied
du: cannot read directory '/var/log/imunify360': Permission denied
du: cannot read directory '/var/log/mysql': Permission denied
du: cannot read directory '/var/log/redis': Permission denied
du: cannot read directory '/var/log/private': Permission denied
du: cannot read directory '/var/lib/apt/lists/partial': Permission denied
du: cannot read directory '/var/lib/mysql/mysql': Permission denied
du: cannot read directory '/var/lib/mysql/cyberpanel': Permission denied
du: cannot read directory '/var/lib/mysql/LR8oKUvevPiWz8': Permission denied
du: cannot read directory '/var/lib/mysql/performance_schema': Permission denied
du: cannot read directory '/var/lib/AccountsService/users': Permission denied
du: cannot read directory '/var/lib/csf': Permission denied
du: cannot read directory '/var/lib/php/sessions': Permission denied
du: cannot read directory '/var/lib/imunify360-php-daemon': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp74': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp80': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp72': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp73': Permission denied
du: cannot read directory '/var/lib/redis': Permission denied
du: cannot read directory '/var/lib/lsphp74/sessions': Permission denied
du: cannot read directory '/var/lib/lsphp80/sessions': Permission denied
du: cannot read directory '/var/lib/polkit-1': Permission denied
du: cannot read directory '/var/lib/elasticsearch': Permission denied
du: cannot read directory '/var/lib/private': Permission denied
du: cannot read directory '/var/lib/configserver': Permission denied
73G /var
4.0K /webadmin.csr
du -s -h /var/*
output
here is what i have after running the command
2.2M /var/backups
du: cannot read directory '/var/cache/apt/archives/partial': Permission denied
du: cannot read directory '/var/cache/ldconfig': Permission denied
du: cannot read directory '/var/cache/apparmor/26b63962.0': Permission denied
du: cannot read directory '/var/cache/private': Permission denied
900M /var/cache
du: cannot read directory '/var/imunify360/aibolit': Permission denied
du: cannot read directory '/var/imunify360/files/realtime-av-conf': Permission denied
du: cannot read directory '/var/imunify360/files/eula': Permission denied
du: cannot read directory '/var/imunify360/uploads': Permission denied
du: cannot read directory '/var/imunify360/tmp': Permission denied
62M /var/imunify360
du: cannot read directory '/var/lib/apt/lists/partial': Permission denied
du: cannot read directory '/var/lib/mysql/mysql': Permission denied
du: cannot read directory '/var/lib/mysql/cyberpanel': Permission denied
du: cannot read directory '/var/lib/mysql/LR8oKUvevPiWz8': Permission denied
du: cannot read directory '/var/lib/mysql/performance_schema': Permission denied
du: cannot read directory '/var/lib/AccountsService/users': Permission denied
du: cannot read directory '/var/lib/csf': Permission denied
du: cannot read directory '/var/lib/php/sessions': Permission denied
du: cannot read directory '/var/lib/imunify360-php-daemon': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp74': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp80': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp72': Permission denied
du: cannot read directory '/var/lib/lsphp/session/lsphp73': Permission denied
du: cannot read directory '/var/lib/redis': Permission denied
du: cannot read directory '/var/lib/lsphp74/sessions': Permission denied
du: cannot read directory '/var/lib/lsphp80/sessions': Permission denied
du: cannot read directory '/var/lib/polkit-1': Permission denied
du: cannot read directory '/var/lib/elasticsearch': Permission denied
du: cannot read directory '/var/lib/private': Permission denied
du: cannot read directory '/var/lib/configserver': Permission denied
68G /var/lib
4.0K /var/local
0 /var/lock
du: cannot read directory '/var/log/imunify360': Permission denied
du: cannot read directory '/var/log/mysql': Permission denied
du: cannot read directory '/var/log/redis': Permission denied
du: cannot read directory '/var/log/private': Permission denied
4.1G /var/log
4.0K /var/mail
4.0K /var/opt
0 /var/run
du: cannot read directory '/var/spool/cron': Permission denied
du: cannot read directory '/var/spool/postfix/incoming': Permission denied
du: cannot read directory '/var/spool/postfix/flush': Permission denied
du: cannot read directory '/var/spool/postfix/maildrop': Permission denied
du: cannot read directory '/var/spool/postfix/saved': Permission denied
du: cannot read directory '/var/spool/postfix/active': Permission denied
du: cannot read directory '/var/spool/postfix/bounce': Permission denied
du: cannot read directory '/var/spool/postfix/trace': Permission denied
du: cannot read directory '/var/spool/postfix/deferred': Permission denied
du: cannot read directory '/var/spool/postfix/public': Permission denied
du: cannot read directory '/var/spool/postfix/corrupt': Permission denied
du: cannot read directory '/var/spool/postfix/defer': Permission denied
du: cannot read directory '/var/spool/postfix/private': Permission denied
du: cannot read directory '/var/spool/postfix/hold': Permission denied
du: cannot read directory '/var/spool/rsyslog': Permission denied
1.4M /var/spool
du: cannot read directory '/var/tmp/lscpd/swap': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-nghttpx.service-1qLXqg': Permission denied
du: cannot read directory '/var/tmp/lshttpd/swap': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-systemd-timesyncd.service-aQwaSf': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-redis-server.service-yx8KVh': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-dovecot.service-b2jFHh': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-systemd-timesyncd.service-L88dgj': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-systemd-logind.service-gYlogj': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-nghttpx.service-UWT1uf': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-systemd-logind.service-cyb1Ni': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-redis-server.service-Ze30Li': Permission denied
du: cannot read directory '/var/tmp/systemd-private-3bb1a1a6b51046638d33324d38f97f3a-dovecot.service-cFwpRg': Permission denied
240K /var/tmp
I had to increase disk space, and it solved the issue.
68G /var/lib
Also check what is inside this is taking space. may be MySQL log disable these logs also
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.