Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By dick
I was getting a Wordpress database connection error every other day. I created a 512 swap file (1GB droplet) and it made it about a week. I’m trying to increase the swap file 2GB. Here are the steps I took.
sudo swapoff /swapfile sudo dd if=/dev/zero of=swapfile bs=2048 count=1048576 sudo mkswap /swapfile
It reports: Setting up swapspace version 1, size = 1048572 KiB…
sudo swapon /swapfile
It looks like it only created a 1GB swapfile. When I use free-m it says 1023 for the swap. The file size via WinSCP is 2GB.
Is there a limit on the size of a swap file? If so, can I have two swap files? Or should I get a bigger droplet?