<?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: unable to determine tmp filesystem usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498282#M216099</link>
    <description>Alex,&lt;BR /&gt;&lt;BR /&gt;Good method to clear the /tmp filesystem.&lt;BR /&gt;I have a 2 questions for you.If your logic that inodes are existing which are occupying space whereas files are deleted - &lt;BR /&gt;1) Deleting a file means freeing the inode - otherwise the filesystem superblock will be in invalid state if we say that file is deleted but space is not freed.&lt;BR /&gt;2) If your logic is correct then the output of find /tmp | wc -l should vary a lot from the output of bdf -i /tmp which shows the number of inodes.&lt;BR /&gt;find /tmp | wc -l  gives 6636&lt;BR /&gt;and bdf -i gives 6646 inodes used &lt;BR /&gt;which are almost same.&lt;BR /&gt;&lt;BR /&gt;Please can you explain this&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Nad</description>
    <pubDate>Sat, 05 Mar 2005 08:03:38 GMT</pubDate>
    <dc:creator>Ninad_1</dc:creator>
    <dc:date>2005-03-05T08:03:38Z</dc:date>
    <item>
      <title>unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498273#M216090</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;I have a HP 11i server on which the /tmp filesystem is 2.3 GB. I am unable to determine the usage of the /tmp filesystem . The output of df -k /tmp and du -sk /tmp show a large difference.Following are the output of df and du of /tmp &lt;BR /&gt;df -k /tmp&lt;BR /&gt;/tmp   2451328 total allocated Kb&lt;BR /&gt;        825656 free allocated Kb&lt;BR /&gt;       1625672 used allocated Kb&lt;BR /&gt;          66 % allocation used&lt;BR /&gt;du -sk /tmp&lt;BR /&gt;55152 /tmp&lt;BR /&gt;&lt;BR /&gt;I am unable to understand why df shows 1.6 GB used in /tmp  but  du  shows only 55 MB.&lt;BR /&gt;&lt;BR /&gt;Please guide me in sorting this out.&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Nad&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Mar 2005 04:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498273#M216090</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-03-05T04:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498274#M216091</link>
      <description>The following commands show the same usage:&lt;BR /&gt;#df -k /tmp&lt;BR /&gt;                                            #bdf /tmp                                   Refer to attached!&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;df list by block so I think 1.6GB/2=55MB&lt;BR /&gt;&lt;BR /&gt;Can anyone correct me if I'm mistaken&lt;BR /&gt;&lt;BR /&gt;                                &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Mar 2005 04:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498274#M216091</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2005-03-05T04:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498275#M216092</link>
      <description>df indeed lists by blocks, but in this case "-k" option tells df to print the output in KB.&lt;BR /&gt;&lt;BR /&gt;I think you get different values, because inode of some temporary file was removed. so du when it counts the sizze of files does not count it, but df does.&lt;BR /&gt;&lt;BR /&gt;It happens when you remove some files when some program still uses it, so the pointer to the file still exists and the space is not deallocated, but the inode removed and you can't see the file with ls, du etc.&lt;BR /&gt;&lt;BR /&gt;Did you remove some files from /tmp whithout checking is they are still in use by some program?</description>
      <pubDate>Sat, 05 Mar 2005 05:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498275#M216092</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-05T05:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498276#M216093</link>
      <description>Forgot something...&lt;BR /&gt;To check what programs use /tmp do: lsof /tmp&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Mar 2005 05:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498276#M216093</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-05T05:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498277#M216094</link>
      <description>There seems to be no lsof in my system. Yes I had removed some files but at that time the df -k output showed about 30% used and now it is showing 66% used that means df shows around 800 MB increased whereas du shows only 55 MB.&lt;BR /&gt;So I havent deleted any files later on so &lt;BR /&gt;1) what could be the cause ? &lt;BR /&gt;&lt;BR /&gt;As suggested may be files were used by some process when they were deleted - in such a case wont the &lt;BR /&gt;2) process give any error ?&lt;BR /&gt;3) how to determine how the files are getting deleted if any ?&lt;BR /&gt;4) What is the solution to this problem ?&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Nad</description>
      <pubDate>Sat, 05 Mar 2005 06:41:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498277#M216094</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-03-05T06:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498278#M216095</link>
      <description>Sorry I miscalculated?&lt;BR /&gt;&lt;BR /&gt;First, I'll list the files by size in /tmp to find out what files are growing:&lt;BR /&gt;&lt;BR /&gt;du -k /tmp|sort -nbr|pg&lt;BR /&gt;&lt;BR /&gt;The solution, I'll remove /tmp FS and recreate it again?&lt;BR /&gt;&lt;BR /&gt;Backup whatever you need from /tmp and create an Ignite recovery tape before doing anything.&lt;BR /&gt;&lt;BR /&gt;Maybe someone else has a better idea.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 05 Mar 2005 07:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498278#M216095</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2005-03-05T07:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498279#M216096</link>
      <description>Just to support Alex suggestion, find lsof for free:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/cgi-bin/search" target="_blank"&gt;http://hpux.connect.org.uk/hppd/cgi-bin/search&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It'll help in the long run&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Mar 2005 07:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498279#M216096</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2005-03-05T07:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498280#M216097</link>
      <description>Well, I still stick with my idea that you have some temporary file that inode was deleted and space is still allocated.&lt;BR /&gt;&lt;BR /&gt;No, process won't give error message. Well, it depends on how the program was written, but it's not mandatory that an error will be raised, it's not windows after all.&lt;BR /&gt;&lt;BR /&gt;To recreate /tmp? I don't think it's very wise, because it will require boot and as long as you don't have a problem with /tmp, and you don't, because there are still free space, I wouldn't do it.&lt;BR /&gt;&lt;BR /&gt;By the rule, I always delete file in temporary filesystems like /tmp and /var/tmp, in two steps:&lt;BR /&gt;&lt;BR /&gt;1. cat /dev/null &amp;gt; &lt;SOME file=""&gt;&lt;BR /&gt;2. rm &lt;SOME file=""&gt;&lt;BR /&gt;&lt;BR /&gt;In first step I make sure that the space is deallocated, because I still have the inode and in the second step I remove the inode.&lt;BR /&gt;&lt;BR /&gt;From my point of view, there are 2 solutions:&lt;BR /&gt;&lt;BR /&gt;1. Get lsof and analuze the programs that uses /tmp. Can be difficult and time consuming.&lt;BR /&gt;2. Reboot. This way you can be sure that the program that uses /tmp is killed and the space will be free.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SOME&gt;&lt;/SOME&gt;</description>
      <pubDate>Sat, 05 Mar 2005 07:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498280#M216097</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-05T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498281#M216098</link>
      <description>One last note:&lt;BR /&gt;2.3GB for a root file system /tmp is too high.&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Mar 2005 07:22:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498281#M216098</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2005-03-05T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498282#M216099</link>
      <description>Alex,&lt;BR /&gt;&lt;BR /&gt;Good method to clear the /tmp filesystem.&lt;BR /&gt;I have a 2 questions for you.If your logic that inodes are existing which are occupying space whereas files are deleted - &lt;BR /&gt;1) Deleting a file means freeing the inode - otherwise the filesystem superblock will be in invalid state if we say that file is deleted but space is not freed.&lt;BR /&gt;2) If your logic is correct then the output of find /tmp | wc -l should vary a lot from the output of bdf -i /tmp which shows the number of inodes.&lt;BR /&gt;find /tmp | wc -l  gives 6636&lt;BR /&gt;and bdf -i gives 6646 inodes used &lt;BR /&gt;which are almost same.&lt;BR /&gt;&lt;BR /&gt;Please can you explain this&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Nad</description>
      <pubDate>Sat, 05 Mar 2005 08:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498282#M216099</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-03-05T08:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498283#M216100</link>
      <description>1. When you use rm on the file, it removes the inode, updates the FS structure and marks the space that was allocated by the file as free. BUT ... it marks the space as free, only when the space is not used by any process. You can do a little experiment. Create a file with some content and write a program that opens the file and reads it in the loop (don't vi it, because vi copies the content to a different place and appends it there). Then from another session delete this file. You'll see that the programs does not fail, file is removed but the space is not freed. When you'll kill the program, the pointer will be destroyed and the space will be marked as free. (I'm away from any HPUX system, so can't try it by myself).&lt;BR /&gt;&lt;BR /&gt;2. Why do you think it's should vary a lot? It's really depends on the system's state. Now you have a difference, which can be a very good explanation of the setuation that you have in /tmp. du output differs from df output.</description>
      <pubDate>Sat, 05 Mar 2005 08:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498283#M216100</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-05T08:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498284#M216101</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I tried from one session&lt;BR /&gt;sh 2.sh | tee test_vol/testfile&lt;BR /&gt;&lt;BR /&gt;2.sh script -&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;dmesg&lt;BR /&gt;sleep 10&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I allowed this to run for some time and then while the program was still running I removed the file , then after some time killed the process. Then found out that the space was released.Is this correct method for checking what you asked.&lt;BR /&gt;Can you tell me how I need to check&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Nad</description>
      <pubDate>Tue, 08 Mar 2005 11:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498284#M216101</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-03-08T11:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498285#M216102</link>
      <description>what you checked is correct. If a file was being used by a process and was removed, spce will not be released.&lt;BR /&gt;&lt;BR /&gt;You can check what files are being used as follows.&lt;BR /&gt;&lt;BR /&gt;fuser -cu /tmp&lt;BR /&gt;fuser -u /tmp/somefile&lt;BR /&gt;lsof +D /tmp&lt;BR /&gt;lsof -f -- /tmp&lt;BR /&gt;&lt;BR /&gt;read man pages of those commands.</description>
      <pubDate>Tue, 08 Mar 2005 11:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498285#M216102</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-08T11:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498286#M216103</link>
      <description>Thanks for the commands.&lt;BR /&gt;1) I have already tried using the fuser command - it shows which processes are using the /tmp filesystem. &lt;BR /&gt;2)I do not have the lsof command in my system.&lt;BR /&gt;3)The test I carried out released the space even though I removed the file while still the process using it was running - which is contrary to the Alexs explanation.&lt;BR /&gt;4) Finally the question still remains that why is the used space in df increasing if noone is removing any more files in /tmp&lt;BR /&gt;&lt;BR /&gt;Please if someone can help me in sorting out this problem.&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Nad</description>
      <pubDate>Tue, 08 Mar 2005 12:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498286#M216103</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-03-08T12:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498287#M216104</link>
      <description>lsof is a very useful administrator's tool. It allows you you view what process uses what port, files etc.&lt;BR /&gt;&lt;BR /&gt;I suggest that you take a look at it. It can be found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.74/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.74/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;About the test that "failed", well, I don't know exactly what you did and maybe there are situations that file is removed after all, but in the most cases the space remains.&lt;BR /&gt;&lt;BR /&gt;Regarding /tmp, I'm out of ideas right now ;)</description>
      <pubDate>Tue, 08 Mar 2005 12:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498287#M216104</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-08T12:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498288#M216105</link>
      <description>Nad, &lt;BR /&gt;&lt;BR /&gt;Once you have lsof, issue the following command:&lt;BR /&gt;&lt;BR /&gt;lsof -a +L1 /var&lt;BR /&gt;&lt;BR /&gt;This will list all processes that have open files in /var that have been unlinked.&lt;BR /&gt;&lt;BR /&gt;The output looks like this:&lt;BR /&gt;&lt;BR /&gt;COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NLINK  NODE NAME&lt;BR /&gt;syslogd        708     root  10w  VREG   64,0x9 62142886          0  16607 /var (/dev/vg00/lvol9)&lt;BR /&gt;atswasdO8 1467     cck    6w  VREG   64,0x9           181          0      617 /var (/dev/vg00/lvol9)&lt;BR /&gt;swagentd   1866     root    5u   VREG   64,0x9            41          0      145 /var (/dev/vg00/lvol9)&lt;BR /&gt;&lt;BR /&gt;In the example I give, syslogd has a large file in /var that has been unlinked.  (I did this by deleting syslog.log.)  Once I kill syslogd (or kill -HUP the process) the open file is released, the space is freed, and life goes on.&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Tue, 08 Mar 2005 13:34:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498288#M216105</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2005-03-08T13:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498289#M216106</link>
      <description>(Replace /tmp for /var.  Sorry)&lt;BR /&gt;&lt;BR /&gt;If you know the processes that have unlinked open files and fix them, my guess is that your problem will go away.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Tue, 08 Mar 2005 13:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498289#M216106</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2005-03-08T13:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498290#M216107</link>
      <description>John/Alex&lt;BR /&gt;&lt;BR /&gt;Finally I managed to get lsof onto my system - as this is production system it took time for getting it done.&lt;BR /&gt;Finally I ran lsof -a +L1 /tmp and o/p is &lt;BR /&gt;COMMAND     PID     USER   FD   TYPE DEVICE   SIZE/OFF NLINK NODE NAME&lt;BR /&gt;vxsvc      1841     root    3u  unix 64,0x5        0t0     0   32 /tmp/portal (0&lt;BR /&gt;x4b2029c0)&lt;BR /&gt;sqlplus    2864  dbaauto    0u   REG 64,0x5        310     0 1395 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;sqlplus    2909  dbaauto    0u   REG 64,0x5        309     0 1396 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;sqlplus    2926  dbaauto    0u   REG 64,0x5        313     0 1397 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;sqlplus    3002  dbaauto    0u   REG 64,0x5        312     0 1399 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;sqlplus    3015  dbaauto    0u   REG 64,0x5        308     0 1393 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;tee        7977 controlm    4u   REG 64,0x5       7065     0   74 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;tnslsnr   10998   oracle    3u   REG 64,0x5 2377686926     0  329 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;snmpdm    25922     root    2w   REG 64,0x5          0     0 3160 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;awservice 26532     root    3w   REG 64,0x5        262     0  714 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;aws_orb   26535     root    3w   REG 64,0x5        262     0  714 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;aws_sadmi 26538     root    3w   REG 64,0x5        262     0  714 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;caiLogA2  26539     root    3w   REG 64,0x5        262     0  714 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;caiUxOs   26544     root    3w   REG 64,0x5        262     0  714 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;cai_UxOs_ 26554     root    3w   REG 64,0x5        262     0  714 /tmp (/dev/vg0&lt;BR /&gt;0/lvol5)&lt;BR /&gt;&lt;BR /&gt;Also please see o/p of lsof +D /tmp - I have pasted only tnslsnr entry related o/p &lt;BR /&gt;&lt;BR /&gt;COMMAND     PID     USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME&lt;BR /&gt;tnslsnr   10998   oracle   12u  unix     64,0x5      0t0  330 /tmp/.oracle/s#109&lt;BR /&gt;98.1 (0x5bdb0b80)&lt;BR /&gt;tnslsnr   10998   oracle   13u  unix     64,0x5      0t0  331 /tmp/.oracle/sEXTP&lt;BR /&gt;ROC (0x5ec53a00) &lt;BR /&gt;&lt;BR /&gt;This indicates that almost all memory is consumed by the tnslsnr process.&lt;BR /&gt;Now I have 2 questions.&lt;BR /&gt;1) Will stopping the listener and then starting it will release the space or I need a reboot of the system ? - Since this is a production system please let me know the shortest time taking solution.&lt;BR /&gt;2) Why is tnslsnr taking so much space ? this is Oracle 9.2.0.5 version.&lt;BR /&gt;&lt;BR /&gt;Alex/John - I am giving you 9 points each Alex for providing good info on lsof and John for guiding in the use of lsof to determine the prob.&lt;BR /&gt;&lt;BR /&gt;Please answer my questions.&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Mar 2005 02:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498290#M216107</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-03-19T02:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: unable to determine tmp filesystem usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498291#M216108</link>
      <description>Well, according to the output you have not only tnslsnr that uses this directory. I suggest that you'll start taking those processes down one by one, starting with the less important. This is the only way I can see, without rebooting the system.</description>
      <pubDate>Sat, 19 Mar 2005 04:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-determine-tmp-filesystem-usage/m-p/3498291#M216108</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-19T04:55:28Z</dc:date>
    </item>
  </channel>
</rss>

