Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

"failed to writed file to disk" problem

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
12 posts
  • 1
  • 2
  • Next
tirahwawas
Posts: 4
Joined: Thu Aug 31, 2017 8:49 am

"failed to writed file to disk" problem
  • Quote

Post by tirahwawas » Thu Aug 31, 2017 9:07 am

Hi,

I have used VestaCP for 6 month now. I also have several website running with wordpress.
However, this couple of days, everytime I tried to upload image of file I get "failed to writed file to disk",
I have checked the file permission via ftp, all file permission was okay, nothing change.
I also checked where my VestaCP hosted, and they said I have unlimited storage.

max_file_upload has been set to 200mb and the file that I tried to upload is really small, it's less then 30kb.
The same happened when I tried upload the file through ftp, I get an error message "error while writing: received failure with description 'failure'"

What is causing that problem, because it's working fine for last 6 month.

Many thanks
Tirah
Top

Phogo
Posts: 60
Joined: Fri Dec 09, 2016 12:40 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: "failed to writed file to disk" problem
  • Quote

Post by Phogo » Thu Aug 31, 2017 12:05 pm

There is no such thing as "unlimited storage". Be aware of hosts that sell using that.

It sounds like your out of disk space or you've reached your quota. This is a question for your host, not this forum.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: "failed to writed file to disk" problem
  • Quote

Post by skurudo » Thu Aug 31, 2017 1:04 pm

Phogo is right, check your disk space

Code: Select all

df -h
df -i
Top

tirahwawas
Posts: 4
Joined: Thu Aug 31, 2017 8:49 am

Re: "failed to writed file to disk" problem
  • Quote

Post by tirahwawas » Mon Sep 04, 2017 3:40 am

Phogo wrote:There is no such thing as "unlimited storage". Be aware of hosts that sell using that.

It sounds like your out of disk space or you've reached your quota. This is a question for your host, not this forum.
Previously, I did check with the host, and they said the storage is unlimited. I also saw on the vesta control panel, there are no notification about storage reach the limit.
Top

tirahwawas
Posts: 4
Joined: Thu Aug 31, 2017 8:49 am

Re: "failed to writed file to disk" problem
  • Quote

Post by tirahwawas » Mon Sep 04, 2017 3:40 am

skurudo wrote:Phogo is right, check your disk space

Code: Select all

df -h
df -i
Ok I will try this, I have not check directly using root.

Thanks
Top

tirahwawas
Posts: 4
Joined: Thu Aug 31, 2017 8:49 am

Re: "failed to writed file to disk" problem
  • Quote

Post by tirahwawas » Mon Sep 04, 2017 4:23 am

tirahwawas wrote:
skurudo wrote:Phogo is right, check your disk space

Code: Select all

df -h
df -i
Ok I will try this, I have not check directly using root.

Thanks
Here are the result.
Image
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: "failed to writed file to disk" problem
  • Quote

Post by mehargags » Mon Sep 04, 2017 6:51 am

May be do a
chown -R <vestauser>:<vestauser> /home/<vestauser>/web/<sitedomain>/public_html
through SSH and the try ?
Looks more like a permission problem
Top

gecube_ru
Posts: 141
Joined: Thu Jun 22, 2017 1:21 pm

Re: "failed to writed file to disk" problem
  • Quote

Post by gecube_ru » Mon Sep 04, 2017 9:24 am

There is no freespace on the /home filesystem.
It is emergency. You need or to remove some unused files, or to extend the storage.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: "failed to writed file to disk" problem
  • Quote

Post by mehargags » Mon Sep 04, 2017 10:23 am

gecube_ru wrote:There is no freespace on the /home filesystem.
It is emergency. You need or to remove some unused files, or to extend the storage.
As per df-h result posted, that's not the case I think. It clearly show 50G-17G=31GB Free space.
However, his tmpfs (3.9G 0% left) seems to be full which might be the case.

A reboot should help you get rid of it, but you might want to investigate what is filling it in
Last edited by mehargags on Tue Sep 05, 2017 12:08 pm, edited 1 time in total.
Top

gecube_ru
Posts: 141
Joined: Thu Jun 22, 2017 1:21 pm

Re: "failed to writed file to disk" problem
  • Quote

Post by gecube_ru » Mon Sep 04, 2017 12:55 pm

The /home filesystem is a place where all sites are stored with their temporary files. So 13MB free space on /home is really the big issue!!!
tmpfs is interesting question too.
Top


Post Reply
  • Print view

12 posts
  • 1
  • 2
  • Next

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password