Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: rohde on January 14, 2019, 01:07:28 PM
-
I would like to delete unnecessary files, logs, cache, etc ... because I have only a simple hosted website and it has been consuming disk space for no reason
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 30G 23G 7.3G 76% /
devtmpfs 3.0G 0 3.0G 0% /dev
tmpfs 3.0G 0 3.0G 0% /dev/shm
tmpfs 3.0G 176K 3.0G 1% /run
tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup
tmpfs 615M 0 615M 0% /run/user/0
(https://i.ibb.co/F0ZNv7M/aaaaaaaaaaaaaaaaaaaaaaaaaaaaa.png)
-
you probably need to check apache/nginx logs in the /usr folder
-
Hi,
in folder / usr / local / apache / logs /
have file modsec_audit.log with 7,84GB
can i delete this?
/ var / log /
have any files mailogXXXXX with 21MB
can i delete this?
/ var / log / sa /
have any files saXXX with 2MB
can i delete this?
you probably need to check apache/nginx logs in the /usr folder
-
only big file is mod_sec so you can delete that others are not important as they are small
-
only big file is mod_sec so you can delete that others are not important as they are small
thanks so much