Craig Ward
2013-05-29 22:25:03 UTC
Craig Ward [http://community.zenoss.org/people/welshwardy] created the discussion
"/tmp filling up - process still holding deleted files"
To view the discussion, visit: http://community.zenoss.org/message/73355#73355
--------------------------------------------------------------
Hi,
Our /tmp directory is being reported as full:
***@zenoss:/tmp# df -h | grep /tmp
                     535M 499M  31M 95% /tmp
Yet the contents are pretty small:
***@zenoss:/tmp# du -sh /tmp
179KÂ Â Â /tmp
Looks like a Zenoss process is holding open lots of deleted files:
***@zenoss:/tmp# lsof /tmp | more
COMMANDÂ Â Â Â PIDÂ Â USERÂ Â FDÂ Â TYPE DEVICE SIZE/OFF NODE NAME
runzope  19733 zenoss   7u  REG 254,4   91272  11 /tmp/tmpWk20uM.tbuf (deleted)
runzope  19733 zenoss  11u  REG 254,4 20971520  12 /tmp/tmphMTSsI (deleted)
.python.b 19777 zenoss   4u  REG 254,4  170911  13 /tmp/tmpzwz9C8.tbuf (deleted)
.python.b 19777 zenoss   5u  REG 254,4 10485760  14 /tmp/tmpsiul16 (deleted)
.python.b 19814 zenoss   6u  REG 254,4       0  15 /tmp/tmpphUJhF.tbuf (deleted)
.python.b 19814 zenoss   7u  REG 254,4 10485760  16 /tmp/tmpYzgKfo (deleted)
.python.b 19966 zenoss   4u  REG 254,4    5510  17 /tmp/tmp3IZBEh.tbuf (deleted)
.python.b 19966 zenoss   7u  REG 254,4 10485760  18 /tmp/tmpIxJmIf (deleted)
.python.b 20117 zenoss   7u  REG 254,4    1835  19 /tmp/tmpO8WxHP.tbuf (deleted)
.python.b 20117 zenoss   8u  REG 254,4 10485760  20 /tmp/tmpFyf6Om (deleted)
...
***@zenoss:/tmp# ps auxww | grep 20117
root    18330 0.0 0.0  7548  848 pts/0   S+  10:23  0:00 grep 20117
zenoss  20117 20.6 3.0 347044 123452 ?      Sl  May29 298:04 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py --configfile /usr/local/zenoss/zenoss/etc/zencommand.conf --cycle --daemon
Any ideas what could be causing the files to be deleted but still held open?
Thanks!
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73355#73355]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"/tmp filling up - process still holding deleted files"
To view the discussion, visit: http://community.zenoss.org/message/73355#73355
--------------------------------------------------------------
Hi,
Our /tmp directory is being reported as full:
***@zenoss:/tmp# df -h | grep /tmp
                     535M 499M  31M 95% /tmp
Yet the contents are pretty small:
***@zenoss:/tmp# du -sh /tmp
179KÂ Â Â /tmp
Looks like a Zenoss process is holding open lots of deleted files:
***@zenoss:/tmp# lsof /tmp | more
COMMANDÂ Â Â Â PIDÂ Â USERÂ Â FDÂ Â TYPE DEVICE SIZE/OFF NODE NAME
runzope  19733 zenoss   7u  REG 254,4   91272  11 /tmp/tmpWk20uM.tbuf (deleted)
runzope  19733 zenoss  11u  REG 254,4 20971520  12 /tmp/tmphMTSsI (deleted)
.python.b 19777 zenoss   4u  REG 254,4  170911  13 /tmp/tmpzwz9C8.tbuf (deleted)
.python.b 19777 zenoss   5u  REG 254,4 10485760  14 /tmp/tmpsiul16 (deleted)
.python.b 19814 zenoss   6u  REG 254,4       0  15 /tmp/tmpphUJhF.tbuf (deleted)
.python.b 19814 zenoss   7u  REG 254,4 10485760  16 /tmp/tmpYzgKfo (deleted)
.python.b 19966 zenoss   4u  REG 254,4    5510  17 /tmp/tmp3IZBEh.tbuf (deleted)
.python.b 19966 zenoss   7u  REG 254,4 10485760  18 /tmp/tmpIxJmIf (deleted)
.python.b 20117 zenoss   7u  REG 254,4    1835  19 /tmp/tmpO8WxHP.tbuf (deleted)
.python.b 20117 zenoss   8u  REG 254,4 10485760  20 /tmp/tmpFyf6Om (deleted)
...
***@zenoss:/tmp# ps auxww | grep 20117
root    18330 0.0 0.0  7548  848 pts/0   S+  10:23  0:00 grep 20117
zenoss  20117 20.6 3.0 347044 123452 ?      Sl  May29 298:04 /usr/local/zenoss/python/bin/.python.bin /usr/local/zenoss/zenoss/Products/ZenRRD/zencommand.py --configfile /usr/local/zenoss/zenoss/etc/zencommand.conf --cycle --daemon
Any ideas what could be causing the files to be deleted but still held open?
Thanks!
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73355#73355]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]