如何避免未知:写入失败:设备上没有剩余空间 (28)
我在共享主机上,在我的域上收到此错误,
Unknown: write failed: No space left on device (28)
我认为这是因为我的 /tmp 目录已满,但我不能确定。如果是这样的话,任何人都可以帮助我为什么会发生这种情况?这是第二次发生这种情况,当它发生时,我必须将我的网站从网络上删除,这不好......
我不知道它是否相关,但我处理很多图像并用 PHP 转换它们。我使用 tempnam()
函数临时保存它们。这是导致错误的原因吗?
有人知道吗? 请我真的需要快速解决这个问题:( 谢谢。
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 second 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能有两个原因:
您的网络托管帐户设置了配额,但您已超出该配额。解决方案:释放一些空间。 (您应该有某种控制面板可以指示您是否属于这种情况。)
您的网站运行的 Web 服务器空间不足。您需要与您的托管提供商联系。他们需要确保这种情况不会再次发生。
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.