<?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: Disk space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046343#M812773</link>
    <description>(apologies if this appears twice)&lt;BR /&gt;&lt;BR /&gt;Simon,&lt;BR /&gt;&lt;BR /&gt;I notice from your profile that you are new here as of today. Welcome to the Forums!  When you have a moment, take some time to read this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Particularly the link in the first post. This was put together by Patrick Wallek with input from various participants here. It is the closest thing we have to a FAQ, and will help you get acclimated to this venu.&lt;BR /&gt;&lt;BR /&gt;If you are a stats freak (like so many of us!), you'll want to take a look here too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x783f7017b67df54c8f8e1f6692485a84,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x783f7017b67df54c8f8e1f6692485a84,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Merijn complies and posts these every Wednesday.&lt;BR /&gt;&lt;BR /&gt;I hope you find this helpful, and that you enjoy your participate here!&lt;BR /&gt;&lt;BR /&gt;mark</description>
    <pubDate>Mon, 11 Aug 2003 18:38:24 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2003-08-11T18:38:24Z</dc:date>
    <item>
      <title>Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046333#M812763</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Silly question, I've had this before but for the life of me I can't remember what the problem is. I have my /var filesystem full. I delete some large files but bdf still shows 100% although du shows 87%. What is it that is still holding on to the space?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Simon.</description>
      <pubDate>Mon, 11 Aug 2003 13:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046333#M812763</guid>
      <dc:creator>Simon Abbott_1</dc:creator>
      <dc:date>2003-08-11T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046334#M812764</link>
      <description>The space doesn't really go away if the file is still held open by someone.  It might be you.  cd / and then check again.  I think that "lsof" will tell you who has the file open.  Standard HP-UX won't tell you.</description>
      <pubDate>Mon, 11 Aug 2003 13:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046334#M812764</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-08-11T13:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046335#M812765</link>
      <description>The programs that are running and using those log files are probably still holding the space as temporary files now that the permanent ones are gone.&lt;BR /&gt;&lt;BR /&gt;Stoping and restarting the appropriated programs would probably clean it up .&lt;BR /&gt;&lt;BR /&gt;So if (for instance) you trimmed the syslogd files and that was where the problem was, you'd do:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/syslogd stop&lt;BR /&gt;&lt;BR /&gt;wait about 10 seconds then do:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/syslogd start&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2003 13:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046335#M812765</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-08-11T13:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046336#M812766</link>
      <description>I've noticed the same thing. du shows deleted space immediatly, while bdf can take a few minutes. Is bdf an average over time?</description>
      <pubDate>Mon, 11 Aug 2003 13:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046336#M812766</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-08-11T13:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046337#M812767</link>
      <description>Hi Simon,&lt;BR /&gt;&lt;BR /&gt;There are some processes keeping /var occupied, best thing is to reboot your server.&lt;BR /&gt;&lt;BR /&gt;You can try using lsof if you can find the process wich keeps /var full, but there are a lot of processes using /var.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Mon, 11 Aug 2003 13:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046337#M812767</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-08-11T13:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046338#M812768</link>
      <description>In addition to the log files, another culprit is /var/tmp.  If you remove files in this directory, even ones dated prior to the current day, you run the risk of taking out a file that a proces has open.  It's always best to run lsof or fuser on files in /var/tmp/ before removing them.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 11 Aug 2003 13:56:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046338#M812768</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-08-11T13:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046339#M812769</link>
      <description>bdf will show the filesystem is full even though you just deleted a bunch of files, because there are open process on those files.&lt;BR /&gt;du will show the space as clear. &lt;BR /&gt;&lt;BR /&gt;To identify the processes using:&lt;BR /&gt;# fuser -cu /var &lt;BR /&gt;&lt;BR /&gt;To kill all open processes on /var:&lt;BR /&gt;# fuser -cuk /var &lt;BR /&gt;&lt;BR /&gt;To check the result now:&lt;BR /&gt;# bdf &lt;BR /&gt;# du -ks /var&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2003 13:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046339#M812769</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-08-11T13:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046340#M812770</link>
      <description>To understand this you reaaly have to look at how the underlying system call unlink() works. This is what is actually invoked via the rm command. Unlink() removes the directory entry and reduces the link count by one. Because the directory entry has been removed, new processes cannot open the file but any processes that currently have the file open are free to use the file. Only when the last process closes the file, is the space occupied by the file released.&lt;BR /&gt;&lt;BR /&gt;Man 2 unlink for details.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2003 14:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046340#M812770</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-08-11T14:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046341#M812771</link>
      <description>The issue is some old process are still holding the space. This will be released when that process it terminated or stopped. If you want to manually release the space, use fuser or lsof commands to find which process is holding the space and kill it in order.&lt;BR /&gt;&lt;BR /&gt;# man fuser&lt;BR /&gt;# man lsof</description>
      <pubDate>Mon, 11 Aug 2003 14:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046341#M812771</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-08-11T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046342#M812772</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Cheers for the replies, it all makes sense, especially the details of unlink(). A reboot sorted the problem but fuser rings a bell about how we solved the problem before so we should be OK for the future (unless of course I forget again!).&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Simon.</description>
      <pubDate>Mon, 11 Aug 2003 17:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046342#M812772</guid>
      <dc:creator>Simon Abbott_1</dc:creator>
      <dc:date>2003-08-11T17:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disk space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046343#M812773</link>
      <description>(apologies if this appears twice)&lt;BR /&gt;&lt;BR /&gt;Simon,&lt;BR /&gt;&lt;BR /&gt;I notice from your profile that you are new here as of today. Welcome to the Forums!  When you have a moment, take some time to read this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Particularly the link in the first post. This was put together by Patrick Wallek with input from various participants here. It is the closest thing we have to a FAQ, and will help you get acclimated to this venu.&lt;BR /&gt;&lt;BR /&gt;If you are a stats freak (like so many of us!), you'll want to take a look here too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x783f7017b67df54c8f8e1f6692485a84,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x783f7017b67df54c8f8e1f6692485a84,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Merijn complies and posts these every Wednesday.&lt;BR /&gt;&lt;BR /&gt;I hope you find this helpful, and that you enjoy your participate here!&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Mon, 11 Aug 2003 18:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-space/m-p/3046343#M812773</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-08-11T18:38:24Z</dc:date>
    </item>
  </channel>
</rss>

