<?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 Linux Filesystem Space Utilization Won't Drop in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729593#M59429</link>
    <description>1. The problem&lt;BR /&gt;The space utilization for /appl/xxx on xmen.hello.com spikes to over 90% almost every weekend (no special processes are running at this period). Also there are similiar instances of the same application running on the same server and other servers with no issues.&lt;BR /&gt;On the application level, we have already housekept everything there is to housekeep; there is nothing else to housekeep. We even tried to stop and start our processes.&lt;BR /&gt;&lt;BR /&gt;You can see; there is nothing there that will cause the space utilzation to go up to 90%; We would like to check if there is anything locking the filesystem.&lt;BR /&gt;&lt;BR /&gt;user@xmen:/appl/xxx &amp;gt;df -h .                     &lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on    &lt;BR /&gt;/dev/vx/dskxxxx/xxx                             &lt;BR /&gt;                       20G   14G  6.2G  69% /appl/xxx   &lt;BR /&gt;&lt;BR /&gt;Filesystem            Inodes   IUsed   IFree IUse% Mounted on  &lt;BR /&gt;/dev/vx/dskxxxx/xxx                             &lt;BR /&gt;                     1758860   97508 1661352    6% /appl/xxx&lt;BR /&gt;&lt;BR /&gt;user@xmen:/appl/xxx &amp;gt;du -sk .                    &lt;BR /&gt;46867   .                           &lt;BR /&gt;&lt;BR /&gt;user@xmen:/appl/xxx &amp;gt;du -ax | sort -rn | more               &lt;BR /&gt;24451   .                                                            &lt;BR /&gt;8378    ./xmen_bin                                                    &lt;BR /&gt;8087    ./xmen_stats                                                  &lt;BR /&gt;7124    ./xmen_logs                                                   &lt;BR /&gt;7016    ./xmen_stats/stats1210                                         &lt;BR /&gt;6273    ./xmen_logs/id1210                                          &lt;BR /&gt;683     ./xmen_bin/hcs                                                &lt;BR /&gt;636     ./xmen_bin/ks                                                 &lt;BR /&gt;473     ./xmen_bin/kc2                                                &lt;BR /&gt;455     ./xmen_bin/ku                                                 &lt;BR /&gt;440     ./xmen_db                                                     &lt;BR /&gt;427     ./xmen_logs/id1209.gz                                       &lt;BR /&gt;414     ./xmen_logs/id1208.gz                                       &lt;BR /&gt;388     ./xmen_bin/loc                                                &lt;BR /&gt;374     ./xmen_stats/stats1208.gz                                      &lt;BR /&gt;364     ./xmen_stats/stats1207.gz                                      &lt;BR /&gt;341     ./xmen_db/xmenrte.db                                           &lt;BR /&gt;332     ./xmen_stats/stat1209.gz                                      &lt;BR /&gt;328     ./xmen_bin/tcpr                                               &lt;BR /&gt;319     ./xmen_bin/kips    &lt;BR /&gt;&lt;BR /&gt;FS was unmounted and then mounted again. Space utilization immediately dropped to 1% from 90%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After processes have been stopped; Did a “lsof +D /appl/xxx” as root; no processes. (Did it as both root and user id)&lt;BR /&gt;&lt;BR /&gt;Did a “lsof  +aL1 /appl/xxx” nothing is locking this FS. (Did it as both root and user id)&lt;BR /&gt;&lt;BR /&gt;uname -a                                          &lt;BR /&gt;Linux xmen 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 &lt;BR /&gt;x86_64 GNU/Linux                                                                &lt;BR /&gt;&lt;BR /&gt;more /etc/redhat-release                          &lt;BR /&gt;Red Hat Enterprise Linux Server release 5.4 (Tikanga)                           &lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.,                      &lt;BR /&gt;</description>
    <pubDate>Wed, 22 Dec 2010 09:24:11 GMT</pubDate>
    <dc:creator>g28days</dc:creator>
    <dc:date>2010-12-22T09:24:11Z</dc:date>
    <item>
      <title>Linux Filesystem Space Utilization Won't Drop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729593#M59429</link>
      <description>1. The problem&lt;BR /&gt;The space utilization for /appl/xxx on xmen.hello.com spikes to over 90% almost every weekend (no special processes are running at this period). Also there are similiar instances of the same application running on the same server and other servers with no issues.&lt;BR /&gt;On the application level, we have already housekept everything there is to housekeep; there is nothing else to housekeep. We even tried to stop and start our processes.&lt;BR /&gt;&lt;BR /&gt;You can see; there is nothing there that will cause the space utilzation to go up to 90%; We would like to check if there is anything locking the filesystem.&lt;BR /&gt;&lt;BR /&gt;user@xmen:/appl/xxx &amp;gt;df -h .                     &lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on    &lt;BR /&gt;/dev/vx/dskxxxx/xxx                             &lt;BR /&gt;                       20G   14G  6.2G  69% /appl/xxx   &lt;BR /&gt;&lt;BR /&gt;Filesystem            Inodes   IUsed   IFree IUse% Mounted on  &lt;BR /&gt;/dev/vx/dskxxxx/xxx                             &lt;BR /&gt;                     1758860   97508 1661352    6% /appl/xxx&lt;BR /&gt;&lt;BR /&gt;user@xmen:/appl/xxx &amp;gt;du -sk .                    &lt;BR /&gt;46867   .                           &lt;BR /&gt;&lt;BR /&gt;user@xmen:/appl/xxx &amp;gt;du -ax | sort -rn | more               &lt;BR /&gt;24451   .                                                            &lt;BR /&gt;8378    ./xmen_bin                                                    &lt;BR /&gt;8087    ./xmen_stats                                                  &lt;BR /&gt;7124    ./xmen_logs                                                   &lt;BR /&gt;7016    ./xmen_stats/stats1210                                         &lt;BR /&gt;6273    ./xmen_logs/id1210                                          &lt;BR /&gt;683     ./xmen_bin/hcs                                                &lt;BR /&gt;636     ./xmen_bin/ks                                                 &lt;BR /&gt;473     ./xmen_bin/kc2                                                &lt;BR /&gt;455     ./xmen_bin/ku                                                 &lt;BR /&gt;440     ./xmen_db                                                     &lt;BR /&gt;427     ./xmen_logs/id1209.gz                                       &lt;BR /&gt;414     ./xmen_logs/id1208.gz                                       &lt;BR /&gt;388     ./xmen_bin/loc                                                &lt;BR /&gt;374     ./xmen_stats/stats1208.gz                                      &lt;BR /&gt;364     ./xmen_stats/stats1207.gz                                      &lt;BR /&gt;341     ./xmen_db/xmenrte.db                                           &lt;BR /&gt;332     ./xmen_stats/stat1209.gz                                      &lt;BR /&gt;328     ./xmen_bin/tcpr                                               &lt;BR /&gt;319     ./xmen_bin/kips    &lt;BR /&gt;&lt;BR /&gt;FS was unmounted and then mounted again. Space utilization immediately dropped to 1% from 90%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After processes have been stopped; Did a “lsof +D /appl/xxx” as root; no processes. (Did it as both root and user id)&lt;BR /&gt;&lt;BR /&gt;Did a “lsof  +aL1 /appl/xxx” nothing is locking this FS. (Did it as both root and user id)&lt;BR /&gt;&lt;BR /&gt;uname -a                                          &lt;BR /&gt;Linux xmen 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 &lt;BR /&gt;x86_64 GNU/Linux                                                                &lt;BR /&gt;&lt;BR /&gt;more /etc/redhat-release                          &lt;BR /&gt;Red Hat Enterprise Linux Server release 5.4 (Tikanga)                           &lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards.,                      &lt;BR /&gt;</description>
      <pubDate>Wed, 22 Dec 2010 09:24:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729593#M59429</guid>
      <dc:creator>g28days</dc:creator>
      <dc:date>2010-12-22T09:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Filesystem Space Utilization Won't Drop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729594#M59430</link>
      <description>When the problem occurs run:&lt;BR /&gt;&lt;BR /&gt;lsof | grep deleted&lt;BR /&gt;&lt;BR /&gt;Neither of the lsof commands you ran will list deleted files that are being held open for some reason.</description>
      <pubDate>Thu, 23 Dec 2010 16:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729594#M59430</guid>
      <dc:creator>Jeff Hodge</dc:creator>
      <dc:date>2010-12-23T16:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Filesystem Space Utilization Won't Drop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729595#M59431</link>
      <description>Hmm.. a VxVM based RHEL system.. nice.&lt;BR /&gt;&lt;BR /&gt;Well, a 20GB filesystem can easily fill up in a blink of an eye. What you can do is perhaps do a "du -ax" on that FS say every 5 minutes and for sure you'll catch the culprit growing file. Once id'd, yo can employ fuser on said file to get the PID/name of the process.&lt;BR /&gt;&lt;BR /&gt;My bet would be any one of your log or stats subdir is filling up with an overly verbose process being the culprit. You may want to employ intelligent log watchers and rotaters -- noting that these ASCII / text log files compress up to 97%..&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2010 16:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729595#M59431</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-12-27T16:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Filesystem Space Utilization Won't Drop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729596#M59432</link>
      <description>Hi Jeff,&lt;BR /&gt;Thanks for your reply. I got a list of deleted processes; upon entering that command; and managed to kill it. But the space still stays the same.&lt;BR /&gt;&lt;BR /&gt;Hi Alzhy,&lt;BR /&gt;Thanks for your reply. I will try your suggestion. The thing is we simiiar processes with similiar diskspace on other servers as well on this server; but the utilization never goes pass 2%. The application/process which runs will not accumulate that much space at all.&lt;BR /&gt;&lt;BR /&gt;Thank you again.</description>
      <pubDate>Tue, 28 Dec 2010 11:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729596#M59432</guid>
      <dc:creator>g28days</dc:creator>
      <dc:date>2010-12-28T11:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Filesystem Space Utilization Won't Drop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729597#M59433</link>
      <description>Between Alzhy's suggestion and the lsof commands you should be able to find what is taking up all the space.  The lsof command should show you the size of the file that is open regardless of whether or not it is deleted.  Check that size prior to killing the process to see if it matches up with the space that you expect to reclaim.&lt;BR /&gt;&lt;BR /&gt;You can see which column will represent the size by doing a quick "lsof | head".&lt;BR /&gt;&lt;BR /&gt;I agree with Alzhy.  The most likely suspect in this type of situation is a logrotate.  Depending on the log rotate config, a log file can be completely copied prior to being compressed.  You might check the configurations of you log rotate scripts (/etc/logrotate.d) and the time frames during which they will run (/etc/cron*).&lt;BR /&gt;&lt;BR /&gt;Another less fruitful approach but "good-to-know" would be a search for "D" state processes during the issue.  Those are normally a result of storage locations that become unavailable and whose state is referred to as "uninterruptible sleep".  &lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Tue, 28 Dec 2010 14:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729597#M59433</guid>
      <dc:creator>Jeff Hodge</dc:creator>
      <dc:date>2010-12-28T14:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Filesystem Space Utilization Won't Drop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729598#M59434</link>
      <description>Hi g28days,&lt;BR /&gt;&lt;BR /&gt;Linux might show the size incorrectly if the file is sparse with lot of zero's. You can do a hexdump of the file see its contents. As far as i know there is nothing you can do to fix it in a straight forward way :( &lt;BR /&gt;&lt;BR /&gt;Truly Evil &lt;BR /&gt;Lucifer Megacruel</description>
      <pubDate>Wed, 05 Jan 2011 10:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-filesystem-space-utilization-won-t-drop/m-p/4729598#M59434</guid>
      <dc:creator>Lucifer Megacruel</dc:creator>
      <dc:date>2011-01-05T10:23:47Z</dc:date>
    </item>
  </channel>
</rss>

