服务器中的磁盘配额超过警告 [英] Disk quota exceeded warning in server
问题描述
我对此警告有疑问
警告:session_start():打开(/tmp/sess_ba3cae26d5ca3bfb594c3424a10fe9c4,O_RDWR)失败:磁盘超出配额(122)/home/ericramirez19/public_html/wp-content/plugins/buddypress-media/index.php在第68行
Warning: session_start(): open(/tmp/sess_ba3cae26d5ca3bfb594c3424a10fe9c4, O_RDWR) failed: Disk quota exceeded (122) in /home/ericramirez19/public_html/wp-content/plugins/buddypress-media/index.php on line 68
我的索引页是正确的,什么会导致此错误?,是服务器问题还是代码?我正在使用文字印刷机,那么对文字印刷机有什么解决方案吗?
my index page is correct and what things go to this error ?, Is it server problem or code? I am using word press so any solution for word press?
推荐答案
还有另一个限制- inodes
(允许的文件数),您可以通过命令进行检查
There is another limit as well - inodes
(number of files allowed), you can check that by command
df -i
我在我的身上发现/var/lib/php5
包含近百万个文件,因此我删除了那里的所有会话文件并解决了问题
i've found on mine that /var/lib/php5
contained nearly million files so i've deleted all session files there and problem was solved
find /var/lib/php5/ -name "sess_*" -delete
这篇关于服务器中的磁盘配额超过警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!