<?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: File System in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126680#M540583</link>
    <description>Have you checked your log files: &lt;BR /&gt;/var/log and /var/adm/syslog ?&lt;BR /&gt;&lt;BR /&gt;Is /var/adm/wtmp getting to big ?</description>
    <pubDate>Wed, 09 Jan 2008 16:11:27 GMT</pubDate>
    <dc:creator>MikeL_4</dc:creator>
    <dc:date>2008-01-09T16:11:27Z</dc:date>
    <item>
      <title>File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126679#M540582</link>
      <description>My /var FS gets filled by almost 96% everday.&lt;BR /&gt;How can i reduce this, except increasing the FS...??</description>
      <pubDate>Wed, 09 Jan 2008 16:01:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126679#M540582</guid>
      <dc:creator>Amitav</dc:creator>
      <dc:date>2008-01-09T16:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126680#M540583</link>
      <description>Have you checked your log files: &lt;BR /&gt;/var/log and /var/adm/syslog ?&lt;BR /&gt;&lt;BR /&gt;Is /var/adm/wtmp getting to big ?</description>
      <pubDate>Wed, 09 Jan 2008 16:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126680#M540583</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2008-01-09T16:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126681#M540584</link>
      <description>Hi Amitav:&lt;BR /&gt;&lt;BR /&gt;Begin by finding out what process or processes is responsible.  What files in what subdirectories do you find?&lt;BR /&gt;&lt;BR /&gt;You can look for the largest directories with:&lt;BR /&gt;&lt;BR /&gt;# du -k /var|sort -knr1,1|more&lt;BR /&gt;&lt;BR /&gt;Look for recent files (those created in the last 24-hours) with:&lt;BR /&gt;&lt;BR /&gt;# find /var -xdev -type f -mtime 0 -exec ls -l {} \;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 09 Jan 2008 16:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126681#M540584</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-09T16:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126682#M540585</link>
      <description>yes as mentioned ...&lt;BR /&gt;&lt;BR /&gt;check the size of wtmp and sulog ...&lt;BR /&gt;&lt;BR /&gt;if the wtmp file is growing quickly then identify what is login into your system and also investigate a rapid growing sulog file.&lt;BR /&gt;&lt;BR /&gt;run &lt;BR /&gt;&lt;BR /&gt;find /var -xdev |xargs ls -ld |sort -rnk5 &lt;BR /&gt;&lt;BR /&gt;to find the largest file to the smallest on the filesystem.&lt;BR /&gt;&lt;BR /&gt;investigate what procs are writing to the fs by running:&lt;BR /&gt;&lt;BR /&gt;ps -p "$(fuser -c /var  2&amp;gt;/dev/null)"&lt;BR /&gt;&lt;BR /&gt;let us know what the top offending files are ...</description>
      <pubDate>Wed, 09 Jan 2008 16:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126682#M540585</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2008-01-09T16:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126683#M540586</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;In my system I have a Filesystem for /var/adm/crash. You can remove files of /var/tmp and empty logfiles of /var/opt/&lt;APPLICATION&gt;/....&lt;BR /&gt;&lt;BR /&gt;check size of /var/adm/syslog/mail.log,syslog.log, OLDsyslog and /var/adm/btmp,wtmp nettl00.log&lt;BR /&gt;&lt;BR /&gt;i hope help you with tis&lt;/APPLICATION&gt;</description>
      <pubDate>Thu, 10 Jan 2008 16:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126683#M540586</guid>
      <dc:creator>Roberto Arias</dc:creator>
      <dc:date>2008-01-10T16:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126684#M540587</link>
      <description>PID TTY       TIME COMMAND&lt;BR /&gt;   873 ?         3:17 sshd&lt;BR /&gt;   688 ?         0:00 ptydaemon&lt;BR /&gt;   702 ?         0:00 hotplugd&lt;BR /&gt;   725 ?         0:00 ntl_reader&lt;BR /&gt;   726 ?         9:12 netfmt&lt;BR /&gt;  1194 ?        39:50 snmpdm&lt;BR /&gt;  1268 ?        43:49 cimserver&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;These are the processes which are being at present...</description>
      <pubDate>Sun, 13 Jan 2008 01:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126684#M540587</guid>
      <dc:creator>Amitav</dc:creator>
      <dc:date>2008-01-13T01:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126685#M540588</link>
      <description>PID TTY       TIME COMMAND&lt;BR /&gt;   873 ?         3:17 sshd&lt;BR /&gt;   688 ?         0:00 ptydaemon&lt;BR /&gt;   702 ?         0:00 hotplugd&lt;BR /&gt;   725 ?         0:00 ntl_reader&lt;BR /&gt;   726 ?         9:12 netfmt&lt;BR /&gt;  1194 ?        39:50 snmpdm&lt;BR /&gt;  1268 ?        43:49 cimserver&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;These are the processes which are being written by FS at present...</description>
      <pubDate>Sun, 13 Jan 2008 01:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126685#M540588</guid>
      <dc:creator>Amitav</dc:creator>
      <dc:date>2008-01-13T01:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126686#M540589</link>
      <description>Please run the following command to find out the big files,&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;pwd&lt;BR /&gt;find . -type f -xdev -size +10000000c -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;If it shows lots of file then increase on Zero in the command syntax.&lt;BR /&gt;&lt;BR /&gt;once you locate those files which are big .. you may decide to nullify them or move them based on the file types.&lt;BR /&gt;&lt;BR /&gt;If they are log files then they can be nullyfied, and if there is a crashdump under /var/adm/crash then take a tape backup of the same and remove it from the server.&lt;BR /&gt;&lt;BR /&gt;If doubts then post the largest files present in the /var.&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Jan 2008 02:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126686#M540589</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2008-01-13T02:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126687#M540590</link>
      <description>The list of processes is rather useless. What you need to determine are the files that are growing rapidly in size. Are ary of the log files growing rapidly? If so, tail the file and see if an error or information message is being constantly repeated. That will lead you to the problem.&lt;BR /&gt;&lt;BR /&gt;Another common problem is simply bad code. It is very common (and normal) to use /var/tmp for temporary files. You may have a situation in which processes are dying and not cleaning up their files. Using kill -9 will have the same effect because a SIGKILL cannot be ignored and no cleanup is done.</description>
      <pubDate>Sun, 13 Jan 2008 02:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126687#M540590</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2008-01-13T02:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126688#M540591</link>
      <description>Hi Stephenson,&lt;BR /&gt;&lt;BR /&gt;The cron log is growing, and as suggested by u, i viewed the file, but no error was found...</description>
      <pubDate>Sun, 13 Jan 2008 02:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126688#M540591</guid>
      <dc:creator>Amitav</dc:creator>
      <dc:date>2008-01-13T02:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126689#M540592</link>
      <description>Ok. Does the growth of the cron log alone explain why the file system is filling up so fast? It is normal for the cron log (as well as many others) to grow but cron jobs are spawned at most once per minute so even if you had 40 jobs spawned every minute (an extreme case) the cron log growth should not be all that rapid.&lt;BR /&gt;&lt;BR /&gt;What you are seeing may also be normal but you do not have automated processes in place to trim logs. &lt;BR /&gt;&lt;BR /&gt;For the moment, I would look for other rapidly growing files.</description>
      <pubDate>Sun, 13 Jan 2008 03:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126689#M540592</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2008-01-13T03:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126690#M540593</link>
      <description>I doubt that ther are any automated process to trim the log....the other files which are growing are wtpm &amp;amp; btmp...</description>
      <pubDate>Sun, 13 Jan 2008 03:48:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126690#M540593</guid>
      <dc:creator>Amitav</dc:creator>
      <dc:date>2008-01-13T03:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126691#M540594</link>
      <description>Ok, now we are getting somewhere. wtmp and btmp indicate new connection attempts and if btmp is growing that means that you are receiving failed (bad passwords) connection attempts. You have a remote host (or several of them) that are trying to connect to your box. One way to help track that down is to enable inetd logging (note that the log will grow very rapidly) but that log will contain the IP addresses of the remote hosts that are trying to connect.</description>
      <pubDate>Sun, 13 Jan 2008 03:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126691#M540594</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2008-01-13T03:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: File System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126692#M540595</link>
      <description>By the way, it is very good practice to divide /var into multiple filesystems such as /var/mail, /var/tmp, /var/spool, /var/adm/sw so that the /var filesystem itself never fills up. For example, filling up /var/spool/lp will stop printjobs but will not bring the entire system down as it would if /var/spool/lp were simply part of the /var filesystem.</description>
      <pubDate>Sun, 13 Jan 2008 16:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system/m-p/4126692#M540595</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2008-01-13T16:30:45Z</dc:date>
    </item>
  </channel>
</rss>

