By Jordanbon19
Hello, so my website was working just like about 1h ago, then I get clients spamming me that nothing is working. So I try to go to my site and I see this message
š§Ø fwrite(): write of 2268 bytes failed with errno=28 no space left on device
I donāt know what to do, my developer is literally in the military right now for 6 weeks. And I donāt code, I donāt know anything about coding, and Iām freaking out because I have almost a thousand clients who are angry and want their services working.
I know some of them will start to do a chargeback, especially new ones, and a lot of chargebacks will make Paypal, stripe, and stuff suspecting you of something. I googled those writing and it seems like this issue happened to others and they said something about resyncing things, I donāt even know a single thing about coding.
My site is coded in⦠PHP with some SQL,(thatās all I know)
CAN ANYONE HELP ME FIX THIS? I AM WILLING TO PAY YOU $$/h to fix this. PLEASE GUY HELP ME, Iām literally crying right now, Iām extremely overwhelmed.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Hello,
It looks like your server has run out of disk space. What I could suggest is to upgrade your server and add some extra storage, you can do that directly via your DigitalOcean control panel by following the steps here:
https://docs.digitalocean.com/products/droplets/how-to/resize/
This does not require any coding or technical skills.
Alternatively, if you want to get to the bottom of the problem and find out what is filling up the disk space, you can follow the steps from this answer here:
https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error
Let me know how it goes!
Best,
Bobby
The error message you provided, āfwrite(): write of 2268 bytes failed with errno=28 no space left on deviceā, suggests that your server has run out of disk space. When the disk is full, applications canāt write to the filesystem, which can cause various issues, including the one youāre experiencing.
Here are the steps to diagnose and address the issue:
Check Disk Usage: SSH into your server and use the df command to verify the disk usage:
df -h
This will show the amount of space used and available on each partition. If any partition, especially the root (/), is at 100% usage, then thatās the source of the issue.
Identify Large Files and Directories: To find which directories are consuming most of the space, you can use the du command. Hereās a way to list the size of top-level directories under /:
sudo du -h --max-depth=1 /
You can then drill down into directories that seem to be unusually large.
Clear Unnecessary Files:
/var/log directory and consider removing or compressing old logs./tmp directory.apt for package management, you can clear out cached package files with:sudo apt autoclean
sudo apt autoremove
Expand Disk Space: If you find that even after cleanup, the space is insufficient, you might need to consider resizing your serverās disk or attaching additional storage, depending on your hosting providerās offerings.
Automate Monitoring: To prevent this from happening in the future, consider setting up monitoring and alerts for disk usage. There are many tools available that can notify you when disk space is getting low, giving you a chance to address the issue before it impacts your users.
Finally, once youāve cleared up enough space, you might need to restart some services (or even the whole server) to resolve any issues caused by the lack of disk space.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOceanās Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
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.