开发者

How to avoid Unknown: write failed: No space left on device (28)

开发者 https://www.devze.com 2023-04-01 06:47 出处:网络
I am on a shared host and i get this error on my domain Unknown: write failed: No space left on device (28)

I am on a shared host and i get this error on my domain

Unknown: write failed: No space left on device (28)

I think its because my /tmp directory is full, but i can't be sure. If that is the case can anyone help me why this is happening? It is the seco开发者_开发百科nd time this happens and I have to take my site off the web when it does, which is not good...

I don't know if it is related, but I handle a lot of images and convert them in PHP. I save them temporary using the tempnam() function. Is this causing the error?

Do anyone have any idea? Please I really need to fix this fast :( Thank you.


This can have two reasons:

  • Your web hosting account has a quota set, which you have exceeded. Solution: Free up some space. (You should have some sort of control panel that can give you an indication whether this is the case.)

  • The web server your site runs on has run out of space. You need to talk to your hosting provider. They need to make sure this doesn't happen again.

0

精彩评论

暂无评论...
验证码 换一张
取 消