Page 1 of 2

"failed to writed file to disk" problem

Posted: Thu Aug 31, 2017 9:07 am
by tirahwawas
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

Re: "failed to writed file to disk" problem

Posted: Thu Aug 31, 2017 12:05 pm
by Phogo
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.

Re: "failed to writed file to disk" problem

Posted: Thu Aug 31, 2017 1:04 pm
by skurudo
Phogo is right, check your disk space

Code: Select all

df -h
df -i

Re: "failed to writed file to disk" problem

Posted: Mon Sep 04, 2017 3:40 am
by tirahwawas
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.

Re: "failed to writed file to disk" problem

Posted: Mon Sep 04, 2017 3:40 am
by tirahwawas
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

Re: "failed to writed file to disk" problem

Posted: Mon Sep 04, 2017 4:23 am
by tirahwawas
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

Re: "failed to writed file to disk" problem

Posted: Mon Sep 04, 2017 6:51 am
by mehargags
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

Re: "failed to writed file to disk" problem

Posted: Mon Sep 04, 2017 9:24 am
by gecube_ru
There is no freespace on the /home filesystem.
It is emergency. You need or to remove some unused files, or to extend the storage.

Re: "failed to writed file to disk" problem

Posted: Mon Sep 04, 2017 10:23 am
by mehargags
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

Re: "failed to writed file to disk" problem

Posted: Mon Sep 04, 2017 12:55 pm
by gecube_ru
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.