<?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: Fork function failed. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875297#M99485</link>
    <description>Also, just fyi...nfile = 2232</description>
    <pubDate>Mon, 06 Jan 2003 18:05:43 GMT</pubDate>
    <dc:creator>Kirk Solano</dc:creator>
    <dc:date>2003-01-06T18:05:43Z</dc:date>
    <item>
      <title>Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875287#M99475</link>
      <description>My hp ux machine 11 os gives me this message every now and then - often enough that it needs to be dealt with.  Its occurrence is during a Monday (after the weekend or after a long vacation).   &lt;BR /&gt;"The fork function failed.  Too many processes already exist."&lt;BR /&gt;&lt;BR /&gt;I've called HP support and they've asked me to change a few configurable kernel parameters.  As of now, nproc is 1024; maxuser = 124; and maxuprc = 200.  This was changed a week ago.  But today, I had the same problem again.  When this happens, my only choice is to do a transfer of control to reboot everything, once that's done everything seems to be fine.  Any input will be appreciated.  Thanks.  &lt;BR /&gt;Kirk &lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jan 2003 16:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875287#M99475</guid>
      <dc:creator>Kirk Solano</dc:creator>
      <dc:date>2003-01-06T16:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875288#M99476</link>
      <description>Have you tried increasing nprocs in the kernel??</description>
      <pubDate>Mon, 06 Jan 2003 16:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875288#M99476</guid>
      <dc:creator>Ken Hubnik_2</dc:creator>
      <dc:date>2003-01-06T16:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875289#M99477</link>
      <description>Yes, the value was doubled from last time.</description>
      <pubDate>Mon, 06 Jan 2003 16:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875289#M99477</guid>
      <dc:creator>Kirk Solano</dc:creator>
      <dc:date>2003-01-06T16:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875290#M99478</link>
      <description>May need to also bump up your nfile parameter. If you have glance you should be able to look at these usages.</description>
      <pubDate>Mon, 06 Jan 2003 16:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875290#M99478</guid>
      <dc:creator>Ken Hubnik_2</dc:creator>
      <dc:date>2003-01-06T16:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875291#M99479</link>
      <description>If you look at the values in sar -v 1 10, you should see something similar to&lt;BR /&gt;&lt;BR /&gt;16:57:54 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov&lt;BR /&gt;16:57:55   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:57:56   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:57:57   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:57:58   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:57:59   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:58:00   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:58:01   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:58:02   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:58:03   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;16:58:04   N/A   N/A 556/1024  0  2800/2800  0  1532/5110  0&lt;BR /&gt;&lt;BR /&gt;The proc-sz column shows the system-wide number of processes that are running.  Is this close to your limit of 1024? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jan 2003 17:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875291#M99479</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2003-01-06T17:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875292#M99480</link>
      <description>This is what mine looks like.  &lt;BR /&gt;&lt;BR /&gt;12:08:50 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov &lt;BR /&gt;12:08:51   N/A   N/A 143/1064  0  1356/1356  0  424/2328  0&lt;BR /&gt;12:08:52   N/A   N/A 143/1064  0  1356/1356  0  424/2328  0&lt;BR /&gt;12:08:53   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0&lt;BR /&gt;12:08:54   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0&lt;BR /&gt;12:08:55   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0&lt;BR /&gt;12:08:56   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0&lt;BR /&gt;12:08:57   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0&lt;BR /&gt;12:08:58   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0&lt;BR /&gt;12:08:59   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0&lt;BR /&gt;12:09:00   N/A   N/A 143/1064  0  1354/1356  0  424/2328  0</description>
      <pubDate>Mon, 06 Jan 2003 17:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875292#M99480</guid>
      <dc:creator>Kirk Solano</dc:creator>
      <dc:date>2003-01-06T17:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875293#M99481</link>
      <description>Kirk,&lt;BR /&gt;&lt;BR /&gt;The important part to remember from your output is whether it is from a time when the system was producing the errors or at a time when the system was less busy.  Based on your error, I'd say that nproc needs to be increased yet.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 06 Jan 2003 17:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875293#M99481</guid>
      <dc:creator>erics_1</dc:creator>
      <dc:date>2003-01-06T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875294#M99482</link>
      <description>Kirk, also take a peek at the maxuprc kernel parm - max processes per user.  I believe the default is 50.  Also, you will probably get many more responses if you assign points more often to those that respond to your questions.</description>
      <pubDate>Mon, 06 Jan 2003 17:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875294#M99482</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2003-01-06T17:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875295#M99483</link>
      <description>Are you saying to decrease my maxuprc from 200 to 50?  Also, just want to let you know that there are no processes that run during the weekend, and nobody usually works during those days.</description>
      <pubDate>Mon, 06 Jan 2003 17:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875295#M99483</guid>
      <dc:creator>Kirk Solano</dc:creator>
      <dc:date>2003-01-06T17:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875296#M99484</link>
      <description>Kirk, NO - sorry, I did not notice that you already stated that maxuprc=200.</description>
      <pubDate>Mon, 06 Jan 2003 17:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875296#M99484</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2003-01-06T17:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875297#M99485</link>
      <description>Also, just fyi...nfile = 2232</description>
      <pubDate>Mon, 06 Jan 2003 18:05:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875297#M99485</guid>
      <dc:creator>Kirk Solano</dc:creator>
      <dc:date>2003-01-06T18:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875298#M99486</link>
      <description>Give this a try when the error message is occurring on the problem system:&lt;BR /&gt;&lt;BR /&gt;1. Start glance&lt;BR /&gt;2. Look at the System Tables Report (shortcut to this is the "t" key)&lt;BR /&gt;&lt;BR /&gt;Are any of these paramters at 80% utilization or higher? If so, you should consider making a backup of your current kernel and increasing the affected values by at least 10 or 20% and rebooting.&lt;BR /&gt;&lt;BR /&gt;After the reboot, repeat the steps above to see what the utilization levels are. Continue to monitor them, especially during peak processing hours when the errors have been happening. &lt;BR /&gt;&lt;BR /&gt;Hope this helps!</description>
      <pubDate>Mon, 06 Jan 2003 19:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875298#M99486</guid>
      <dc:creator>Brian Watkins</dc:creator>
      <dc:date>2003-01-06T19:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875299#M99487</link>
      <description>Mmm...I'm not familiar with glance, but do I start it by typing "glance" at the command line.  If that's the way, then I don't have it.  Anyway, I would like to increase my nproc.  What is the maximum nproc that I can use?  I don't want to go over it and cause my system to crash.  Thanks again.</description>
      <pubDate>Mon, 06 Jan 2003 20:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875299#M99487</guid>
      <dc:creator>Kirk Solano</dc:creator>
      <dc:date>2003-01-06T20:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875300#M99488</link>
      <description>Kirk, Also watch for zombie processes. run "ps -ef" and look for any processes that have "&lt;DEFUNCT&gt;" under the "COMMAND" column.  Sometimes a program starts cranking out these defunct processes until the UNIX process table fills up.  If you see a lot of these defunct processes, say in the hundreds, then look for their parent process in the "ps -ef" output.  Kill the parent and the defunc processes go away, free-ing up the slots in the process table.  The process table size is defined by nproc.  If you see this behavior, that parent program has a bug in it that needs to be addressed.&lt;/DEFUNCT&gt;</description>
      <pubDate>Mon, 06 Jan 2003 21:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875300#M99488</guid>
      <dc:creator>Byron Myers</dc:creator>
      <dc:date>2003-01-06T21:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875301#M99489</link>
      <description>I do seem to have alot of those defunc proces...more than 100.  What command do I use to kill them?  Also, does rebooting the system clear up the process table?  Because I rebooted it this morning and the output I'm looking has this defunc processes.  Does this mean I have a bug somewhere?</description>
      <pubDate>Mon, 06 Jan 2003 21:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875301#M99489</guid>
      <dc:creator>Kirk Solano</dc:creator>
      <dc:date>2003-01-06T21:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875302#M99490</link>
      <description>*Where* (i.e. on your terminal? in a file?) do you get that message ("The fork function failed. Too many processes already exist." and from which command(s)?&lt;BR /&gt;&lt;BR /&gt;If you get it on your terminal, then also look in your /var/adm/syslog/syslog.log file for a similar/related message of the *same time*.&lt;BR /&gt;&lt;BR /&gt;If syslog.log says "... proc: table is full", then the cause is a too low nproc. It is says something else (please post message) then the cause is probably a too low maxuprc.</description>
      <pubDate>Tue, 07 Jan 2003 12:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875302#M99490</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-01-07T12:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875303#M99491</link>
      <description>Seems your problem is the defunct proceses. You get a "zombi" when a parent process don't "wait" for it's child. Usually a resoule of bad programming. The defunct process is nothing more than a  entry in the process list. But it will hold that entry and as you have experienced it will run full. The only way to clear it is to reboot.&lt;BR /&gt;Finding the program that leavs the zombies will be hard "detective" work. Maybe doing some 'ps -ef' and sending to a file will help you backtrack the PID and PPID when you find the zombies.&lt;BR /&gt;Good luck and do assign points.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tron</description>
      <pubDate>Tue, 07 Jan 2003 13:19:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875303#M99491</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2003-01-07T13:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fork function failed.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875304#M99492</link>
      <description>First Review your kernel parameters as suggested above.&lt;BR /&gt;&lt;BR /&gt;Then try to identify what causes the "fork bomb".  It could be a script that restarts itself, a bad loop or even a typo.&lt;BR /&gt;&lt;BR /&gt;We experienced this a little while ago:  one of our developpers cd'd to a directory containing copybooks and typed "&lt;COPYBOOKNAME&gt;" instead of "cat &lt;COPYBOOKNAME&gt;".  &lt;BR /&gt;Unfortunately, all the files in the directory contained many asterisks (comments) and had execute permissions.  So the shell expanded the first "*" into execute "all files in this directory" and so on.&lt;BR /&gt;&lt;BR /&gt;We removed execute permissions on the files in text directories and haven't had the problem since.&lt;BR /&gt;&lt;BR /&gt;Hope this helped in your diagnostic efforts.&lt;/COPYBOOKNAME&gt;&lt;/COPYBOOKNAME&gt;</description>
      <pubDate>Tue, 07 Jan 2003 14:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-function-failed/m-p/2875304#M99492</guid>
      <dc:creator>Raynald Boucher</dc:creator>
      <dc:date>2003-01-07T14:27:43Z</dc:date>
    </item>
  </channel>
</rss>

