<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: bdf /tmp shows 100% full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545655#M839375</link>
    <description>fuser /tmp shows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/tmp:      922o     930o     938o&lt;BR /&gt;&lt;BR /&gt;are 922, 930 and 938 process ids? I'm sorry, I just inherited this system from the unix sysadmin.&lt;BR /&gt;&lt;BR /&gt;If so,&lt;BR /&gt;root   938     1  0  Jan 26  ?         0:00 /usr/sbin/trapdestagt&lt;BR /&gt;&lt;BR /&gt;root   930     1  0  Jan 26  ?        11:51 /usr/sbin/mib2agt&lt;BR /&gt;&lt;BR /&gt;root   922     1  0  Jan 26  ?         0:00 /usr/sbin/hp_unixagt&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Ravi.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 16 May 2005 15:49:16 GMT</pubDate>
    <dc:creator>Ravi S. Banda</dc:creator>
    <dc:date>2005-05-16T15:49:16Z</dc:date>
    <item>
      <title>bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545652#M839372</link>
      <description>bdf /tmp shows 100% full!!!&lt;BR /&gt;On our PROD server, I don't understand why.&lt;BR /&gt;&lt;BR /&gt;I did ll -R /tmp and very few files. I did &lt;BR /&gt;ls -altr shows very few files and directories. I went into the directories and hidden directories, NOTHING!!!&lt;BR /&gt;&lt;BR /&gt;du -ks /tmp shows:&lt;BR /&gt;71      /tmp&lt;BR /&gt;&lt;BR /&gt;bdf shows 100% full.&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol4     819200  819200       0  100% /tmp&lt;BR /&gt;&lt;BR /&gt;Why is this? This is our PROD. Please help!!!&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 15:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545652#M839372</guid>
      <dc:creator>Ravi S. Banda</dc:creator>
      <dc:date>2005-05-16T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545653#M839373</link>
      <description>Because some processes have some files open even if they have been rm'ed the space is only freed when the processes which have them open either terminate or close the filoes. You can use lsof (or fuser) to see what process(es) have the file(s) open.&lt;BR /&gt;&lt;BR /&gt;By the way, /tmp is not supposed to be used for user temp files; that is the role of /var/tmp these days. /tmp is strictly for OS related processes.</description>
      <pubDate>Mon, 16 May 2005 15:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545653#M839373</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-16T15:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545654#M839374</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You probably have a process that is holding open a file in /tmp, but the file has been removed.  The disk space won't be released until the process finishes.  The trick now is to figure out which process is holding the disk space.  I'd use Glance or lsof to try to find the offending process.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 15:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545654#M839374</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2005-05-16T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545655#M839375</link>
      <description>fuser /tmp shows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/tmp:      922o     930o     938o&lt;BR /&gt;&lt;BR /&gt;are 922, 930 and 938 process ids? I'm sorry, I just inherited this system from the unix sysadmin.&lt;BR /&gt;&lt;BR /&gt;If so,&lt;BR /&gt;root   938     1  0  Jan 26  ?         0:00 /usr/sbin/trapdestagt&lt;BR /&gt;&lt;BR /&gt;root   930     1  0  Jan 26  ?        11:51 /usr/sbin/mib2agt&lt;BR /&gt;&lt;BR /&gt;root   922     1  0  Jan 26  ?         0:00 /usr/sbin/hp_unixagt&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Ravi.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 15:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545655#M839375</guid>
      <dc:creator>Ravi S. Banda</dc:creator>
      <dc:date>2005-05-16T15:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545656#M839376</link>
      <description>Yes, those are PID's.</description>
      <pubDate>Mon, 16 May 2005 15:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545656#M839376</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-16T15:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545657#M839377</link>
      <description>root 938 1 0 Jan 26 ? 0:00 /usr/sbin/trapdestagt&lt;BR /&gt;&lt;BR /&gt;root 930 1 0 Jan 26 ? 11:51 /usr/sbin/mib2agt&lt;BR /&gt;&lt;BR /&gt;root 922 1 0 Jan 26 ? 0:00 /usr/sbin/hp_unixagt&lt;BR /&gt;&lt;BR /&gt;Any ideas as to what these "agt" processes are?&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help.&lt;BR /&gt;-- Ravi.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 15:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545657#M839377</guid>
      <dc:creator>Ravi S. Banda</dc:creator>
      <dc:date>2005-05-16T15:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545658#M839378</link>
      <description>agents or daemons &lt;BR /&gt;&lt;BR /&gt;check this doc.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B7612-90015/apbs05.html" target="_blank"&gt;http://docs.hp.com/en/B7612-90015/apbs05.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 16:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545658#M839378</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-05-16T16:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545659#M839379</link>
      <description>These are SNMP (Simple Network Management Protocol) and should only be enabled if your network department is running special monitoring software such as HP OpenView tools. If yo don't know anything about this, disable all SNMP processes as they can be a security risk. These processes provide information about your system to other computers. The following commands will terminate the SNMP processes:&lt;BR /&gt; &lt;BR /&gt;/sbin/init.d/SnmpFddi4 stop&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/SnmpMaster stop&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/SnmpTrpDst stop&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/SnmpHpunix stop&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/SnmpMib2 stop&lt;BR /&gt; &lt;BR /&gt;These processes are enabled by default and most sysadmins will turn them off unless a Network Operations Center is monitoring systems. To make these SNMP process not run at bootup, edit the file in /etc/rc.config.d that start with: Snmp Change all XXXXX=1 lines to XXXXX=0 and now SNMP agents will not be started.&lt;BR /&gt; &lt;BR /&gt;Now if your system has not been reasonably patched, mib2agt had a fairly serious bug that caused it to grow extremely large. The reason that the space in /tmp isn't being returned is that rm does not really remove a file--it decrements the link count. For a simple file, the link count goes to zero and if the file is not open, it is removed. The problem is that rm will succeed even though a file is still open. So until you kill all processes that have the file open, the file appears to have been deleted but the space has not been returned.</description>
      <pubDate>Mon, 16 May 2005 21:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545659#M839379</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-16T21:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545660#M839380</link>
      <description>/tmp is used for temporary only.&lt;BR /&gt;so you can delete un needed files.&lt;BR /&gt;1, search big files&lt;BR /&gt;#cd /tmp&lt;BR /&gt;#du -sk *|sort -nr&lt;BR /&gt;#rm -rf bigfiles (big files listed at above command)&lt;BR /&gt;2, extend /tmp lv &lt;BR /&gt;see&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=881438" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=881438&lt;/A&gt;</description>
      <pubDate>Tue, 17 May 2005 00:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545660#M839380</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-05-17T00:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545661#M839381</link>
      <description>Hello All,&lt;BR /&gt;   I went through a list of processes to see what each process was doing.&lt;BR /&gt;   I killed the custom (cron) processes that I know can be killed. After killing one (or some) of these processes, the used space became 8% immediately! I know what the problem with the cron jobs was. I fixed that problem afterwards.&lt;BR /&gt;    The only thing I don't understand is that "fuser /tmp" did NOT show any of these processes as using /tmp because obviously, killing one of these processes cleared the /tmp.&lt;BR /&gt;Thanks!&lt;BR /&gt;Ravi.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2005 07:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545661#M839381</guid>
      <dc:creator>Ravi S. Banda</dc:creator>
      <dc:date>2005-05-17T07:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545662#M839382</link>
      <description>Unfortunately, fuser missies about 50% of processes that have open files on a mountpoint. The tool of choice (until fuser is rewritten) is lsof (list open files). You can download lsof from the Liverpool Archive at: &lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;&lt;BR /&gt;Search for lsof</description>
      <pubDate>Tue, 17 May 2005 07:48:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545662#M839382</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-17T07:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545663#M839383</link>
      <description>Thanks, Bill.&lt;BR /&gt;We're on hp-ux 11.00, though. &lt;A href="http://hpux.connect.org.uk" target="_blank"&gt;http://hpux.connect.org.uk&lt;/A&gt; shows only for 11i pa-risc and itanium 2.&lt;BR /&gt;&lt;BR /&gt;Where can I download for 11.0?&lt;BR /&gt;Thanks!&lt;BR /&gt;Ravi.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2005 09:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545663#M839383</guid>
      <dc:creator>Ravi S. Banda</dc:creator>
      <dc:date>2005-05-17T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545664#M839384</link>
      <description>The author is Vic Abell and he has a web page for lsof at: &lt;A href="http://people.freebsd.org/~abe/" target="_blank"&gt;http://people.freebsd.org/~abe/&lt;/A&gt;</description>
      <pubDate>Tue, 17 May 2005 10:35:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545664#M839384</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-17T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545665#M839385</link>
      <description>And this points to the problem I was alluding to earlier --- you should not be using /tmp for user processes (even cron jobs). The current convention (now well over a decade old) is to use /var/tmp for these temporary files. You should change your scripts/programs to reflect this and see that TMPDIR is not set to /tmp.</description>
      <pubDate>Tue, 17 May 2005 10:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545665#M839385</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-17T10:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: bdf /tmp shows 100% full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545666#M839386</link>
      <description>You need a utlity called lsof.&lt;BR /&gt;then lsof|grep /tmp will show who and what is using /tmp</description>
      <pubDate>Tue, 17 May 2005 10:55:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-tmp-shows-100-full/m-p/3545666#M839386</guid>
      <dc:creator>Sorrel G. Jakins</dc:creator>
      <dc:date>2005-05-17T10:55:50Z</dc:date>
    </item>
  </channel>
</rss>

