Keywords: WordPress - AWS - Technical issue - Other
I have a very high configuration light sail instance running on my AWS account. Here’s the configuration: 4 GB Ram and 2 vCPUs. This is an extremely high-end configuration for client’s use case of a small e-commerce platform.
As the title mentions, even after this config, my website keeps crashing. On further investigation, I found out that my disk is full and following a few other articles on this community it was clear that it was my /data folder.
I ran the following commands on the server:
cd /opt/bitnami/mysql sudo du -h . -d 1 | sort -h 4.0K./run 4.0K./tmp 12K./var 16K./scripts 24K./support-files 28K./bitnami 396K./include 8.4M./share 156M./bin 173M./lib 73G. 73G./data sudo du -h /opt/bitnami/mysql/data -d 1 | sort -h 32K/opt/bitnami/mysql/data/mysql 84K/opt/bitnami/mysql/data/sys 100K/opt/bitnami/mysql/data/#innodb_temp 1.4M/opt/bitnami/mysql/data/performance_schema 119M/opt/bitnami/mysql/data/bitnami_wordpress 73G/opt/bitnami/mysql/data
I am even unable to run the bnsupport-tool on the server due to no space as well. I tried removing the unnecessary plugins and uploads using SFTP on Filezilla as well.
I need to resolve this issue once and for all as there is no reason that my data directory should have 73 gigs in it.
Hoping to solve this issue now.