I can't Download bitnami Diagnostic Tools because I ran out of Space

Keywords: WordPress + NGINX + SSL - AWS - How to - Other

Description:
Hello, I can’t as my title says, so I’m forced to write in “Other problems”
My disk is 10gb, I can’t start the Nginx server due to lack of space

bitnami@ip-172-31-41-15:~$ sudo du -hs /opt/bitnami///* | sort -rh | head -35
912M /opt/bitnami/apps/wordpress/htdocs
130M /opt/bitnami/mysql/lib/mecab
53M /opt/bitnami/mysql/bin/mysqld.bin
45M /opt/bitnami/apps/phpmyadmin/htdocs
27M /opt/bitnami/common/lib/libicudata.so.65.1
16M /opt/bitnami/php/bin/php-cgi.bin
16M /opt/bitnami/php/bin/php.bin
15M /opt/bitnami/mysql/lib/plugin
12M /opt/bitnami/php/lib/php
11M /opt/bitnami/common/share/terminfo
8.2M /opt/bitnami/apps/wordpress/bnconfig
7.2M /opt/bitnami/mysql/lib/libmysqlrouter.so.1
7.2M /opt/bitnami/common/share/ghostscript
6.7M /opt/bitnami/mysql/bin/mysqlpump.bin
6.6M /opt/bitnami/mysql/lib/libmysqlclient.so.21.1.17
6.6M /opt/bitnami/mysql/bin/mysqlbinlog.bin
6.6M /opt/bitnami/mysql/bin/mysql.bin
6.5M /opt/bitnami/mysql/bin/myisamchk.bin
6.4M /opt/bitnami/mysql/bin/mysql_upgrade.bin
6.4M /opt/bitnami/mysql/bin/mysqlslap.bin
6.4M /opt/bitnami/mysql/bin/mysqldump.bin
6.4M /opt/bitnami/mysql/bin/mysqlcheck.bin
6.4M /opt/bitnami/mysql/bin/mysqladmin.bin
6.3M /opt/bitnami/mysql/bin/mysqlshow.bin
6.3M /opt/bitnami/mysql/bin/mysql_secure_installation.bin
6.3M /opt/bitnami/mysql/bin/mysqlimport.bin
6.3M /opt/bitnami/mysql/bin/myisampack.bin
6.3M /opt/bitnami/mysql/bin/myisamlog
6.3M /opt/bitnami/mysql/bin/myisam_ftdump
6.3M /opt/bitnami/common/lib/libMagick+±6.Q16.a
5.6M /opt/bitnami/php/include/php
5.4M /opt/bitnami/apps/wordpress/bin
4.8M /opt/bitnami/common/include/unicode
4.5M /opt/bitnami/common/lib/libv8.so
4.5M /opt/bitnami/common/lib/ImageMagick-6.9.8

bitnami@ip-172-31-41-15:~$ sudo du -ch --max-depth=1 /opt/bitnami
32M /opt/bitnami/letsencrypt
45M /opt/bitnami/nginx
3.4M /opt/bitnami/sqlite
29M /opt/bitnami/bnsupport
3.6M /opt/bitnami/varnish
3.0M /opt/bitnami/stats
92K /opt/bitnami/var
116K /opt/bitnami/scripts
142M /opt/bitnami/common
1.5M /opt/bitnami/licenses
52K /opt/bitnami/config
26M /opt/bitnami/bncert
81M /opt/bitnami/php
970M /opt/bitnami/apps
2.7G /opt/bitnami/mysql
8.0K /opt/bitnami/img
4.0G /opt/bitnami
4.0G total

bitnami@ip-172-31-41-15:~$ sudo du -ch --max-depth=1 / 2>/dev/null
14M /sbin
4.0K /media
3.7G /usr
76M /boot
52K /root
0 /sys
4.0K /lib64
56K /home
1.2G /var
0 /proc
4.0K /srv
635M /mnt
16M /bin
0 /dev
1.3G /snap
12M /run
16K /lost+found
9.8M /tmp
200M /lib
5.7M /etc
4.0G /opt
11G /
11G total

So I can see my MySQL taking 2.X Gb of Space, I don’t have idea how to free some space here because I can’t enter into word-press.

Is just a single page, not gathering any data, so It should consume all of the 10gb assigned, site is being going since 2019 without problems.

Sorry to Write here without the bitnami Diag tool code, but I can’t get this either.

sudo ls -lh /opt/bitnami/mysql/data
total 2.2G
-rw-r----- 1 mysql root 56 Oct 15 2019 auto.cnf
-rw-r----- 1 mysql mysql 1.1G Feb 9 23:25 binlog.000033
-rw-r----- 1 mysql mysql 1012M Apr 7 08:45 binlog.000034
-rw-r----- 1 mysql mysql 32 Feb 9 23:25 binlog.index
drwxr-x— 2 mysql mysql 4.0K Mar 29 09:45 bitnami_wordpress
-rw------- 1 mysql root 1.7K Oct 15 2019 ca-key.pem
-rw-r–r-- 1 mysql root 1.1K Oct 15 2019 ca.pem
-rw-r–r-- 1 mysql root 1.1K Oct 15 2019 client-cert.pem
-rw------- 1 mysql root 1.7K Oct 15 2019 client-key.pem
-rw-r----- 1 mysql mysql 928 Apr 7 08:45 ib_buffer_pool
-rw-r----- 1 mysql root 12M Apr 7 08:45 ibdata1
-rw-r----- 1 mysql root 48M Apr 7 10:47 ib_logfile0
-rw-r----- 1 mysql root 48M Apr 7 08:45 ib_logfile1
drwxr-x— 2 mysql root 4.0K Apr 7 08:45 #innodb_temp
-rw-r----- 1 mysql mysql 945 Oct 20 2019 ip-172-31-41-15.err
drwxr-x— 2 mysql root 4.0K Oct 15 2019 mysql
-rw-r----- 1 mysql mysql 4.0K Apr 7 10:47 mysqld.log
-rw-r----- 1 mysql mysql 1.2K Oct 21 2019 mysqld.log-20191027.gz
-rw-r----- 1 mysql mysql 20 Oct 27 2019 mysqld.log-20191104.gz
-rw-r----- 1 mysql mysql 20 Nov 4 2019 mysqld.log-20191110.gz
-rw-r----- 1 mysql mysql 524 Nov 11 2019 mysqld.log-20191118.gz
-rw-r----- 1 mysql mysql 20 Nov 18 2019 mysqld.log-20191124.gz
-rw-r----- 1 mysql mysql 20 Nov 24 2019 mysqld.log-20191202.gz
-rw-r----- 1 mysql mysql 20 Dec 2 2019 mysqld.log-20191208.gz
-rw-r----- 1 mysql mysql 20 Dec 8 2019 mysqld.log-20191216.gz
-rw-r----- 1 mysql mysql 20 Dec 16 2019 mysqld.log-20191222.gz
-rw-r----- 1 mysql mysql 20 Dec 22 2019 mysqld.log-20191230.gz
-rw-r----- 1 mysql mysql 20 Dec 30 2019 mysqld.log-20200105.gz
-rw-r----- 1 mysql mysql 20 Jan 5 2020 mysqld.log-20200113.gz
-rw-r----- 1 mysql mysql 20 Jan 13 2020 mysqld.log-20200119.gz
-rw-r----- 1 mysql mysql 453 Jan 19 2020 mysqld.log-20200127.gz
-rw-r----- 1 mysql mysql 181 Jan 29 2020 mysqld.log-20200202.gz
-rw-r----- 1 mysql mysql 20 Feb 2 2020 mysqld.log-20200210.gz
-rw-r----- 1 mysql mysql 20 Feb 10 2020 mysqld.log-20200216.gz
-rw-r----- 1 mysql mysql 20 Feb 16 2020 mysqld.log-20200223.gz
-rw-r----- 1 mysql mysql 20 Feb 23 2020 mysqld.log-20200302.gz
-rw-r----- 1 mysql mysql 20 Mar 2 2020 mysqld.log-20200308.gz
-rw-r----- 1 mysql mysql 20 Mar 8 2020 mysqld.log-20200316.gz
-rw-r----- 1 mysql mysql 20 Mar 16 2020 mysqld.log-20200322.gz
-rw-r----- 1 mysql mysql 20 Mar 22 2020 mysqld.log-20200330.gz
-rw-r----- 1 mysql mysql 20 Mar 30 2020 mysqld.log-20200405.gz
-rw-r----- 1 mysql mysql 20 Apr 5 2020 mysqld.log-20200413.gz
-rw-r----- 1 mysql mysql 20 Apr 13 2020 mysqld.log-20200419.gz
-rw-r----- 1 mysql mysql 20 Apr 19 2020 mysqld.log-20200427.gz
-rw-r----- 1 mysql mysql 458 Apr 27 2020 mysqld.log-20200503.gz
-rw-r----- 1 mysql mysql 20 May 3 2020 mysqld.log-20200511.gz
-rw-r----- 1 mysql mysql 20 May 11 2020 mysqld.log-20200517.gz
-rw-r----- 1 mysql mysql 20 May 17 2020 mysqld.log-20200525.gz
-rw-r----- 1 mysql mysql 20 May 25 2020 mysqld.log-20200531.gz
-rw-r----- 1 mysql mysql 20 May 31 2020 mysqld.log-20200608.gz
-rw-r----- 1 mysql mysql 20 Jun 8 2020 mysqld.log-20200614.gz
-rw-r----- 1 mysql mysql 20 Jun 14 2020 mysqld.log-20200622.gz
-rw-r----- 1 mysql mysql 20 Jun 22 2020 mysqld.log-20200628.gz
-rw-r----- 1 mysql mysql 20 Jun 28 2020 mysqld.log-20200706.gz
-rw-r----- 1 mysql mysql 20 Jul 6 2020 mysqld.log-20200712.gz
-rw-r----- 1 mysql mysql 20 Jul 12 2020 mysqld.log-20200720.gz
-rw-r----- 1 mysql mysql 20 Jul 20 2020 mysqld.log-20200726.gz
-rw-r----- 1 mysql mysql 20 Jul 26 2020 mysqld.log-20200803.gz
-rw-r----- 1 mysql mysql 20 Aug 3 2020 mysqld.log-20200809.gz
-rw-r----- 1 mysql mysql 20 Aug 9 2020 mysqld.log-20200817.gz
-rw-r----- 1 mysql mysql 20 Aug 17 2020 mysqld.log-20200823.gz
-rw-r----- 1 mysql mysql 20 Aug 23 2020 mysqld.log-20200831.gz
-rw-r----- 1 mysql mysql 20 Aug 31 2020 mysqld.log-20200906.gz
-rw-r----- 1 mysql mysql 20 Sep 6 2020 mysqld.log-20200914.gz
-rw-r----- 1 mysql mysql 20 Sep 14 2020 mysqld.log-20200920.gz
-rw-r----- 1 mysql mysql 20 Sep 20 2020 mysqld.log-20200928.gz
-rw-r----- 1 mysql mysql 20 Sep 28 2020 mysqld.log-20201004.gz
-rw-r----- 1 mysql mysql 20 Oct 4 2020 mysqld.log-20201012.gz
-rw-r----- 1 mysql mysql 20 Oct 12 2020 mysqld.log-20201018.gz
-rw-r----- 1 mysql mysql 20 Oct 18 2020 mysqld.log-20201025.gz
-rw-r----- 1 mysql mysql 20 Oct 25 2020 mysqld.log-20201102.gz
-rw-r----- 1 mysql mysql 20 Nov 2 2020 mysqld.log-20201108.gz
-rw-r----- 1 mysql mysql 20 Nov 8 2020 mysqld.log-20201116.gz
-rw-r----- 1 mysql mysql 20 Nov 16 2020 mysqld.log-20201122.gz
-rw-r----- 1 mysql mysql 20 Nov 22 2020 mysqld.log-20201129.gz
-rw-r----- 1 mysql mysql 20 Nov 29 2020 mysqld.log-20201207.gz
-rw-r----- 1 mysql mysql 20 Dec 7 2020 mysqld.log-20201213.gz
-rw-r----- 1 mysql mysql 20 Dec 13 2020 mysqld.log-20201221.gz
-rw-r----- 1 mysql mysql 20 Dec 21 2020 mysqld.log-20201227.gz
-rw-r----- 1 mysql mysql 20 Dec 27 2020 mysqld.log-20210104.gz
-rw-r----- 1 mysql mysql 20 Jan 4 2021 mysqld.log-20210110.gz
-rw-r----- 1 mysql mysql 20 Jan 10 2021 mysqld.log-20210118.gz
-rw-r----- 1 mysql mysql 20 Jan 18 2021 mysqld.log-20210124.gz
-rw-r----- 1 mysql mysql 20 Jan 24 2021 mysqld.log-20210201.gz
-rw-r----- 1 mysql mysql 20 Feb 1 2021 mysqld.log-20210207.gz
-rw-r----- 1 mysql mysql 20 Feb 7 2021 mysqld.log-20210215.gz
-rw-r----- 1 mysql mysql 20 Feb 15 2021 mysqld.log-20210221.gz
-rw-r----- 1 mysql mysql 20 Feb 21 2021 mysqld.log-20210228.gz
-rw-r----- 1 mysql mysql 20 Feb 28 2021 mysqld.log-20210308.gz
-rw-r----- 1 mysql mysql 20 Mar 8 2021 mysqld.log-20210314.gz
-rw-r----- 1 mysql mysql 20 Mar 14 2021 mysqld.log-20210322.gz
-rw-r----- 1 mysql mysql 20 Mar 22 2021 mysqld.log-20210328.gz
-rw-r----- 1 mysql mysql 20 Mar 28 2021 mysqld.log-20210405.gz
-rw-r----- 1 mysql mysql 20 Apr 5 2021 mysqld.log-20210411.gz
-rw-r----- 1 mysql mysql 20 Apr 11 2021 mysqld.log-20210419.gz
-rw-r----- 1 mysql mysql 20 Apr 19 2021 mysqld.log-20210425.gz
-rw-r----- 1 mysql mysql 20 Apr 25 2021 mysqld.log-20210503.gz
-rw-r----- 1 mysql mysql 20 May 3 2021 mysqld.log-20210509.gz
-rw-r----- 1 mysql mysql 20 May 9 2021 mysqld.log-20210517.gz
-rw-r----- 1 mysql mysql 20 May 17 2021 mysqld.log-20210523.gz
-rw-r----- 1 mysql mysql 20 May 23 2021 mysqld.log-20210531.gz
-rw-r----- 1 mysql mysql 20 May 31 2021 mysqld.log-20210606.gz
-rw-r----- 1 mysql mysql 20 Jun 6 2021 mysqld.log-20210614.gz
-rw-r----- 1 mysql mysql 20 Jun 14 2021 mysqld.log-20210620.gz
-rw-r----- 1 mysql mysql 20 Jun 20 2021 mysqld.log-20210628.gz
-rw-r----- 1 mysql mysql 20 Jun 28 2021 mysqld.log-20210704.gz
-rw-r----- 1 mysql mysql 20 Jul 4 2021 mysqld.log-20210712.gz
-rw-r----- 1 mysql mysql 20 Jul 12 2021 mysqld.log-20210718.gz
-rw-r----- 1 mysql mysql 2.2K Jul 19 2021 mysqld.log-20210726.gz
-rw-r----- 1 mysql mysql 20 Jul 26 2021 mysqld.log-20210801.gz
-rw-r----- 1 mysql mysql 20 Aug 9 2021 mysqld.log-20210809.gz
-rw-r----- 1 mysql mysql 20 Aug 10 2021 mysqld.log-20210810.gz
-rw-r----- 1 mysql mysql 20 Aug 11 2021 mysqld.log-20210811.gz
-rw-r----- 1 mysql mysql 20 Aug 12 2021 mysqld.log-20210812.gz
-rw-r----- 1 mysql mysql 20 Sep 20 2021 mysqld.log-20210926.gz
-rw-r----- 1 mysql mysql 20 Sep 26 2021 mysqld.log-20211003.gz
-rw-r----- 1 mysql mysql 20 Oct 3 2021 mysqld.log-20211011.gz
-rw-r----- 1 mysql mysql 20 Oct 11 06:25 mysqld.log-20211017.gz
-rw-r----- 1 mysql mysql 20 Oct 17 06:25 mysqld.log-20211025.gz
-rw-r----- 1 mysql mysql 20 Oct 25 06:25 mysqld.log-20211031.gz
-rw-r----- 1 mysql mysql 20 Oct 31 06:25 mysqld.log-20211108.gz
-rw-r----- 1 mysql mysql 20 Nov 8 06:25 mysqld.log-20211114.gz
-rw-r----- 1 mysql mysql 20 Nov 14 06:25 mysqld.log-20211122.gz
-rw-r----- 1 mysql mysql 20 Nov 22 06:25 mysqld.log-20211128.gz
-rw-r----- 1 mysql mysql 20 Nov 28 06:25 mysqld.log-20211206.gz
-rw-r----- 1 mysql mysql 20 Dec 6 06:25 mysqld.log-20211212.gz
-rw-r----- 1 mysql mysql 20 Dec 12 06:25 mysqld.log-20211220.gz
-rw-r----- 1 mysql mysql 20 Dec 20 06:25 mysqld.log-20211226.gz
-rw-r----- 1 mysql mysql 20 Dec 26 06:25 mysqld.log-20220103.gz
-rw-r----- 1 mysql mysql 20 Jan 3 06:25 mysqld.log-20220109.gz
-rw-r----- 1 mysql mysql 20 Jan 9 06:25 mysqld.log-20220117.gz
-rw-r----- 1 mysql mysql 20 Jan 17 06:25 mysqld.log-20220123.gz
-rw-r----- 1 mysql mysql 20 Jan 23 06:25 mysqld.log-20220130.gz
-rw-r----- 1 mysql mysql 20 Jan 30 06:25 mysqld.log-20220207.gz
-rw-r----- 1 mysql mysql 20 Feb 7 06:25 mysqld.log-20220213.gz
-rw-r----- 1 mysql mysql 20 Feb 13 06:25 mysqld.log-20220221.gz
-rw-r----- 1 mysql mysql 20 Feb 21 06:25 mysqld.log-20220227.gz
-rw-r----- 1 mysql mysql 20 Feb 27 06:25 mysqld.log-20220307.gz
-rw-r----- 1 mysql mysql 20 Mar 7 06:25 mysqld.log-20220313.gz
-rw-r----- 1 mysql mysql 20 Mar 13 06:25 mysqld.log-20220321.gz
-rw-r----- 1 mysql mysql 20 Mar 21 06:25 mysqld.log-20220327.gz
-rw-r----- 1 mysql mysql 20 Apr 1 05:06 mysqld.log-20220404.gz
-rw-r----- 1 mysql mysql 20 Apr 4 06:25 mysqld.log-20220405.gz
-rw-r----- 1 mysql root 24M Apr 1 05:14 mysql.ibd
drwxr-x— 2 mysql root 4.0K Oct 15 2019 performance_schema
-rw------- 1 mysql root 1.7K Oct 15 2019 private_key.pem
-rw-r–r-- 1 mysql root 452 Oct 15 2019 public_key.pem
-rw-r–r-- 1 mysql root 1.1K Oct 15 2019 server-cert.pem
-rw------- 1 mysql root 1.7K Oct 15 2019 server-key.pem
drwxr-x— 2 mysql root 4.0K Oct 15 2019 sys
-rw-r----- 1 mysql root 12M Apr 7 08:45 undo_001
-rw-r----- 1 mysql root 12M Apr 7 08:45 undo_002

Observe First few lines

bitnami@ip-172-31-41-15:/opt/bitnami$ sudo ls -lh /opt/bitnami/mysql/data
total 2.2G
-rw-r----- 1 mysql root 56 Oct 15 2019 auto.cnf
-rw-r----- 1 mysql mysql 1.1G Feb 9 23:25 binlog.000033
-rw-r----- 1 mysql mysql 1012M Apr 7 08:45 binlog.000034
-rw-r----- 1 mysql mysql 32 Feb 9 23:25 binlog.index
drwxr-x— 2 mysql mysql 4.0K Mar 29 09:45 bitnami_wordpress
-rw------- 1 mysql root 1.7K Oct 15 2019 ca-key.pem
-rw-r–r-- 1 mysql root 1.1K Oct 15 2019 ca.pem
-rw-r–r-- 1 mysql root 1.1K Oct 15 2019 client-cert.pem
-rw------- 1 mysql root 1.7K Oct 15 2019 client-key.pem

2 binlog files > 1 Gb.
What Can i do with them? If i erase them, I would lose some data?

You can disable binary logging by following this guide

https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/disable-binary-logging-mysql/

You can also increase the disk size if required

https://docs.bitnami.com/aws/how-to/modify-ebs-volume/

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.