<?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: Simple question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922302#M817477</link>
    <description>The 3 filesystems you mentioned (/ /var /tmp) are CRITICAL filesystems and cannot be allowed to fill up. As Clay mentioned, indirectly shared memory cannot be allocated (primarily a limitation of old 32bit applications) if programs are not stopped correctly (kill -9 is definitely the WRONG way to terminate any process).&lt;BR /&gt;&lt;BR /&gt;The / directory should never grow in size. It is a static directory and contains /dev and /etc. /dev may increase by a few bytes as device files are add, while /etc might increase when config files are added and/or edited. The 3 primary sysadmin errors causing / to fill up are:&lt;BR /&gt;&lt;BR /&gt;1. root 'droppings' because root' HOME directory defaults to /, a very bad choice. root's HOME should be moved to /home/root and the passwd file updated accordingly. This prevents mistakes from taking out the entire opsystem (reboot).&lt;BR /&gt;&lt;BR /&gt;2. Applications install in non-standard directories (ie, the app is stored in /app_name or similar) and this is very bad. Move (or remove &amp;amp; reinstall) apps in /opt where they belong.&lt;BR /&gt;&lt;BR /&gt;3. A misspelled devicefile used for a backup automatically becomes an ordinary file as in:&lt;BR /&gt;&lt;BR /&gt;tar cvf /dev/rmt/om /opt&lt;BR /&gt;&lt;BR /&gt;where om should have been 0m (zero versus the letter o). There must be no ordinary files in the /dev directory (hint find /dev -type f)&lt;BR /&gt;&lt;BR /&gt;All Unix systems require active management of /tmp and /var as poor user habits and/or applications will easily fill up these filesystems with junk. And /var also has numerous log files that only grow loarger--these must be trimmed on a regular basis. Your system will continue to be very unstable unless disk space is monitored on a regular basis (hint: cron jobs).</description>
    <pubDate>Fri, 07 Mar 2003 19:15:49 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-03-07T19:15:49Z</dc:date>
    <item>
      <title>Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922292#M817467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have N4000 box with hpux 11.0.  This box, runs a several applications and frequently I??ve a file system full ( application and operation system ). The question is ???this frequently file system full on the files system of operation system could cause any problem on my system ????&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Romildo&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 17:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922292#M817467</guid>
      <dc:creator>Romildo</dc:creator>
      <dc:date>2003-03-07T17:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922293#M817468</link>
      <description>I guess the right answer to this is "It depends".  It depends which file system it is.. what use it has on your system? adn things of that nature.  But yes it could.. as much as maybe not..</description>
      <pubDate>Fri, 07 Mar 2003 17:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922293#M817468</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-03-07T17:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922294#M817469</link>
      <description>If I understood your question correctly, then Yes, if the OS *important* file systems such as root (/), /stand, /tmp, /var, /opt, /home etc are full, then you will have problems.&lt;BR /&gt;&lt;BR /&gt;If your data file systems are full, that may affect your user operations. The best option would be to monitor the FS sizes everyday.</description>
      <pubDate>Fri, 07 Mar 2003 17:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922294#M817469</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-03-07T17:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922295#M817470</link>
      <description>Romildo,&lt;BR /&gt;&lt;BR /&gt;The FS's that are filling up - are they filling with log files, data files, or both?  if your FS is filling with data, could you consider moving the data to it's own FS or extending the one you have?  If log files are filling the FS, you might consider creating a FS dedicated to log files.  (Call it /var/opt/logs or whatever.)  Then point as many applications as possible to log into that FS.  If the FS fills, at worst you don't get the logging you want.  If you can't get the application to log in a different place, you may be able to link the file to /var/opt/logs and force the app to log in the other FS.&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Fri, 07 Mar 2003 17:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922295#M817470</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2003-03-07T17:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922296#M817471</link>
      <description>Simple answer:  yes.  You've got a potential problem.  You need to address this either by enlarging the file system in question, modifying the application to stop it from filling the file system, or routine maintenance of the file system.&lt;BR /&gt;&lt;BR /&gt;If you could expand on this, we could offer more precise assistance.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 07 Mar 2003 17:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922296#M817471</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-07T17:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922297#M817472</link>
      <description>At the very least, applications are crashing. Filesystems filling up are problems that should not be ignored. Often the fix is to educate the users. You need to consider what happens when a non-critical application fills a filesystem that is also needed by a critical application. If this is the /var filesystem then yes, filling it can clobber the system. You should consider creating separate mountpoints for /var/tmp, var/spool, and maybe /var/opt.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 17:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922297#M817472</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-03-07T17:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922298#M817473</link>
      <description>If /usr fills up, no big deal, it is supposed to contain static executables.&lt;BR /&gt;&lt;BR /&gt;If /var hits 100% your system will halt. This is where your system writes logs and it simply can't run if its full.&lt;BR /&gt;&lt;BR /&gt;If / "root" fills up, your system may stop accepting logins.  The /etc/group or /etc/passwd file may get clobbered.&lt;BR /&gt;&lt;BR /&gt;Application filesystems may be a problem too.&lt;BR /&gt;&lt;BR /&gt;Lets say you have oracle or some other database writing archive logs(database transaction logs) to an application filesystem. Filesystem fills up.  Oracle crashes, no more databse up.  That would be a problem if that database powers a 24/7 customer service site or something.&lt;BR /&gt;&lt;BR /&gt;Space management is a big issue.  As sysadmin you need to stay on top of it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 07 Mar 2003 17:33:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922298#M817473</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-03-07T17:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922299#M817474</link>
      <description>Hi,&lt;BR /&gt; To clariffy the question. The box runs three instances of sybase dataserver using raw devices. Runs batches programs (C) too, that uses flat file on file system of application only. After four months active and various file system full on /, /var and /tmp, the databases servers has problems with shared memory and solution was a system reboot.&lt;BR /&gt; The system operation file system was quite dimensioned, but s.. happens.&lt;BR /&gt; I oppen hp call and the aswer is that no relation on ???file system full??? ( of operation system??s ) and ???shared memory problems???. Is it true ?&lt;BR /&gt;&lt;BR /&gt;Thanks all,&lt;BR /&gt;Romildo &lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 18:37:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922299#M817474</guid>
      <dc:creator>Romildo</dc:creator>
      <dc:date>2003-03-07T18:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922300#M817475</link>
      <description>Depending upon your application there could very well be a relationship between filesystem full and shared memory. IF you have an application that hangs because of lack of filespace or dies without detaching its shared memeory OR (and thius is most likely) you have killed processes with kill -9 then shared memory will not be detached/removed. This is not an OS problem but rather an administrative problem. You need to monitor the disk usage and take pre-emptive step to avoid the problem.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 18:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922300#M817475</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-03-07T18:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922301#M817476</link>
      <description>Unless you need to keep these application files around for four months, I would suggest a periodic cleansing with the find commmand:&lt;BR /&gt;&lt;BR /&gt;find /name_of_file_system -type f -mtime +30 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;This would search your filesystem for files not touched in 30 days and remove them.  If you put this in a cron job that runs every night, or even once a week, you'll have less trouble with things filling up.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 07 Mar 2003 19:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922301#M817476</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-07T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922302#M817477</link>
      <description>The 3 filesystems you mentioned (/ /var /tmp) are CRITICAL filesystems and cannot be allowed to fill up. As Clay mentioned, indirectly shared memory cannot be allocated (primarily a limitation of old 32bit applications) if programs are not stopped correctly (kill -9 is definitely the WRONG way to terminate any process).&lt;BR /&gt;&lt;BR /&gt;The / directory should never grow in size. It is a static directory and contains /dev and /etc. /dev may increase by a few bytes as device files are add, while /etc might increase when config files are added and/or edited. The 3 primary sysadmin errors causing / to fill up are:&lt;BR /&gt;&lt;BR /&gt;1. root 'droppings' because root' HOME directory defaults to /, a very bad choice. root's HOME should be moved to /home/root and the passwd file updated accordingly. This prevents mistakes from taking out the entire opsystem (reboot).&lt;BR /&gt;&lt;BR /&gt;2. Applications install in non-standard directories (ie, the app is stored in /app_name or similar) and this is very bad. Move (or remove &amp;amp; reinstall) apps in /opt where they belong.&lt;BR /&gt;&lt;BR /&gt;3. A misspelled devicefile used for a backup automatically becomes an ordinary file as in:&lt;BR /&gt;&lt;BR /&gt;tar cvf /dev/rmt/om /opt&lt;BR /&gt;&lt;BR /&gt;where om should have been 0m (zero versus the letter o). There must be no ordinary files in the /dev directory (hint find /dev -type f)&lt;BR /&gt;&lt;BR /&gt;All Unix systems require active management of /tmp and /var as poor user habits and/or applications will easily fill up these filesystems with junk. And /var also has numerous log files that only grow loarger--these must be trimmed on a regular basis. Your system will continue to be very unstable unless disk space is monitored on a regular basis (hint: cron jobs).</description>
      <pubDate>Fri, 07 Mar 2003 19:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922302#M817477</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-03-07T19:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Simple question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922303#M817478</link>
      <description>Hi,&lt;BR /&gt;Thank Bill and Clay, you are right, the sybase process was unstable and the DBA adm kill then with ???kill -9???, before clean shared memory with ???ipcrm??? and try to start instances, but it didn??t go on. Then the reboot on the server was need.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Romildo &lt;BR /&gt;</description>
      <pubDate>Fri, 07 Mar 2003 20:03:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-question/m-p/2922303#M817478</guid>
      <dc:creator>Romildo</dc:creator>
      <dc:date>2003-03-07T20:03:42Z</dc:date>
    </item>
  </channel>
</rss>

