"failed to writed file to disk" problem Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
tirahwawas
Posts: 4
Joined: Thu Aug 31, 2017 8:49 am

"failed to writed file to disk" problem

Postby 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

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

Re: "failed to writed file to disk" problem

Postby 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.

skurudo
VestaCP Team
Posts: 7777
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: "failed to writed file to disk" problem

Postby skurudo » Thu Aug 31, 2017 1:04 pm

Phogo is right, check your disk space

Code: Select all

df -h
df -i
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

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

Re: "failed to writed file to disk" problem

Postby 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.

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

Re: "failed to writed file to disk" problem

Postby 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

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

Re: "failed to writed file to disk" problem

Postby 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

mehargags
Posts: 706
Joined: Sat Sep 06, 2014 9:58 pm

Re: "failed to writed file to disk" problem

Postby 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

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

Re: "failed to writed file to disk" problem  Topic is solved

Postby 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.

mehargags
Posts: 706
Joined: Sat Sep 06, 2014 9:58 pm

Re: "failed to writed file to disk" problem

Postby 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.

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

Re: "failed to writed file to disk" problem

Postby 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.


Return to “Web Server”



Who is online

Users browsing this forum: No registered users and 9 guests