<?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: Difference between du and bdf - bad process eats disk space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044127#M433504</link>
    <description>Adding to that, the command "lsof +aL1 /var" (without the quotes) should display these 'unlinked open files', if I remember correctly.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
    <pubDate>Thu, 03 May 2007 05:15:47 GMT</pubDate>
    <dc:creator>Wouter Jagers</dc:creator>
    <dc:date>2007-05-03T05:15:47Z</dc:date>
    <item>
      <title>Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044124#M433501</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;bdf shows 9GB is used out of 10GB on /var&lt;BR /&gt;but du -sk /var shows 4GB is used.&lt;BR /&gt;&lt;BR /&gt;How can I find the bad process and the way it is eating the disk space in general?&lt;BR /&gt;&lt;BR /&gt;(I've found that it should be bad process because&lt;BR /&gt;when I shut down oracle processes the space was released. Filesystem /var is used&lt;BR /&gt;only for log of oracle processes (no datafiles and no database logs))&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Karel</description>
      <pubDate>Thu, 03 May 2007 04:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044124#M433501</guid>
      <dc:creator>Karel Charousek</dc:creator>
      <dc:date>2007-05-03T04:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044125#M433502</link>
      <description>I've seen this happen before when people (re)moved oracle logfiles while the database is running.&lt;BR /&gt;&lt;BR /&gt;When a file is removed while a process still has it open, the space used by the file will not be released until the process releases it. That's why restarting the database usually helps.&lt;BR /&gt;&lt;BR /&gt;In short: removing files while they are held by processes is tricky ;-)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Thu, 03 May 2007 04:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044125#M433502</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-05-03T04:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044126#M433503</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use lsof to identify the processes which have open files on a particular filesystem. I normally use "lsof +d &lt;FILESYSTEM&gt;" command then look at the SIZE/OFF column for large files. You can get lsof from &lt;A href="http://www.mirrors.wiretapped.net/security/host-security/lsof/binaries/hpux/" target="_blank"&gt;http://www.mirrors.wiretapped.net/security/host-security/lsof/binaries/hpux/&lt;/A&gt;&lt;/FILESYSTEM&gt;</description>
      <pubDate>Thu, 03 May 2007 05:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044126#M433503</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2007-05-03T05:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044127#M433504</link>
      <description>Adding to that, the command "lsof +aL1 /var" (without the quotes) should display these 'unlinked open files', if I remember correctly.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Thu, 03 May 2007 05:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044127#M433504</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-05-03T05:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044128#M433505</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the thing with removing open files is known to me and I didn't remember that I done something similar.&lt;BR /&gt;&lt;BR /&gt;I've snapped the output of lsof.&lt;BR /&gt;Unfortunately I didn't snapped ps -ef.&lt;BR /&gt;There is following suspected line ...&lt;BR /&gt;oracle    29364 oracle   11u   REG             64,0x8  6397549837    113293 /var (/dev/vg00/lvol8)&lt;BR /&gt;Column SIZE shows 6.3GB&lt;BR /&gt;Does that mean that there was unnamed unlinked file of size 6.3GB?&lt;BR /&gt;&lt;BR /&gt;I've looked at the man page of lsof..&lt;BR /&gt;lsof +aL1 /var ... it is the right command&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Karel</description>
      <pubDate>Thu, 03 May 2007 05:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044128#M433505</guid>
      <dc:creator>Karel Charousek</dc:creator>
      <dc:date>2007-05-03T05:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044129#M433506</link>
      <description>This is from the FAQ of lsof and applies to HP-UX:&lt;BR /&gt;&lt;BR /&gt;" Since the size of the kernel name cache is limited and the&lt;BR /&gt; cache is in constant flux, it does not always contain the&lt;BR /&gt; names of all components in an open file's path; sometimes&lt;BR /&gt; it contains none of them.&lt;BR /&gt;&lt;BR /&gt; Lsof reports the file system directory name and whatever&lt;BR /&gt; components of the file's path it finds in the cache, starting&lt;BR /&gt; with the last component and working backwards through the&lt;BR /&gt; directories that contain it.  If lsof finds no path&lt;BR /&gt; components, lsof reports the file system device name instead."&lt;BR /&gt;&lt;BR /&gt;( section 3.1 from &lt;A href="http://www.reznor.com/tools/lsof/FAQ" target="_blank"&gt;http://www.reznor.com/tools/lsof/FAQ&lt;/A&gt; )&lt;BR /&gt;&lt;BR /&gt;..I guess that's why you're just getting the device name :-/&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Thu, 03 May 2007 07:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044129#M433506</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-05-03T07:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044130#M433507</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Now I've possibility to find unlinked files on a filesystem with lsof +aL1 and to identify the process.&lt;BR /&gt;&lt;BR /&gt;Thank you for all answers.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Karel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 May 2007 07:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044130#M433507</guid>
      <dc:creator>Karel Charousek</dc:creator>
      <dc:date>2007-05-03T07:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044131#M433508</link>
      <description>.</description>
      <pubDate>Thu, 03 May 2007 07:24:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044131#M433508</guid>
      <dc:creator>Karel Charousek</dc:creator>
      <dc:date>2007-05-03T07:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between du and bdf - bad process eats disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044132#M433509</link>
      <description>No problem :-)&lt;BR /&gt;&lt;BR /&gt;Thanks for also checking out &lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward points to useful answers.&lt;BR /&gt;&lt;BR /&gt;Welcome to the forums !&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Wout</description>
      <pubDate>Thu, 03 May 2007 07:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-du-and-bdf-bad-process-eats-disk-space/m-p/5044132#M433509</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2007-05-03T07:48:19Z</dc:date>
    </item>
  </channel>
</rss>

