Zenoss 设备上没有剩余空间错误

Zenoss 设备上没有剩余空间错误
Site Error

An error was encountered while publishing this resource.


Sorry, a site error occurred.
Traceback (innermost last):

Module ZPublisher.Publish, line 231, in publish_module_standard
Module ZPublisher.Publish, line 165, in publish
Module Zope2.App.startup, line 211, in __call__
Module Products.ZenUI3.browser, line 105, in __call__
Module Products.Five.browser.pagetemplatefile, line 60, in __call__
Module zope.pagetemplate.pagetemplate, line 115, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 620, in do_insertText_tal
Module Products.PageTemplates.Expressions, line 203, in evaluateText
Module Products.PageTemplates.Expressions, line 222, in _handleText
Module zope.component._api, line 174, in queryUtility
Module zope.component.registry, line 165, in queryUtility
Module ZODB.Connection, line 834, in setstate
Module ZODB.Connection, line 884, in _setstate
Module ZEO.ClientStorage, line 815, in load
Module ZEO.cache, line 143, in call
Module ZEO.cache, line 607, in store
IOError: [Errno 28] No space left on device

今天通过 zenoss 检查了我的服务器,看起来我的服务器不知为何已经满了。当我查看我的服务器时,它只有 85% 的占用率:

unclebob:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/unclebob--vg0-unclebob--root
                      1.9G  1.5G  335M  82% /
tmpfs                 471M     0  471M   0% /lib/init/rw
udev                   10M  820K  9.2M   9% /dev
tmpfs                 471M     0  471M   0% /dev/shm
overflow              1.0M  1.0M     0 100% /tmp
/dev/hde1             942M   36M  859M   5% /boot

    unclebob:/tmp# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/mapper/unclebob--vg0-unclebob--root
                      121920   54844   67076   45% /
tmpfs                 120489       3  120486    1% /lib/init/rw
udev                  120489    1520  118969    2% /dev
tmpfs                 120489       1  120488    1% /dev/shm
overflow              120489      14  120475    1% /tmp
/dev/hde1              61312      33   61279    1% /boot

看起来有这两个文件:.ICE-unix/ .X11-unix/

它们被隐藏了。我会移除它们。你知道它们可能是什么吗?

有什么解决办法吗?可能与 Zenoss 有关

答案1

您的 /tmp 驱动器已满,并且您的应用程序可能会在将上传的文件放入其真正所属的位置之前在 /tmp 中接收它。

另一种可能性是,您有数百万个小文件,并且您的 inode 已经用完了,您可以查看还剩下多少 inode df -i。但几乎可以肯定的是,/tmp 已满才是问题所在。

相关内容