Keywords: Nginx - AWS - Technical issue - Other
bnsupport ID: 11ca8c6e-2373-3ef9-9699-d040fe83a82d
Description:
On dally basis bin.log file is taking 1.1gb space yesterday site crashed because of disk full. Is there any command or method to purge all these files instantly ?
1.1G -rw-r----- 1 mysql mysql 1.1G Aug 24 14:19 binlog.000063
1.1G -rw-r----- 1 mysql mysql 1.1G Aug 25 08:25 binlog.000064
1.1G -rw-r----- 1 mysql mysql 1.1G Aug 26 10:18 binlog.000065
1.1G -rw-r----- 1 mysql mysql 1.1G Aug 27 12:17 binlog.000066
1.1G -rw-r----- 1 mysql mysql 1.1G Aug 28 13:02 binlog.000067
1.1G -rw-r----- 1 mysql mysql 1.1G Aug 29 14:29 binlog.000068
1.1G -rw-r----- 1 mysql mysql 1.1G Aug 30 15:15 binlog.000069
326M -rw-r----- 1 mysql mysql 326M Aug 31 01:00 binlog.000070
308M -rw-r----- 1 mysql mysql 308M Aug 31 06:06 binlog.000071
And I also wonder why is my site taking so much of space while the whole website size is around 800mb when I take backup
THis is the current size structure:
bitnami@ip-172-31-88-52:~$ sudo du -hs /opt/bitnami/* |sort -rh | head -35
8.4G /opt/bitnami/mysql
2.9G /opt/bitnami/apps
143M /opt/bitnami/common
86M /opt/bitnami/bnsupport
80M /opt/bitnami/php
60M /opt/bitnami/nginx
34M /opt/bitnami/letsencrypt
26M /opt/bitnami/bncert
4.2M /opt/bitnami/bnhelper
3.6M /opt/bitnami/varnish
3.4M /opt/bitnami/sqlite
3.3M /opt/bitnami/manager-linux-x64.run
3.0M /opt/bitnami/stats
116K /opt/bitnami/scripts
92K /opt/bitnami/var
52K /opt/bitnami/config
44K /opt/bitnami/letsencrypt
44K /opt/bitnami/ctlscript.sh
12K /opt/bitnami/README.txt
8.0K /opt/bitnami/img
8.0K /opt/bitnami/changelog.txt
4.0K /opt/bitnami/use_wordpresspro
4.0K /opt/bitnami/properties.ini
4.0K /opt/bitnami/bnsupport-regex.ini
0 /opt/bitnami/bnsupport-tool
0 /opt/bitnami/bnhelper-tool
0 /opt/bitnami/bncert-tool
BST code : 11ca8c6e-2373-3ef9-9699-d040fe83a82d