Quantcast
Viewing all articles
Browse latest Browse all 853

/tmp filling up - process still holding deleted files

Hi,

 

Our /tmp directory is being reported as full:

 

root@zenoss:/tmp# df -h | grep /tmp

                      535M  499M   31M  95% /tmp

 

Yet the contents are pretty small:

 

root@zenoss:/tmp# du -sh /tmp

179K    /tmp

 

 

Looks like a Zenoss process is holding open lots of deleted files:

 

root@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)

...

 

root@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!


Viewing all articles
Browse latest Browse all 853

Trending Articles