What seems to be more interesting than that they do get a new PID (which is to be expected with mod_cgid) is that they're still running after several seconds (observe the STIME column) — presuming the output you've shown is of a single ps call, of course.  In case environment.pl is just printing out the environment, this shouldn't take several seconds... so I would try to find out why that is...

BTW, even on HP-UX, you can get a nice tree-like display of processes with ps (similarly to what option -f does on Linux). This is often helpful to easily see which processes forked which...  For this, you'd need to enable XPG4 mode, which you do via the env variable UNIX95. This makes option -H available, so you can then write, for example

$ UNIX95=1 ps -efH

(not sure if you're aware of it, so I thought it might be worth mentioning...)


In reply to Re^5: Apache / 30,000 Perl script serving limit by almut
in thread Apache / 30,000 Perl script serving limit by QcMonk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.