<?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 problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660621#M48313</link>
    <description>Here are my ulimit settings&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         unlimited&lt;BR /&gt;stack(kbytes)        81612&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 512&lt;BR /&gt;&lt;BR /&gt;and ps output attached</description>
    <pubDate>Thu, 07 Feb 2002 14:39:13 GMT</pubDate>
    <dc:creator>Marcin Kurc</dc:creator>
    <dc:date>2002-02-07T14:39:13Z</dc:date>
    <item>
      <title>fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660605#M48297</link>
      <description>Hi,&lt;BR /&gt;I'm running software which produces scratch files. Every time the file size reaches 32768 k I'm getting the following error:&lt;BR /&gt;***  Operating System Function -&lt;BR /&gt;***  fork() failed : Not enough space (errno=12)&lt;BR /&gt;&lt;BR /&gt;Could anybody tell me what kernel parameter is responsible for this behavior?&lt;BR /&gt;thank you</description>
      <pubDate>Thu, 07 Feb 2002 12:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660605#M48297</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T12:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660606#M48298</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think that is nproc, if you have glance you can view it. If not there are a evaluation copy in the applications CD.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Thu, 07 Feb 2002 12:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660606#M48298</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-02-07T12:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660607#M48299</link>
      <description>&lt;BR /&gt;maxdsiz&lt;BR /&gt;&lt;BR /&gt;Post what you have from kmtune&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 07 Feb 2002 12:54:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660607#M48299</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-07T12:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660608#M48300</link>
      <description>here is my kmtune output attached</description>
      <pubDate>Thu, 07 Feb 2002 13:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660608#M48300</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660609#M48301</link>
      <description>Hi Marcin:&lt;BR /&gt;&lt;BR /&gt;It is very likely that you have insufficient swap space.  Have a look via:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 07 Feb 2002 13:07:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660609#M48301</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-02-07T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660610#M48302</link>
      <description>Given the following from 'man fork'...&lt;BR /&gt;&lt;BR /&gt;[ENOMEM]       There is insufficient swap space and/or physical memory available in which to create the new process.&lt;BR /&gt;&lt;BR /&gt;(ENOMEM is error 12).&lt;BR /&gt;&lt;BR /&gt;I'm not convinced that a kernel parameter is responsible. Is the application issuing lots of forks?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 13:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660610#M48302</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-02-07T13:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660611#M48303</link>
      <description>Thanks everybody,&lt;BR /&gt;Jamses, there seems to be enough swap space.&lt;BR /&gt;Yes, the application uses a lot of forks. Also the application does not use all the memory. I thought that it might have somthing to do with the kernel limits because of the specific size of the scratch file while it crashes.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 13:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660611#M48303</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T13:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660612#M48304</link>
      <description>Your parms list is interesting..&lt;BR /&gt;Jim mentions looking at swap..I'd add look at how your parms are handling swap.&lt;BR /&gt;You have bufpages set to the calc of nbuf*2...nbuf is set to default of 0 (I would have set bufpages to 0 as well, so these could work dynamically to control buffer).&lt;BR /&gt;You have swapmem turned off=0 (I would have turned it on, since I like the system to control memory dynamically).&lt;BR /&gt;&lt;BR /&gt;What I'm saying is looking at your parms....it says your trying to set up to control that buffer stuff(now Jim &amp;amp; Clay can do that - I'm not that good...so I let the system handle as much of this as I can set up..)&lt;BR /&gt;&lt;BR /&gt;So what I'm saying is - look at how much swap you have set up...and set up your parms to allow for more dynamic control of cache...&lt;BR /&gt;I only looked at this point of view-there were some other things in your parms that caught my eye...but not knowing your system or apps, I felt best to leave those alone.&lt;BR /&gt;&lt;BR /&gt;I haven't finished my coffee-so hope this made some sense.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rit</description>
      <pubDate>Thu, 07 Feb 2002 13:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660612#M48304</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-02-07T13:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660613#M48305</link>
      <description>Thanks Rita, I'll try it.&lt;BR /&gt;This box is optimized for CAD/CAM.&lt;BR /&gt;Everything makes sense, except bufpages  if nbuf=0 and bufpages=NBUF*2 then bufpages=0&lt;BR /&gt;I had 3 coffees this morning :)&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 13:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660613#M48305</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660614#M48306</link>
      <description>Hi Marcin:&lt;BR /&gt;&lt;BR /&gt;Please post the output of 'swapinfo -tam'.  As Rita noted, you have pseudoswap disabled.  This means that you *must* have an equal amount of swap as you do physical memory in order to start a process.  This could be very limiting for you!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 07 Feb 2002 13:29:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660614#M48306</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-02-07T13:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660615#M48307</link>
      <description>Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        1024      61     963    6%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -     380    -380&lt;BR /&gt;total      1024     441     583   43%       -       0    -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this box has 1024 megs RAM and it's using around 500 on average.</description>
      <pubDate>Thu, 07 Feb 2002 13:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660615#M48307</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660616#M48308</link>
      <description>Hi (again) Marcin:&lt;BR /&gt;&lt;BR /&gt;If nbuf=0 and bufpages=0 then you have enabled the dynamic buffer cache, and hence dbc_max_pct and dbc_min_pct operate.  Your values for those are quite convervative.  The buffer cache speeds file I/O by leaving file's buffer's in memory.  I don't think this is a problem here.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 07 Feb 2002 13:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660616#M48308</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-02-07T13:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660617#M48309</link>
      <description>James, &lt;BR /&gt;dbc_max_pct and dbc_min_pct values were suggested by tech support (app developers) it didn't do much good anyways.</description>
      <pubDate>Thu, 07 Feb 2002 13:38:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660617#M48309</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T13:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660618#M48310</link>
      <description>Marcin,&lt;BR /&gt;&lt;BR /&gt;First tip...listen but not necessarily comply with a vendor's stmt on what your parms should be.&lt;BR /&gt;&lt;BR /&gt;You need to watch and determine how the system should be tuned....&lt;BR /&gt;&lt;BR /&gt;I agree w/Jim those dbc_max% and dbc_min% are really pinching the penny...&lt;BR /&gt;&lt;BR /&gt;Just a thought...coffee in hand..&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 14:05:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660618#M48310</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-02-07T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660619#M48311</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   Perhaps this is too obvious but have you checked your ulimit values?&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 14:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660619#M48311</guid>
      <dc:creator>oiram</dc:creator>
      <dc:date>2002-02-07T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660620#M48312</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I've had quite a bit of experience with CAD/CAM/Analysis packages and many of them do funny/stupid things with the .profile (or more often .cshrc). After looking at this, I'm beginning to suspect that we are overlooking the obvious - Soft limits. I would do a ulimit -a. Also, just so we know for sure, a few ps's to display memory usage would be good along with some swapinfo -a output.&lt;BR /&gt;&lt;BR /&gt;Use this Bill H. variant of ps to determine memory usage:&lt;BR /&gt;UNIX95= ps -e -o vsz,ruser,pid,args &lt;BR /&gt;&lt;BR /&gt;If you will post that stuff, I think that this can be nailed down. Of course, Glance would be much better but ...&lt;BR /&gt;&lt;BR /&gt;Good hunting, Clay&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 14:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660620#M48312</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-02-07T14:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660621#M48313</link>
      <description>Here are my ulimit settings&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         unlimited&lt;BR /&gt;stack(kbytes)        81612&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4194303&lt;BR /&gt;nofiles(descriptors) 512&lt;BR /&gt;&lt;BR /&gt;and ps output attached</description>
      <pubDate>Thu, 07 Feb 2002 14:39:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660621#M48313</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T14:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660622#M48314</link>
      <description>HI:&lt;BR /&gt;&lt;BR /&gt;You have a 725MB process running on a 1000MB box. When that forks, you are dogmeat. Your average memory usage of around 50% matters not, it's the peaks that are killing you. You are one of those rare modern cases that need 2-3x swapspace and/or a lot more memory. If you don't have any raw lvol space left, you might add filesystem swap at low priority but you really need more memory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 14:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660622#M48314</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-02-07T14:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660623#M48315</link>
      <description>Thanks Clay,&lt;BR /&gt;I'll try to add more swap, if that doesn't work then I'll have to steel some memory from those surfing the internet.</description>
      <pubDate>Thu, 07 Feb 2002 15:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660623#M48315</guid>
      <dc:creator>Marcin Kurc</dc:creator>
      <dc:date>2002-02-07T15:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: fork problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660624#M48316</link>
      <description>Hi Marcin:&lt;BR /&gt;&lt;BR /&gt;Since adding additional swapspace (given that you have adequate 'maxswapchunks' based on you 'kmtune' output) doesn't require a reboot, you could do that.&lt;BR /&gt;&lt;BR /&gt;In addition, I think I'd schedule a kernel regeneration and enable pseudoswap (swapmem_on=1).  As I alluded in an earlier post, this will allow more processes to start since process space isn't reserved for three fourths of physical memory when psuedoswap is enabled.&lt;BR /&gt;&lt;BR /&gt;The small overhead associated with pseudoswap is probably less important to you than anything else.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 07 Feb 2002 15:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fork-problems/m-p/2660624#M48316</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-02-07T15:11:12Z</dc:date>
    </item>
  </channel>
</rss>

