'Digitalocean basic droplet for wordpress website showing database error every now and then
I have created a basic 5$ droplet with digital ocean to host a wordpress website. After installing the wordpress as soon a i login to the dashboard and start working on elementor or wordpress every few minutes after is shows database connection error which resolves itself after 2-3 minutes and again after 4-5 minutes the cycle repeats. At the same time cpu usagae also increases by 95-99% which drops drown by iteself. As new to server side i dont know whether we have to make some servers changes or some memory changes because as far as I know we can easily host 5-6 basic wordpress websites with medium traffic on a 25GB basic VPS plan. I my case I have not even created a single one. Please help and resolve. Thanks
Solution 1:[1]
You should check if:
- server is swapping
- install performance monitoring, digital ocean has it's own script, but you can also install netdata or something more robust
- iostat, I think those net disks are rate limited
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | DuĊĦan Pani? |
