<?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: 100% CPU and 100% /home in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482741#M213607</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Put disk quota on for the user's /home directory. &lt;BR /&gt;It saves it from running full by one user's activities.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bob</description>
    <pubDate>Thu, 10 Feb 2005 04:04:43 GMT</pubDate>
    <dc:creator>B. Hulst</dc:creator>
    <dc:date>2005-02-10T04:04:43Z</dc:date>
    <item>
      <title>100% CPU and 100% /home</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482738#M213604</link>
      <description>Hi,&lt;BR /&gt;I am running HP-UX 11.11 on a biprocessor machine.&lt;BR /&gt;From time to time, a process takes 100% on one CPU and the bdf command displays a full /home partition but the du -s * does not display any large file on that partition. &lt;BR /&gt;When I kill this process the /home partition and IDLE CPU parameter return to a normal state (34% on a 15Gb /home partition and CPU IDLE parameter ~99%)&lt;BR /&gt;I don't understand why this user process seems to fill /home.&lt;BR /&gt;Any help will be appreciated&lt;BR /&gt;Regards,&lt;BR /&gt;Olivier&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2005 02:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482738#M213604</guid>
      <dc:creator>zenari</dc:creator>
      <dc:date>2005-02-10T02:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: 100% CPU and 100% /home</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482739#M213605</link>
      <description>Knock out the user :)&lt;BR /&gt;Else what is the application used ?&lt;BR /&gt;A simple Oracle Sql program can do that.&lt;BR /&gt;&lt;BR /&gt;B.R.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2005 03:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482739#M213605</guid>
      <dc:creator>Dieu de Belle Fontaine</dc:creator>
      <dc:date>2005-02-10T03:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: 100% CPU and 100% /home</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482740#M213606</link>
      <description>Hi,&lt;BR /&gt;when the program is running use glance to monitor the process. Whilst a process is holding a file the du command may not be able to read its size, so you would not spot it.&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 10 Feb 2005 03:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482740#M213606</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-02-10T03:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: 100% CPU and 100% /home</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482741#M213607</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Put disk quota on for the user's /home directory. &lt;BR /&gt;It saves it from running full by one user's activities.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bob</description>
      <pubDate>Thu, 10 Feb 2005 04:04:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482741#M213607</guid>
      <dc:creator>B. Hulst</dc:creator>
      <dc:date>2005-02-10T04:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: 100% CPU and 100% /home</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482742#M213608</link>
      <description>Based on your symptoms, it would seem that the user's (bad) process has created a temporary but hidden file in /home. It's easy to understand why the user process fills /home...it was programmed that way. When the process is terminated, the file is removed. Using hidden filenames is a VERY bad Unix hack on any server. This technique is often found on single user workstations because their code only affects themselves and no one else. &lt;BR /&gt; &lt;BR /&gt;Turn on quotas for /home, or even simpler: Create a small lvol (a few hundred megs) and move the user's /home/user_name directory to this lvol. Then use the empty /home/user_name directory as a mountpoint for the lvol. The user will still see the same /home but it will be on a separate lvol and when it fills up, the user has to deal with it.&lt;BR /&gt; &lt;BR /&gt;Disk space and CPU cycles are a shared resource on a server and a user that consumes massive amounts of resources must be eremoved from the server and placed on a test box. You might also set ulimit -t 20 just for this user (POSIX shell or recently patched ksh). This will terminate the user process when 20 seconds of CPU time has been consumed. However, causal testing shows that this setting does not seem to work.</description>
      <pubDate>Thu, 10 Feb 2005 07:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482742#M213608</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-02-10T07:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: 100% CPU and 100% /home</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482743#M213609</link>
      <description>Hi,&lt;BR /&gt;the way to see what files are open for a process and where they are is: Use lsof&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.74/" target="_blank"&gt;http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.74/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is a very useful utility, so well worth the download !&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 10 Feb 2005 08:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/100-cpu-and-100-home/m-p/3482743#M213609</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-02-10T08:20:22Z</dc:date>
    </item>
  </channel>
</rss>

