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 中接收上傳的文件,然後再將其放在真正所屬的位置。

另一種可能性是,您有數百萬個 itty bitty 文件,並且您已經用完了 inode,您可以查看還剩下多少 inode df -i。但幾乎​​可以肯定 /tmp 已滿,這就是問題所在。

相關內容